uDMA: An Efficient User-Level DMA for NVMe SSDs
-
Published:2023-01-10
Issue:2
Volume:13
Page:960
-
ISSN:2076-3417
-
Container-title:Applied Sciences
-
language:en
-
Short-container-title:Applied Sciences
Author:
Zhu Jinbin,Wang Liang,Xiao Limin,Qin Guangjun
Abstract
The Non-Volatile Memory Express (NVMe) SSD provides high I/O performance for current computer systems, and direct memory access (DMA) is the critical enabling mechanism for direct I/O. However, the lengthy I/O stack becomes a new bottleneck that degrades the potential of NVMe SSD. This paper reveals that existing user-level DMA introduces additional overhead for pinning memory used by DMA from the user space. Moreover, it cannot adapt to I/O requests of different data sizes. This paper proposes an efficient and dynamically adaptive user-level DMA (uDMA) mechanism that can adapt to I/O requests for different data sizes and lighten the I/O software stack by amortizing per-request latency. The critical component of uDMA is the pinned memory pool, which avoids frequently pinning new memory blocks by reusing allocated and pinned memory blocks. In addition, it effectively connects the discrete pinned memory blocks by the scatter/gather lists, improving the utilization of the pinned memory pool. Compared with the latest user-level DMA method, uDMA has an improvement of at least 17% under various data sizes.
Funder
the National Natural Science Foundation of China
the National Laboratory of Software Development Environment
Subject
Fluid Flow and Transfer Processes,Computer Science Applications,Process Chemistry and Technology,General Engineering,Instrumentation,General Materials Science
Reference29 articles.
1. Kc, K., Hsu, C.J., and Freeh, V.W. (July, January 27). Evaluation of MapReduce in a Large Cluster. Proceedings of the 8th International Conference on Cloud Computing, New York, NY, USA.
2. RocksDB: Evolution of Development Priorities in a Key-value Store Serving Large-scale Applications;Dong;Acm Trans. Storage,2021
3. Data-intensive applications, challenges, techniques and technologies: A survey on Big Data;Chen;Inf. Sci.,2014
4. NVM Express Workgroup (2022, September 01). NVM Express Base Specification, Revision 2.0. Available online: https://nvmexpress.org/wpcontent/uploads/NVM-Express-Base-Specification-2_0-2021.06.02-Ratified-5.pdf[2021].
5. Cloud-Native Database Systems at Alibaba: Opportunities and Challenges;Li;Proc. Vldb Endow.,2019