期刊文献+

基于代价的闪存数据库缓冲区置换算法 被引量:8

Cost-Based Buffer Management Algorithm for Flash Database Systems
下载PDF
导出
摘要 提出一种基于闪存硬盘(solid state disk,简称SSD)的自适应缓冲区管理算法CBLRU,其将数据页的置换代价与其驻留内存的影响相结合,为每个数据页附加一个权值,当发生页缺失问题时,选择具有最小权值的数据页进行置换,从而可以在延长修改页驻留缓冲区的同时,避免某些修改页长期占用缓冲区中有效空间问题的发生.由于该权值会根据不同闪存的读写代价进行动态调整,因此可适用于不同类型的闪存硬盘;进一步,提出了同类型数据页的权重关系稳定性结论,基于该结论,CBLRU将缓冲区中的数据页组织为两个LRU队列,分别用于管理只读页和修改页,从而将内存的CPU操作代价从O(klogk)降低为O(1).基于不同闪存硬盘和不同存取模式的实验结果说明,CBLRU可有效应用于不同类型的闪存硬盘,且综合性能优于已有方法. Different from existing flash-aware buffer replacement policies that focus on the asymmetry of read and write operations, this paper addresses the "discrepancy" of the asymmetry for different flash disks which has existed for a long time. The study proposes an adaptive replacement policy (CBLRU), which assigns to each page a weighted value that combines the IO cost and the influence of pages staying in the buffer. When selecting a victim page, the one with the minimum weighted value will be selected as the victim page, thus, one can avoid the problem of occupying the valid buffer space by dirty pages that are not used for a long time. Moreover, as the cost of read and write operations will be adjusted according to different flash disks, CBLRU can wisely tune itself and adapt to different kinds of flash disks. Finally, a theorem is proposed addressing the stability of the relationship between pages, based on which CBLRU organizes all data pages into two LRU lists: one for clean pages and the other for dirty pages, and then the CPU complexity is reduced form O(klogk) to O(1). The experimental results show that compared with existing buffer-aware replacement algorithms, CBLRU is very efficient when being used for different kinds of flash disks.
出处 《软件学报》 EI CSCD 北大核心 2011年第12期2951-2964,共14页 Journal of Software
基金 国家自然科学基金(60833005 60573091) 国家高技术研究发展计划(863)(2007AA01Z155 2009AA011904) 国家教育部博士点基金(200800020002)
关键词 闪存 闪存数据库 缓冲区置换算法 代价 flash flash database buffer management algorithm cost
  • 相关文献

