Back to Search Start Over

PMSort: An adaptive sorting engine for persistent memory

Authors :
Shengan Zheng
Yifan Hua
Linpeng Huang
Kaixin Huang
Source :
Journal of Systems Architecture. 120:102279
Publication Year :
2021
Publisher :
Elsevier BV, 2021.

Abstract

Emerging persistent memory (PM, also termed as non-volatile memory) technologies can promise large capacity, non-volatility, byte-addressability and DRAM-comparable access latency. A host of PM-based storage systems and applications that store and access data directly in PM have been inspired by such amazing features. Sorting is an important function for many systems, but how to optimize sorting for PM-based systems has not been systematically studied. In this paper, we conduct extensive experiments for many existing sorting methods, including both conventional sorting algorithms adapted for PM and recently-proposed PM-friendly sorting techniques, on a DRAM and real PM hybrid platform. The results indicate that these sorting methods all have drawbacks for various workloads. Some of the results are even counterintuitive compared to running on a DRAM-simulated platform in their papers. To the best of our knowledge, we are the first to perform a systematic study on the sorting issue for persistent memory. Based on our study, we summarize principles on selecting the optimal algorithms and propose an adaptive sorting engine called PMSort to perform the selecting operation and reduce failure recovery overhead in PM. We conduct extensive experiments and show that PMSort can select the best sorting algorithm in a variety of cases.

Details

ISSN :
13837621
Volume :
120
Database :
OpenAIRE
Journal :
Journal of Systems Architecture
Accession number :
edsair.doi...........11b9da7d86b2df05feb17e6edb274c35