吉林大学学报(工学版) ›› 2017, Vol. 47 ›› Issue (2): 632-638.doi: 10.13229/j.cnki.jdxbgxb201702039

Previous Articles     Next Articles

Life-aware buffer management algorithm for flash-based databases

WANG Li-yu, CHEN Lan, HAO Xiao-ran, WANG Qiang, NI Mao   

  1. EDA Center, Institute of Microelectronics, Chinese Academy of Sciences, Beijing 100029,China
  • Received:2015-09-12 Online:2017-03-20 Published:2017-03-20

Abstract: NAND flash memory is more and more widely applied in data storage systems. However, NAND flash memory has some inherent characteristics of asymmetric I/O latencies for read and write operations, erase-before-write and limited erase cycles, which are different from those of disk operations. So the existing traditional buffer algorithms for disk are not suitable for flash-based storage systems. Aiming to design an efficient buffer management policy for NAND flash memory, a life-aware buffer management algorithm named LAB-LRU is proposed, which manages the buffer by using three LRU lists. A life value is defined for each buffer page to enable active pages to stay longer in the buffer. The definition of the life value gives consideration of different access frequency, recency and the cost of flash read and write operations. Moreover, the multithreading technology is adopted to monitor the use of buffer size in parallel and evict dead pages in advance. A series of trace-driven simulations are carried out. The results show that the proposed LAB-LRU algorithm significantly outperforms the previous best-known algorithms in terms of the buffer hit ratio, the numbers of flash write and read operations and the overall runtime.

Key words: computer application, flash, database storage system, buffer management algorithm, life value

CLC Number: 

  • TP311