参考文献16

  • 1Grey J. A radical view of flash disks. 2006. http://research.microsoft.corn/-Gray/talks/Flash Is Good.ppt. 被引量:1
  • 2Babaoglu 0, Joy W. Converting a swap-based system to do paging in an architecture lacking page-reference bits. ACM SIGOPS Operating Systems Review, 1981,15(5):78-86. [doi: 10.1145/800216.806595]. 被引量:1
  • 3Robinson JT, Devarakonda MV. Data cache management using frequency-based replacement. In: Nutt GJ, ed. Proc. of the '90 ACM SIGMETRICS Conf. on Measurement and Modeling of Computer Systems. New York: ACM Press, 1990. 134-142. [doi: 10.1145/98457.98523]. 被引量:1
  • 4O'Neil EJ, O'Neil PE, Weikum G. The LRU-k page replacement algorithm for database disk buffering. In: Buneman P, Jajodia S, eds. Proc. of the ACM SIGMOD Int'l Conf. on Management of Data. New York: ACM Press, 1993. 297-306. [doi: 10.1145/ 170035.170081 ]. 被引量:1
  • 5Johnson T, Shasha D. 2Q: A low overhead high performance buffer management replacement algorithm. In: Bocca JB, ed. Proc. of the 20th Int'l Conf. on Very Large Data Bases. San Francisco: Morgan Kaufmann Publishers, 1994. 439-450. 被引量:1
  • 6Jiang S, Zhang XD. Making LRU friendly to weak locality workloads: A novel replacement algorithm to improve buffer cache performance. IEEE Trans. on Computers, 2005,54(8):939-952. [doi: 10.1109/TC.2005.130]. 被引量:1
  • 7Megiddo N, Modha DS. ARC: A self-tuning, low overhead replacement cache. In: Honeyman P, ed. Proc. of the Conf. on File and Storage Technologies (FAST 2003). Berkeley: USENIX, 2003. 115-130. 被引量:1
  • 8Lee D, Choi J, Kim JH, Noh SH, Min SL, Cho Y, Kim CS. LRFU: A spectrum of policies that subsumes the least recently used and least frequently used policies. IEEE Trans. on Computers, 2001,50(12):1352-1361. [doi: 10.1109/TC.2001.970573]. 被引量:1
  • 9Effelsberg W, Haerder T. Principles of database buffer management. ACM Trans. on Database Systems, 1984,9(4):560-595. [doi: 10.1145/1994.2022]. 被引量:1
  • 10Park SY, Jung D, Kang JU, Kim JS, Lee J. Cflru: A replacement algorithm for flash memory. In: Hong S, ed. Proc. of the 2006 Int'l Conf. on Compilers, Architecture, and Synthesis for Embedded Systems. New York: ACM Press, 2006. 234-241. Idol: 10.1145/ 1176760.1176789]. 被引量:1

同被引文献32

  • 1Chiang M L, Lee P C H, Chang R C. Managing flash memory in personal communication devices//Proceedings of the Inter- national Symposium on Consumer Electronics. Seattle, WA, USA, 1997: 177-182. 被引量:1
  • 2Jung Hoyong, Yoon Kyunghoon, Shim Hyoki, et al. LIRS WSR. Integration of LIRS and writes sequence reordering for flash memory//Proceedings of the ICCSA. Kuala Lumpur, Malaysia, 2007:224-237. 被引量:1
  • 3Kim Hyojun, Lee Ki Yong. A new transactional flash trans- lation layer for embedded database systems based on MLC NAND flash memory//Proeeedings of the International Con- ference on Consumer Electronics. Las Vegas, NV, 2008:1-2. 被引量:1
  • 4On Sai Tung, Xu Jianliang, Choi Byron, et al. Flag commit: Supporting efficient transaction recovery in flash-based DBMSs. IEEE Transactions on Knowledge and Data Engineering, 2012, 24(9): 1624-1639. 被引量:1
  • 5Nath Suman, Kansal Aman. FlashDB: Dynamic self-tuning database for NAND flash//Proceedings of the IPSN. Cambridge, Massachusetts, USA, 2007: 410-419. 被引量:1
  • 6O'NeiI Elizabeth J, O'Neil Patrick E, Gerhard Weikum. The LRU-K page replacement algorithm for database disk buffering//Proceedings of the SIGMOD. Washington, USA, 1993:297-306. 被引量:1
  • 7Gupta P, Bhattacharjee G P. An efficient algorithm for random sampling without replacement//Proceedings of the FSTTCS. Bangalore, India, 1984:435-465. 被引量:1
  • 8Altman E R, Agarwal V K, Gao G R. A novel methodology using genetic algorithms for the design of caches and cache replacement policy//Proceedings of the ICGA. Urbana Champaign, IL, USA, 1993:392-399. 被引量:1
  • 9Li Zhi, Jin Peiquan, Su Xuan, et al. CCF-LRU: A new buffer replacement algorithm for flash memory. IEEE Transactions on Consumer Electronics, 2009, 55(3): 1351-1359. 被引量:1
  • 10Jin Peiquan, Ou Yi, Harder Theo, Li Zhi. AD-LRU: An efficient buffer replacement algorithm for flash-based data- bases. Data ga Knowledge Engineering, 2012, 72 : 73-102. 被引量:1

引证文献8

二级引证文献15

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部