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 条
  • [21] In-memory AES Implementation for Emerging Non-volatile Main Memory
    Xie, Mimi
    Wu, Yawen
    Jia, Zhenge
    Hu, Jingtong
    2019 IEEE COMPUTER SOCIETY ANNUAL SYMPOSIUM ON VLSI (ISVLSI 2019), 2019, : 103 - 103
  • [22] GWalloc: A self-adaptive generational wear-aware allocator for non-volatile main memory
    Wang, Ziwei
    Li, Wei
    Shuai, Ziqi
    Li, Qingan
    MICROPROCESSORS AND MICROSYSTEMS, 2023, 103
  • [23] Zen+: a robust NUMA-aware OLTP engine optimized for non-volatile main memory
    Gang Liu
    Leying Chen
    Shimin Chen
    The VLDB Journal, 2023, 32 : 123 - 148
  • [24] FSDedup: Feature-Aware and Selective Deduplication for Improving Performance of Encrypted Non-Volatile Main Memory
    Du, Chunfeng
    Lin, Zihang
    Wu, Suzhen
    Chen, Yifei
    Wu, Jiapeng
    Wang, Shengzhe
    Wang, Weichun
    Wu, Qingfeng
    Mao, Bo
    ACM TRANSACTIONS ON STORAGE, 2024, 20 (04)
  • [25] Zen plus : a robust NUMA-aware OLTP engine optimized for non-volatile main memory
    Liu, Gang
    Chen, Leying
    Chen, Shimin
    VLDB JOURNAL, 2023, 32 (01): : 123 - 148
  • [26] RECOVERY ALGORITHMS FOR DATABASE MACHINES WITH NON-VOLATILE MAIN MEMORY
    AGRAWAL, R
    JAGADISH, HV
    LECTURE NOTES IN COMPUTER SCIENCE, 1989, 368 : 269 - 285
  • [27] Non-volatile memory
    Casagrande, Giulio
    Chung, Shine
    Digest of Technical Papers - IEEE International Solid-State Circuits Conference, 2008, 51
  • [28] Language runtime support for non-volatile main memory management
    Saito, Shougo
    Nakagawa, Gaku
    Oikawa, Shuichi
    ICIC Express Letters, 2014, 8 (01): : 137 - 144
  • [29] A High Performance File System for Non-Volatile Main Memory
    Ou, Jiaxin
    Shu, Jiwu
    Lu, Youyou
    PROCEEDINGS OF THE ELEVENTH EUROPEAN CONFERENCE ON COMPUTER SYSTEMS, (EUROSYS 2016), 2016,
  • [30] PASTE: A Network Programming Interface for Non-Volatile Main Memory
    Honda, Michio
    Lettieri, Giuseppe
    Eggert, Lars
    Santry, Douglas
    PROCEEDINGS OF THE 15TH USENIX SYMPOSIUM ON NETWORKED SYSTEMS DESIGN AND IMPLEMENTATION (NSDI'18), 2018, : 17 - 33