Abstract
Traditional embedded systems do not use virtual memory swapping but load the entire footprint into memory as they are usually single task special-purpose machines. Recently, as mobile embedded systems support multi-tasking, the necessity of swapping is becoming increasingly important. However, current mobile systems such as smartphones do not support swapping because flash memory has weaknesses to be a swap device in such environments. More recently, phase-change memory (PCM) emerges as an alternative medium for the swap device of mobile embedded systems. In this paper, we present a new page replacement algorithm for a mobile embedded system that uses PCM as a swap device. Although PCM provides high performance and byte-accessibility, its write operation is slow and it accommodates only limited endurance cycles. To cope with this situation, our algorithm tracks the dirtiness of a page at the granularity of a sub-page and replaces the least dirty page among pages not recently used, leading to reduced write traffic to PCM. Experimental results with various mobile workloads show that the proposed algorithm reduces the amount of data written to PCM by 24% on average and up to 74% compared to the well-known CLOCK algorithm. It also extends the lifetime of PCM by 50% on average.
Original language | English |
---|---|
Title of host publication | 2016 IEEE/ACIS 17th International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing, SNPD 2016 |
Editors | Yihai Chen |
Publisher | Institute of Electrical and Electronics Engineers Inc. |
Pages | 183-188 |
Number of pages | 6 |
ISBN (Electronic) | 9781509022397 |
DOIs | |
State | Published - 18 Jul 2016 |
Event | 17th IEEE/ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing, SNPD 2016 - Shanghai, China Duration: 30 May 2016 → 1 Jun 2016 |
Publication series
Name | 2016 IEEE/ACIS 17th International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing, SNPD 2016 |
---|
Conference
Conference | 17th IEEE/ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing, SNPD 2016 |
---|---|
Country/Territory | China |
City | Shanghai |
Period | 30/05/16 → 1/06/16 |
Bibliographical note
Publisher Copyright:© 2016 IEEE.
Keywords
- CLOCK
- Phase-change memory
- replacement algorithm
- swap device
- virtual memory