[1] Koltsidas I, Viglas S D. Flashing up the storage layer[J].Proc of the VLDB Endowment, 2008,1(1):514-525.
[2] Gal E, Sivan T. Algorithms and data structures for flash memories[J]. ACM Computing Surveys, 2005, 37(2): 138-163.
[3] Jiang S, Zhang X D. Making LRU friendly to weak locality workloads: a novel replacement algorithm to improve buffer cache performance[J]. IEEE Trans on Computers, 2005,54(8): 939-952.
[4] Park Seon-Yeong, Jung Dawoon, Kang Jeong-Uk, et al. CFLRU: a replacement algorithm for flash memory[C]∥Proceedings of the CASES'06, Seoul, Korea, 2006: 234-241.
[5] Jung H, Shim H, Park S, et al. LRU-WSR: intergration of LRU and writes sequence reordering for flash memory[J]. IEEE Transactions on Consumer Electronics, 2007, 54(3): 1215-1223.
[6] Li Zhi, Jin Pei-quan, Su Xuan, et al. CCF-LRU: a new buffer replacement algorithm for flash memory[J]. IEEE Transactions on Consumer Electronics, 2009, 55(3): 1351-1359.
[7] Jin Pei-quan, Ou Yi, Harder Theo, et al. AD-LRU: an efficient buffer replacement algorithm for flash-based databases[J]. Data & Knowledge Engineering, 2012, 72:73-102.
[8] 林子雨,赖明星,邹权,等. 基于替换概率的闪存数据库缓冲区替换算法[J]. 计算机学报, 2013, 36(8): 1568-1581.
Lin Zi-yu, Lai Ming-xing, Zou Quan, et al. Probability-based buffer replacement algorithm for flash-based databases[J]. Chinese Journal of Computers, 2013, 36(8): 1568-1581.
[9] Cui Jin-hua, Wu Wei-guo, Wang Yin-feng, et al. PT-LRU: a probabilistic page replacement algorithm for NAND flash-based consumer electronics[J]. IEEE Transactions on Consumer Electronics, 2014, 60(4): 614-622.
[10] 汤显,孟小峰,梁智超,等.基于代价的闪存数据库缓冲区置换算法[J]. 软件学报,2011, 22(12): 2951-2964.
Tang Xian, Meng Xiao-feng, Liang Zhi-chao, et al. Cost-based buffer management algorithm for flash database systems[J]. Journal of Software, 2011, 22(12): 2951-2964.
[11] Jin P Q, Su X, Li Z, et al. A flexible simulation environment for flash-aware algorithms[C]∥Proc 18th ACM Conference on Information and Knowledge Management, Hong Kong, China, 2009: 2093-2094.
[1] LIU Fu,ZONG Yu-xuan,KANG Bing,ZHANG Yi-meng,LIN Cai-xia,ZHAO Hong-wei. Dorsal hand vein recognition system based on optimized texture features [J]. Journal of Jilin University(Engineering and Technology Edition), 2018, 48(6): 1844-1850.
[2] WANG Li-min,LIU Yang,SUN Ming-hui,LI Mei-hui. Ensemble of unrestricted K-dependence Bayesian classifiers based on Markov blanket [J]. Journal of Jilin University(Engineering and Technology Edition), 2018, 48(6): 1851-1858.
[3] JIN Shun-fu,WANG Bao-shuai,HAO Shan-shan,JIA Xiao-guang,HUO Zhan-qiang. Synchronous sleeping based energy saving strategy of reservation virtual machines in cloud data centers and its performance research [J]. Journal of Jilin University(Engineering and Technology Edition), 2018, 48(6): 1859-1866.
[4] ZHAO Dong,SUN Ming-yu,ZHU Jin-long,YU Fan-hua,LIU Guang-jie,CHEN Hui-ling. Improved moth-flame optimization method based on combination of particle swarm optimization and simplex method [J]. Journal of Jilin University(Engineering and Technology Edition), 2018, 48(6): 1867-1872.
[5] LIU En-ze,WU Wen-fu. Agricultural surface multiple feature decision fusion disease judgment algorithm based on machine vision [J]. Journal of Jilin University(Engineering and Technology Edition), 2018, 48(6): 1873-1878.
[6] OUYANG Dan-tong, FAN Qi. Clause-level context-aware open information extraction [J]. Journal of Jilin University(Engineering and Technology Edition), 2018, 48(5): 1563-1570.
[7] LIU Fu, LAN Xu-teng, HOU Tao, KANG Bing, LIU Yun, LIN Cai-xia. Metagenomic clustering method based on k-mer frequency optimization [J]. Journal of Jilin University(Engineering and Technology Edition), 2018, 48(5): 1593-1599.
[8] GUI Chun, HUANG Wang-xing. Network clustering method based on improved label propagation algorithm [J]. Journal of Jilin University(Engineering and Technology Edition), 2018, 48(5): 1600-1605.
[9] LIU Yuan-ning, LIU Shuai, ZHU Xiao-dong, CHEN Yi-hao, ZHENG Shao-ge, SHEN Chun-zhuang. LOG operator and adaptive optimization Gabor filtering for iris recognition [J]. Journal of Jilin University(Engineering and Technology Edition), 2018, 48(5): 1606-1613.
[10] CHE Xiang-jiu, WANG Li, GUO Xiao-xin. Improved boundary detection based on multi-scale cues fusion [J]. Journal of Jilin University(Engineering and Technology Edition), 2018, 48(5): 1621-1628.
[11] ZHAO Hong-wei, LIU Yu-qi, DONG Li-yan, WANG Yu, LIU Pei. Dynamic route optimization algorithm based on hybrid in ITS [J]. 吉林大学学报(工学版), 2018, 48(4): 1214-1223.
[12] HUANG Hui, FENG Xi-an, WEI Yan, XU Chi, CHEN Hui-ling. An intelligent system based on enhanced kernel extreme learning machine for choosing the second major [J]. 吉林大学学报(工学版), 2018, 48(4): 1224-1230.
[13] FU Wen-bo, ZHANG Jie, CHEN Yong-le. Network topology discovery algorithm against routing spoofing attack in Internet of things [J]. 吉林大学学报(工学版), 2018, 48(4): 1231-1236.
[14] CAO Jie, SU Zhe, LI Xiao-xu. Image annotation method based on Corr-LDA model [J]. 吉林大学学报(工学版), 2018, 48(4): 1237-1243.
[15] HOU Yong-hong, WANG Li-wei, XING Jia-ming. HTTP-based dynamic adaptive streaming video transmission algorithm [J]. 吉林大学学报(工学版), 2018, 48(4): 1244-1253.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!