34
Towards Write-Activity-Aware Page Table Management for
Non-volatile Main Memories
TIANZHENG WANG, University of Toronto
DUO LIU, Chongqing University and Key Laboratory of Dependable Service Computing in Cyber
Physical Society (Chongqing University), Ministry of Education of P. R. China
YI WANG and ZILI SHAO, Embedded Systems and CPS Lab, The Hong Kong Polytechnic University
Non-volatile memories such as phase change memory (PCM) and memristor are being actively studied
as an alternative to DRAM-based main memory in embedded systems because of their properties, which
include low power consumption and high density. Though PCM is one of the most promising candidates with
commercial products available, its adoption has been greatly compromised by limited write endurance. As
main memory is one of the most heavily accessed components, it is critical to prolong the lifetime of PCM.
In this article, we present write-activity-aware page table management (WAPTM), a simple yet effec-
tive page table management scheme for reducing unnecessary writes, by redesigning system software and
exploiting write-activity-aware features provided by the hardware. We implemented WAPTM in Google An-
droid based on the ARM architecture and evaluated it with real Android applications. Experimental results
show that WAPTM can significantly reduce writes in page tables, proving the feasibility and potential of
prolonging the lifetime of PCM-based main memory through reducing writes at the OS level.
Categories and Subject Descriptors: D.4.2 [Operating Systems]: Storage Management—Main
memory; D.4.2 [Operating Systems]: Storage Management—Virtual memory; D.4.2 [Operating Sys-
tems]: Storage Management—Storage hierarchies; D.4.2 [Operating Systems]: Storage Management—
Allocation/deallocation strategies
General Terms: Design, Algorithms, Performance
Additional Key Words and Phrases: P hase change memory, non-volatile memory, memory management,
write activity aware, operating systems
An earlier version of this article has been published in Proceedings of the 17th ACM/IEEE Asia and South
Pacific Design Automation Conference (ASP-DAC’12).
This work is partially supported by grants from the Research Grants Council of Hong Kong (GRF
152138/14E), the Innovation and Technology Support Programme of Innovation and Technology Fund of
Hong Kong (ITS/082/10), Germany/Hong Kong Joint Research Scheme sponsored by the Research Grants
Council of Hong Kong and the Germany Academic Exchange Service of Germany (G_HK021/12), The Hong
Kong Polytechnic University (4-ZZD7, G-YK24, G-YM10, and G-YN36), National Natural Science Founda-
tion of China (61272103, 61373049, and 61309004), National 863 Program (2013AA013202), Research Fund
for the Doctoral Program of Higher Education of China (20130191120030), Chongqing (cstc2012ggC40005
and cstc2013jcyjA40025), and Fundamental Research Funds for Central Universities (CDJZR14185501).
Duo Liu is the corresponding author.
Authors’ addresses: T. Wang, Department of Computer Science, University of Toronto, 10 King’s College Road,
Rm. 3302, Toronto, Ontario, Canada M5S 3G4; email: tzwang@cs.toronto.edu; D. Liu, College of Computer
Science, Chongqing University, 174 Shazheng Street, Chongqing, China 400044; email: liuduo@cqu.edu.cn;
Y. Wang, College of Computer Science and Software Engineering, Shenzhen University, Shenzhen, China
518060; email: yiwang@szu.edu.cn; Z. Shao, Department of Computing, The Hong Kong Polytechnic Univer-
sity, Hung Hom, Ko wloon, Hong Kong; email: cszlshao@comp.polyu.edu.hk.
Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted
without fee provided that copies are not made or distributed for profit or commercial advantage and that
copies show this notice on the first page or initial screen of a display along with the full citation. Copyrights for
components of this work owned by others than ACM must be honored. Abstracting with credit is permitted.
To copy otherwise, to republish, to post on servers, to redistribute to lists, or to use any component of this
work in other works requires prior specific permission and/or a fee. Permissions may be requested from
Publications Dept., ACM, Inc., 2 Penn Plaza, Suite 701, New York, NY 10121-0701 USA, fax +1 (212)
869-0481, or permissions@acm.org.
c
2015 ACM 1539-9087/2015/02-ART34 $15.00
DOI: http://dx.doi.org.10.1145/2697394
ACM Transactions on Embedded Computing Systems, Vol. 14, No. 2, Article 34, Publication date: February 2015.
评论0
最新资源