NVSwap: Latency-Aware Paging using Non-Volatile Main Memory

被引:0
|
作者
Wu, Yekang [1 ]
Zhang, Xuechen [1 ]
机构
[1] Washington State Univ, Sch Engn & Comp Sci, Vancouver, WA 98685 USA
基金
美国国家科学基金会;
关键词
Paging; Virtual Memory; Storage QoS; Non-Volatile Main Memory;
D O I
10.1109/NAS51552.2021.9605418
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Page relocation (paging) from DRAM to swap devices is an important task of a virtual memory system in operating systems. Existing Linux paging mechanisms have two main deficiencies: (1) they may incur a high I/O latency due to write interference on solid-state disks and aggressive memory page reclaiming rate under high memory pressure and (2) they do not provide predictable latency bound for latency-sensitive applications because they cannot control the allocation of system resources among concurrent processes sharing swap devices. In this paper, we present the design and implementation of a latency-aware paging mechanism called NVSwap. It supports a hybrid swap space using both regular secondary storage devices (e.g., solid-state disks) and non-volatile main memory (NVMM). The design is more cost-effective than using only NVMM as swap spaces. Furthermore, NVSwap uses NVMM as a persistent paging buffer to serve the page-out requests and hide the latency of paging between the regular swap device and DRAM. It supports in-situ paging for pages in the persistent paging buffer avoiding the slow I/O path. Finally, NVSwap allows users to specify latency bounds for individual processes or a group of related processes and enforces the bounds by dynamically controlling the resource allocation of NVMM and page reclaiming rate in memory among scheduling units. We have implemented a prototype of NVSwap in the Linux kernel-4.4.241 based on Intel Optane DIMMs. Our results demonstrate that NVSwap reduces paging latency by up to 99% and provides performance guarantee and isolation among concurrent applications sharing swap devices.
引用
收藏
页码:48 / 56
页数:9
相关论文
共 50 条
  • [31] Device state recovery in non-volatile main memory systems
    Ohmura, R
    Yamasaki, N
    Anzai, Y
    27TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, PROCEEDINGS, 2003, : 16 - 21
  • [32] Persistent B+ - Trees in Non-Volatile Main Memory
    Chen, Shimin
    Jin, Qin
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2015, 8 (07): : 786 - 797
  • [33] Crash Consistency in Encrypted Non-Volatile Main Memory Systems
    Liu, Sihang
    Kolli, Aasheesh
    Ren, Jinglei
    Khan, Samira
    2018 24TH IEEE INTERNATIONAL SYMPOSIUM ON HIGH PERFORMANCE COMPUTER ARCHITECTURE (HPCA), 2018, : 310 - 323
  • [34] Exploring Non-Volatile Main Memory Architectures for Handheld Devices
    Ved, Sneha
    Awasthi, Manu
    PROCEEDINGS OF THE 2018 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2018, : 1528 - 1531
  • [35] Efficient Checkpointing with Recompute Scheme for Non-volatile Main Memory
    Alshboul, Mohammad
    Elnawawy, Hussein
    Elkhouly, Reem
    Kimura, Keiji
    Tuck, James
    Solihin, Yan
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2019, 16 (02)
  • [36] Accelerating Traditional File Systems on Non-Volatile Main Memory
    Jin, Weitong
    Zhu, Yanmin
    Huang, Linpeng
    2017 IEEE 23RD INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS (ICPADS), 2017, : 453 - 460
  • [37] Ultra simple way to encrypt non-volatile main memory
    Hou, Fangyong
    He, Hongjun
    SECURITY AND COMMUNICATION NETWORKS, 2015, 8 (07) : 1155 - 1168
  • [38] Non-volatile memory
    Sofer, Yair
    Oowaki, Yukihito
    Digest of Technical Papers - IEEE International Solid-State Circuits Conference, 2005, 48
  • [39] Energy-aware memory allocation in heterogeneous non-volatile memory systems
    Lee, HG
    Chang, N
    ISLPED'03: PROCEEDINGS OF THE 2003 INTERNATIONAL SYMPOSIUM ON LOW POWER ELECTRONICS AND DESIGN, 2003, : 420 - 423
  • [40] A Survey of Software Techniques for Using Non-Volatile Memories for Storage and Main Memory Systems
    Mittal, Sparsh
    Vetter, Jeffrey S.
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2016, 27 (05) : 1537 - 1550