Avoiding Read Stalls on Flash Storage
Mijin An, In-Yeong Song, Yong Ho Song, Sang-Won Lee
摘要
When a dirty victim page is selected for replacement upon page miss, the buffer manager has to first flush the dirty victim to the storage before reading the missing page. This conventional read-after-write (RAW) protocol, while working well on hard disks, causes the problem of read stall on flash storage with asymmetric read-write speed and parallelism; because of the resource conflict for a buffer frame between write and read operations, a page-missing process has to wait for the slow write to complete to secure a clean frame for the missing page. This strict write-then-read serialization under-utilizes CPU and storage, worsening transaction throughput and latency. To avoid the read stall problem on flash storage, this paper proposes write-after-read (WAR) protocol as a new I/O architecture between buffer manager and flash storage. In WAR, foreground processes make victim frames clean instantly by temporarily copying dirty pages at LRU tail into a separate DRAM space and read their missing pages into the cleaned frames with no stall. The dirty pages will be written to the storage asynchronously. By resolving resource conflict and thus avoiding read stalls, the database engine can issue more I/Os in parallel and better utilize CPU as well as storage, improving throughput and latency. We prototype WAR in two database storage engines, MySQL/InnoDB and Zero. Our comprehensive experimental results show that WAR improves transaction throughput by up to 2.9x compared to RAW.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
引用它的顶会 Paper6
- Orion: Interference-aware, Fine-grained GPU Sharing for ML ApplicationsFoteini Strati, Xianzhe Ma, Ana KlimovicEuroSys 2024 · 被引用 96 次
- LRU-C: Parallelizing Database I/Os for Flash SSDsBo-Hyun Lee, Mijin An, Sang-Won LeeVLDB 2023 · 被引用 14 次
- NV-SQL: Boosting OLTP Performance with Non-Volatile DIMMsMijin An, Jonghyeok Park, Tianzheng Wang, Beomseok Nam 等VLDB 2023 · 被引用 6 次
- Moving on From Group Commit: Autonomous Commit Enables High Throughput and Low Latency on NVMe SSDsLam-Duy Nguyen, Adnan Alhomssi, Tobias Ziegler, Viktor LeisSIGMOD 2025 · 被引用 3 次
- FlashAlloc: Dedicating Flash Blocks By ObjectsJonghyeok Park, Soyee Choi, Gihwan Oh, Soojun Im 等VLDB 2023 · 被引用 3 次
相关 Paper
- Your Read is Our Priority in Flash StorageMijin An, Soojun Im, Dawoon Jung, Sang Won LeeVLDB 2022 · 被引用 9 次
- Write-Aware Timestamp Tracking: Effective and Efficient Page Replacement for Modern HardwareDemian E. Vöhringer, Viktor LeisVLDB 2023 · 被引用 11 次
- ACEing the Bufferpool Management Paradigm for Modern Storage DevicesTarikul Islam Papon, Manos AthanassoulisICDE 2023 · 被引用 8 次
- 2R: Efficiently Isolating Cold Pages in Flash StoragesMinji Kang, Soyee Choi, Gihwan Oh, Sang Won LeeVLDB 2020
- Boosting OLTP Performance with Per-Page Logging on NVDIMMBohyun Lee, Seongjae Moon, Jonghyeok Park, Sang-Won LeeSIGMOD 2025 · 被引用 3 次
