Refinery swap

Xianzhang Chen,Edwin H.-M. Sha,Weiwen Jiang,Chaoshu Yang,Ting Wu,Qingfeng Zhuge
DOI: https://doi.org/10.1016/j.future.2017.06.012
2017-01-01
Abstract:AbstractEmerging Non-Volatile Memory (NVM) technologies have shown great promise for enabling high performance swapping mechanism in embedded systems. Most of existing swap mechanisms have limited performance for lacking the knowledge of memory accesses and cause large overhead of swap operations by entirely avoiding direct writes to NVM. This paper, we find out the feature of write count disparity, i.e., most pages are rarely written and most writes are concentrated on a few pages. With the observations in mind, this paper rethinks and re-designs the swap mechanism to reduce the number of swap operations and writes to NVM in hybrid DRAMNVM systems by tolerating small writes to NVM. A new swap mechanism, Refinery Swap, is proposed with a ( 1 + ) -competitive algorithm for swap-in operations, a multilevel priority algorithm for selecting the victim pages of swap-out operations, and a swap-based wear-leveling algorithm for NVM. Extensive experiments are conducted with standard benchmarks. Compared with Dr.Swap, the state-of-the-art swap mechanism, Refinery Swap reduces more than 90% of swap operations and writes to NVM. Refiner Swap achieves encouraging improvements over existing swap mechanisms in the aspects of performance, energy consumption, and the lifetime of NVM. We analyze the traces of applications and find out the feature of write count disparity.We propose a swap mechanism to optimize swap operations for hybrid DRAMNVM systems.Experimental results show that the proposed Refinery Swap excels existing swap mechanisms.
What problem does this paper attempt to address?