2R: Efficiently Isolating Cold Pages in Flash Storages
Minji Kang, Soyee Choi, Gihwan Oh, Sang Won Lee
摘要
Given skewed writes common in databases, the conventional 1R-Greedy FTL incurs huge write amplification, most of which is contributed by cold pages amounting to 80% of data. Since 1R-Greedy manages all flash blocks in one region at no type distinction, cold pages will be mixed with noncold ones in the same blocks, spread across blocks over time, and thus repeatedly relocated upon garbage collections.
In this paper, we propose "two region" FTL (2R in short); with two flash regions of normal and cold, it focuses on isolating cold pages into cold region and thus preventing their repetitive relocations. 2R has two versions. The optimized version, 2R-FIFO, can further prevent the problem of false cold pages in the basic version, 2R-Greedy, by taking FIFO instead of Greedy as its victim selection policy. 2R is unique in that all its design decisions, including page placement and migration between regions, cold page identification, victim block selection, and space allocation among regions, capitalize on workload characteristics such as write skews, temporal locality, and frozen pages. Thanks to the principled approach, 2R is, unlike the existing hot/cold separation FTLs, a statistics-free and practical solution which can efficiently and effectively separate cold pages using only two regions.
Experimental results using a real OpenSSD as well as trace-driven simulations confirm that 2R-FIFO can, compared to 1R-Greedy, halve the write amplification in two OLTP benchmarks, TPC-C and LinkBench, thereby doubling IO performance and transaction throughput. In particular, as flash storage becomes nearly full, 2R-FIFO starts outperforming 1R-Greedy by 4x or more.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper2
相关 Paper
- Your Read is Our Priority in Flash StorageMijin An, Soojun Im, Dawoon Jung, Sang Won LeeVLDB 2022 · 9 次引用
- LRU-C: Parallelizing Database I/Os for Flash SSDsBo-Hyun Lee, Mijin An, Sang-Won LeeVLDB 2023 · 14 次引用
- FlashAlloc: Dedicating Flash Blocks By ObjectsJonghyeok Park, Soyee Choi, Gihwan Oh, Soojun Im 等VLDB 2023 · 3 次引用
- Avoiding Read Stalls on Flash StorageMijin An, In-Yeong Song, Yong Ho Song, Sang-Won LeeSIGMOD 2022 · 10 次引用
- How to Cut Out Expired Data with Nearly Zero Overhead for Solid-State DrivesWei-Lin Wang, Tseng-Yi Chen, Yuan-Hao Chang, Hsin-Wen Wei 等DAC 2020 · 2 次引用
