Abstract
Contemporary embedded systems often use NAND flash memory instead of hard disks as their swap space of virtual memory. Since the read/write characteristics of NAND flash memory are very different from those of hard disks, an efficient page replacement algorithm is needed for this environment. Our analysis shows that temporal locality is dominant in virtual memory references but that is not the case for write references, when the read and write references are monitored separately. Based on this observation, we present a new page replacement algorithm that uses different strategies for read and write operations in predicting the re-reference likelihood of pages. For read operations, only temporal locality is used; but for write operations, both write frequency and temporal locality are used. The algorithm logically partitions the memory space into read and write areas to keep track of their reference patterns precisely, and then dynamically adjusts their size based on their reference patterns and I/O costs. Without requiring any external parameter to tune, the proposed algorithm outperforms CLOCK, CAR, and CFLRU by 20%-66%. It also supports optimized implementations for virtual memory systems.
Original language | English |
---|---|
Pages (from-to) | 157-172 |
Number of pages | 16 |
Journal | Journal of Computing Science and Engineering |
Volume | 8 |
Issue number | 3 |
DOIs | |
State | Published - 2014 |
Bibliographical note
Publisher Copyright:© 2014. The Korean Institute of Information Scientists and Engineers.
Keywords
- Flash memory
- Memory
- Secondary storage
- Storage hierarchies
- Swapping
- Virtual memory