Lune

VLDB2023顶会

LRU-C: Parallelizing Database I/Os for Flash SSDs

Bo-Hyun Lee, Mijin An, Sang-Won Lee

摘要

The conventional database buffer managers have two inherent sources of I/O serialization: read stall and mutex conflict. The serialized I/O makes storage and CPU under-utilized, limiting transaction throughput and latency. Such harm stands out on flash SSDs with asymmetric read-write speed and abundant I/O parallelism. To make database I/Os parallel and thus leverage the parallelism in flash SSDs, we propose a novel approach to database buffering, the LRU-C method. It introduces the LRU-C pointer that points to the least-recently-used-clean page in the LRU list. Upon a page miss, LRU-C selects the current LRU-clean page as a victim and adjusts the pointer to the next LRU-clean one in the LRU list. This way, LRU-C can avoid the I/O serialization of read stalls. The LRU-C pointer enables two further optimizations for higher I/O throughput: dynamic-batch-write and parallel LRU-list manipulation. The former allows the background flusher to write more dirty pages at a time, while the latter mitigates mutex-induced I/O serializations. Experiment results from running OLTP workloads using MySQL-based LRU-C prototype on flash SSDs show that it improves transaction throughput compared to the Vanilla MySQL and the state-of-the-art WAR solution by 3x and 1.52x, respectively, and also cuts the tail latency drastically. Though LRU-C might compromise the hit ratio slightly, its increased I/O throughput far offsets the reduced hit ratio.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • FlashANNS: GPU-Driven Asynchronous I/O Pipelining for Eliminating Storage-Compute Bottlenecks in Billion-Scale Similarity Search 引用了 Ratel: Optimizing Holistic Data Movement to Fine-tune 100B Model on a Consumer GPU
  • FlashANNS: GPU-Driven Asynchronous I/O Pipelining for Eliminating Storage-Compute Bottlenecks in Billion-Scale Similarity Search 引用了 CAM: Asynchronous GPU-Initiated, CPU-Managed SSD Management for Batching Storage Access
  • How to Write to SSDs 引用了 Avoiding Read Stalls on Flash Storage
  • How to Write to SSDs 引用了 Your Read is Our Priority in Flash Storage
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Ratel: Optimizing Holistic Data Movement to Fine-tune 100B Model on a Consumer GPUChangyue Liao, Mo Sun, Zihan Yang, Jun Xie 等ICDE 2025 · 4 次引用
  2. CAM: Asynchronous GPU-Initiated, CPU-Managed SSD Management for Batching Storage AccessZiyu Song, Jie Zhang, Jie Sun, Mo Sun 等ICDE 2025 · 4 次引用
  3. FlashANNS: GPU-Driven Asynchronous I/O Pipelining for Eliminating Storage-Compute Bottlenecks in Billion-Scale Similarity SearchYang Xiao, Mo Sun, Ziyu Song, Bing Tian 等SIGMOD 2026 · 3 次引用
  4. How to Write to SSDsBohyun Lee, Tobias Ziegler, Viktor LeisVLDB 2026 · 2 次引用

它引用的 Paper2

  1. Avoiding Read Stalls on Flash StorageMijin An, In-Yeong Song, Yong Ho Song, Sang-Won LeeSIGMOD 2022 · 10 次引用
  2. Your Read is Our Priority in Flash StorageMijin An, Soojun Im, Dawoon Jung, Sang Won LeeVLDB 2022 · 9 次引用

相关 Paper

  1. ACEing the Bufferpool Management Paradigm for Modern Storage DevicesTarikul Islam Papon, Manos AthanassoulisICDE 2023 · 8 次引用
  2. Rearchitecting Buffered I/O in the Era of High-Bandwidth SSDsYekang Zhan, Tianze Wang, Zheng Peng, Haichuan Hu 等FAST 2026
  3. 2R: Efficiently Isolating Cold Pages in Flash StoragesMinji Kang, Soyee Choi, Gihwan Oh, Sang Won LeeVLDB 2020
  4. NV-SQL: Boosting OLTP Performance with Non-Volatile DIMMsMijin An, Jonghyeok Park, Tianzheng Wang, Beomseok Nam 等VLDB 2023 · 6 次引用
  5. FlashAlloc: Dedicating Flash Blocks By ObjectsJonghyeok Park, Soyee Choi, Gihwan Oh, Soojun Im 等VLDB 2023 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