An Efficient Buffer Replacement Algorithm for NAND Flash Storage Devices
Authors:
- Dong Hyun KangDKDong Hyun Kang
- Changwoo MinCMChangwoo Min
- Young Ik EomYEYoung Ik Eom
- 1 September 2014
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- Vol. 42 (15267539) , 239-248
Abstract
NAND flash storage devices are now revolutionizing storage stacks. As their capacities are rapidly increasing, they are now being adopted virtually in all classes of computing devices, including mobile devices, desktop computers, and cloud servers. However, there are two remaining problems: first, as flash density increases, the lifetime of the storage medium decreases rapidly. Second, random writes significantly decrease performance and lifetime since they generate more hidden writes inside NAND flash storage devices. In this paper, we propose a novel buffer replacement algorithm called TS-CLOCK, to address those two problems. TS-CLOCK exploits temporal locality to keep the cache hit ratio high and also exploits spatial locality to maintain evicted writes flash-friendly. The key idea of our flash-friendly eviction is that, when evicting a dirty page, TS-CLOCK first selects a flash block with the largest number of dirty pages that are least likely to be accessed and then sequentially evicts pages in the block. Since it generates pseudo sequential writes for a flash block, it significantly increases performance and lifetime at once by reducing the number of hidden writes. We have implemented TS-CLOCK and compared it with seven replacement algorithms, including traditional and flash-aware ones, for several real workloads. Our experimental results show that TS-CLOCK outperforms the state-of-the-art replacement algorithm, Sp. Clock, by 30% on the NAND flash storage devices and extends the lifetime by 53%.Keywords
This publication has 16 references indexed in Scilit:
- What is a good buffer cache replacement scheme for mobile flash storage?2012
- Analytic modeling of SSD write performance2012
- Operation-aware buffer management in flash-based systems2011
- Performance models of flash-based solid-state drives for real workloads2011
- Performance modeling and analysis of flash-based storage devices2011
- Parameter-Aware I/O Management for Solid State Disks (SSDs)IEEE Transactions on Computers, 2011
- Large Block CLOCK (LB-CLOCK): A write caching algorithm for solid state disks2009
- LRU-WSR: integration of LRU and writes sequence reordering for flash memoryIEEE Transactions on Consumer Electronics, 2008
- FAB: Flash-Aware Buffer Management Policy for Portable Media PlayersIEEE Transactions on Consumer Electronics, 2006
- LIRS2002