In view of the problem that the existing NAND flash cache management algorithmconsidering insufficiently about the buffer replacement page selection and replacement cost and the algorithm time overhead is large
a NAND flash memory cache management algorithm based on data access counting is proposed.Considering the difference of read and write cost of NAND flash memory and the difference of data access frequency
the proposed algorithm divides data pages into cold clean
cold dirty
hot clean and hot dirty
and manages them by LRU queues.Then
according to the proposed data access count strategy
the access count value of the data page is calculated. Finally
based on queue length and data page access count
a new data page replacement strategy is proposed. The simulation results based on QEMU and Linux show that compared with LRU algorithm
CF-LRU algorithm
LRU-WSR algorithm
CCF-LRU algorithm and LLRU algorithm
the proposed algorithm can effectively reduce the number of writes and reduce the running time of the program.
关键词
Keywords
references
JUNG H, YOON K, SHIM H, et al. LIRS-WSR: Integration of LIRS and Writes Sequence Reordering for Flash Memory[J]. IEEE Transactions on Consumer Electronics, 2008, 54(3):1215-1223. DOI: 1215
YAN H, YAO Q. An efficient file-aware garbage collection algorithm for NAND flash-based consumer electronics[J]. IEEE Transactions on Consumer Electronics, 2014, 60(4):623-627. DOI: 623
PARK S Y, JUNG D, KANG J U, et al. CFLRU: a replacement algorithm for flash memory[C]// Cases 06: International Conference on Compilers. Shanghai, China, 2006.
何简繁.基于NAND闪存的固态硬盘缓存优化策略研究[D].杭州: 杭州电子科技大学, 2018
WEI Y, SHIN D. NAND flash storage device performance in Linux file system[C]// International Conference on Computer Sciences % Convergence Information Technology. Kuala Lumpur, Malaysia, IEEE, 2012.
CHIANG M L, LEE P C H, CHANG R C. Managing flash memory in personal communication devices[C]// IEEE International Symposium on Consumer Electronics. Singapore, 1997, DOI: 10.1109/ISCE.1997.658363.
JOHNSON T, SHASHA D, PROPOSED G W. Q: A Low Overhead High Performance Buffer Management Replacement Algorithm[C]// International Conference on Very Large Data Bases. Morgan Kaufmann
ZHI L, JIN P, XUAN S, et al. CCF-LRU: a new buffer replacement algorithm for flash memory[J]. IEEE Transactions on Consumer Electronics, 2009, 55(3):1351-1359. DOI: 1351