CFLRU
Seon-Yeong Park, Dawoon Jung, Jeong‐Uk Kang et al. · International Conference on Compilers, Architecture, and Synthesis for Embedded Systems (CASES) · 2006
In most operating systems which are customized for disk-based storage system, the replacement algorithm concerns only the number of memory hits. However, flash memory has different read and write cost in the aspects of time and energy so the replacement algorithm with flash memory should consider not only the hit count but also the replacement cost caused by selecting dirty victims. The replacement cost of dirty page is higher than that of clean page with regard to both access time and energy consumption. In this paper, we propose the Clean-First LRU (CFLRU) replacement algorithm that exploits the characteristics of flash memory. CFLRU splits the LRU list into the working region and the clean-first region and adopts a policy that evicts clean pages preferentially in the clean-first region until the number of page hits in the working region is preserved in a suitable level. Using the trace-driven simulation, the proposed algorithm reduces the average replacement cost by 28.4% in swap system and by 26.2% in buffer cache, compared with LRU algorithm. We also implement the CFLRU algorithm in the Linux kernel and present some optimization issues.
Cited by 385 works. doi:10.1145/1176760.1176789
Authors
References
- A study of replacement algorithms for a virtual-storage computer
- The working set model for program behavior
- Evaluation techniques for storage hierarchies
- The working set model for program behavior
- Constructing Induction Rules for Deductive Synthesis Proofs
- Understanding the Linux Kernel
- Operating system implications of solid-state mobile computers
- The LRU-K page replacement algorithm for database disk buffering
- Valgrind
- 2Q: A Low Overhead High Performance Buffer Management Replacement Algorithm