Asynchronous I/O stack: A Low-latency Kernel I/O Stack for Ultra-Low Latency SSDs

Gyusun Lee, Seokha Shin, Wonsuk Song, Tae Jun Ham, Jae W. Lee, Jinkyu Jeong

    Research output: Chapter in Book/Report/Conference proceedingConference contribution

    Abstract

    Today’s ultra-low latency SSDs can deliver an I/O latency of sub-ten microseconds. With this dramatically shrunken device time, operations inside the kernel I/O stack, which were traditionally considered lightweight, are no longer a negligible portion. This motivates us to reexamine the storage I/O stack design and propose an asynchronous I/O stack (AIOS), where synchronous operations in the I/O path are replaced by asynchronous ones to overlap I/O-related CPU operations with device I/O. The asynchronous I/O stack leverages a lightweight block layer specialized for NVMe SSDs using the page cache without block I/O scheduling and merging, thereby reducing the sojourn time in the block layer. We prototype the proposed asynchronous I/O stack on the Linux kernel and evaluate it with various workloads. Synthetic FIO benchmarks demonstrate that the application-perceived I/O latency falls into single-digit microseconds for 4 KB random reads on Optane SSD, and the overall I/O latency is reduced by 15–33% across varying block sizes. This I/O latency reduction leads to a significant performance improvement of real-world applications as well: 11–44% IOPS increase on RocksDB and 15–30% throughput improvement on Filebench and OLTP workloads.

    Original languageEnglish
    Title of host publicationProceedings of the 2019 USENIX Annual Technical Conference, USENIX ATC 2019
    PublisherUSENIX Association
    Pages603-616
    Number of pages14
    ISBN (Electronic)9781939133038
    Publication statusPublished - 2019
    Event2019 USENIX Annual Technical Conference, USENIX ATC 2019 - Renton, United States
    Duration: 2019 Jul 102019 Jul 12

    Publication series

    NameProceedings of the 2019 USENIX Annual Technical Conference, USENIX ATC 2019

    Conference

    Conference2019 USENIX Annual Technical Conference, USENIX ATC 2019
    Country/TerritoryUnited States
    CityRenton
    Period19/7/1019/7/12

    Bibliographical note

    Funding Information:
    We would like to thank the anonymous reviewers and our shepherd, Youjip Won, for their valuable comments. We also thank Prof. Jin-Soo Kim for his devotion of time at LAX and valuable technical feedback. This work was supported partly by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (NRF-2017R1C1B2007273, NRF-2016M3C4A7952587) and by Samsung Electronics.

    Publisher Copyright:
    © Proceedings of the 2019 USENIX Annual Technical Conference, USENIX ATC 2019. All rights reserved.

    All Science Journal Classification (ASJC) codes

    • Computer Science(all)

    Fingerprint

    Dive into the research topics of 'Asynchronous I/O stack: A Low-latency Kernel I/O Stack for Ultra-Low Latency SSDs'. Together they form a unique fingerprint.

    Cite this