Building NVRAM-Aware Swapping Through Code Migration in Mobile Devices
Authors:
- 8 June 2017
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Parallel and Distributed Systems
- Vol. 28 (11) , 3089-3099
Abstract
Mobile applications are becoming increasingly feature-rich and powerful, but also dependent on large main memories, which consume a large portion of system energy, especially for devices equipped with 4/6 GB DRAM. Swapping inactive DRAM pages to byte-addressable, non-volatile memory (NVRAM) is a promising solution to this problem. However, most NVRAMs have limited write endurance and the current victim pages selecting algorithm does not aware it. Therefore, to make it practical, the design of an NVRAM based swapping system must also consider endurance. In this paper, we target at prolonging the lifetime of NVRAM based swap area in mobile devices by reducing the write activities to NVRAM based swap area. Different from traditional wisdom, such as wear leveling and hot/cold data identification, we propose to build a system called nCode, which exploits the fact that code pages are easy to identify, read-only, and therefore a perfect candidate for swapping. Utilizing NVRAM's byte-addressability, we support execute-in-place (XIP) of the code pages in the swap area, without copying them back to DRAM based main memory. Experimental results based on the Google Nexus 5 smartphone show that nCode can effectively prolong the lifetime of NVRAM under various workloads.Keywords
Funding Information
- National Natural Science Foundation of China (61672116, 61601067, 61472052)
- National 863 Program (2015AA015304)
- Chongqing High-Tech Research Program (cstc2016jcyjA0332, cstc2014yykfB40007)
- Science and Technology Research Program
- Chongqing Municipal Education Commission (KJ1704085)
- ACM
- IEEE
This publication has 35 references indexed in Scilit:
- Software-managed energy-efficient hybrid DRAM/NVM main memory2015
- MARS: Mobile Application Relaunching Speed-Up through Flash-Aware Page SwappingIEEE Transactions on Computers, 2015
- nCode: Limiting Harmful Writes to Emerging Mobile NVRAM through Code Swapping2015
- Application-Specific Wear Leveling for Extending Lifetime of Phase Change Memory in Embedded SystemsIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2014
- Write activity reduction on non-volatile main memories for embedded chip multiprocessorsACM Transactions on Embedded Computing Systems, 2013
- Software Enabled Wear-Leveling for Hybrid PCM Main Memory on Embedded Systems2013
- Revisiting storage for smartphonesACM Transactions on Storage, 2012
- Age-based PCM wear leveling with nearly zero search cost2012
- Whole-system persistence2012
- The missing memristor foundNature, 2008