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 条
  • [1] LASER: Latency-Aware Segment Relocation for non-volatile memory
    Kim, Myungsik
    Lee, Seongjin
    Shin, Jinchul
    Won, Youjip
    [J]. JOURNAL OF SYSTEMS ARCHITECTURE, 2015, 61 (08) : 361 - 373
  • [2] Aging-Aware Request Scheduling for Non-Volatile Main Memory
    Song, Shihao
    Das, Anup
    Mutlu, Onur
    Kandasamy, Nagarajan
    [J]. 2021 26TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC), 2021, : 657 - 664
  • [3] Approximate Similarity-Aware Compression for Non-Volatile Main Memory
    Chen, Zhang-Yu
    Hua, Yu
    Zuo, Peng-Fei
    Sun, Yuan-Yuan
    Guo, Yun-Cheng
    [J]. JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2024, 39 (01): : 63 - 81
  • [4] Consensus for Non-Volatile Main Memory
    Huynh Tu Dang
    Hofmann, Jaco
    Liu, Yang
    Radi, Marjan
    Vucinic, Dejan
    Soule, Robert
    Pedone, Fernando
    [J]. 2018 IEEE 26TH INTERNATIONAL CONFERENCE ON NETWORK PROTOCOLS (ICNP), 2018, : 406 - 411
  • [5] TriBHMM: An Energy-Efficient and Latency-Aware Hybrid Main Memory
    Zhang, Hong
    Wang, Xiaojun
    [J]. 2019 IEEE INTL CONF ON PARALLEL & DISTRIBUTED PROCESSING WITH APPLICATIONS, BIG DATA & CLOUD COMPUTING, SUSTAINABLE COMPUTING & COMMUNICATIONS, SOCIAL COMPUTING & NETWORKING (ISPA/BDCLOUD/SOCIALCOM/SUSTAINCOM 2019), 2019, : 1451 - 1456
  • [6] WAlloc: An Efficient Wear-Aware Allocator for Non-Volatile Main Memory
    Yu, Songping
    Xiao, Nong
    Deng, Mingzhu
    Xing, Yuxuan
    Liu, Fang
    Cai, Zhiping
    Chen, Wei
    [J]. 2015 IEEE 34TH INTERNATIONAL PERFORMANCE COMPUTING AND COMMUNICATIONS CONFERENCE (IPCCC), 2015,
  • [7] Using DRAM as Cache for Non-Volatile Main Memory Swapping
    Kawata, Hirotaka
    Nakagawa, Gaku
    Oikawa, Shuichi
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE INNOVATION, 2016, 4 (01) : 61 - 71
  • [8] Redesign the Memory Allocator for Non-Volatile Main Memory
    Yu, Songping
    Xiao, Nong
    Deng, Mingzhu
    Liu, Fang
    Chen, Wei
    [J]. ACM JOURNAL ON EMERGING TECHNOLOGIES IN COMPUTING SYSTEMS, 2017, 13 (03)
  • [9] Programming for Non-Volatile Main Memory Is Hard
    Ren, Jinglei
    Hu, Qingda
    Khan, Samira
    Moscibroda, Thomas
    [J]. PROCEEDINGS OF THE 8TH ASIA-PACIFIC WORKSHOP ON SYSTEMS (APSYS '17), 2017,
  • [10] Reducing Bit Writes in Non-volatile Main Memory by Similarity-aware Compression
    Chen, Zhangyu
    Hua, Yu
    Zuo, Pengfei
    Sun, Yuanyuan
    Guo, Yuncheng
    [J]. PROCEEDINGS OF THE 2020 57TH ACM/EDAC/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2020,