JOURNAL ARTICLE

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

Abstract

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.

Keywords:
Paging Computer science Demand paging Page fault Latency (audio) Operating system Linux kernel Interleaved memory Virtual memory Flat memory model Computer network Embedded system Overlay Memory management

Metrics

0
Cited By
0.00
FWCI (Field Weighted Citation Impact)
17
Refs
0.21
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Topics

Advanced Data Storage Technologies
Physical Sciences →  Computer Science →  Computer Networks and Communications
Parallel Computing and Optimization Techniques
Physical Sciences →  Computer Science →  Hardware and Architecture
Cloud Computing and Resource Management
Physical Sciences →  Computer Science →  Information Systems

Related Documents

JOURNAL ARTICLE

LASER: Latency-Aware Segment Relocation for non-volatile memory

Myung-Sik KimSeongjin LeeJinchul ShinYoujip Won

Journal:   Journal of Systems Architecture Year: 2015 Vol: 61 (8)Pages: 361-373
JOURNAL ARTICLE

Energy-aware writes to non-volatile main memory

Jie ChenRon C. ChiangH. Howie HuangGuru Venkataramani

Journal:   ACM SIGOPS Operating Systems Review Year: 2012 Vol: 45 (3)Pages: 48-52
JOURNAL ARTICLE

Approximate Similarity-Aware Compression for Non-Volatile Main Memory

Zhangyu ChenYu HuaPengfei ZuoYuanyuan SunYuncheng Guo

Journal:   Journal of Computer Science and Technology Year: 2024 Vol: 39 (1)Pages: 63-81
© 2026 ScienceGate Book Chapters — All rights reserved.