Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2018, Vol. 44 ›› Issue (7): 54-59. doi: 10.19678/j.issn.1000-3428.0047551

Previous Articles     Next Articles

A Page-level Buffer Management Algorithm Oriented Flash Solid State Disk

DU Chenjie 1,2,YAO Yingbiao 2   

  1. 1.Department of Science and Technology,Zhejiang Wanli University,Ningbo,Zhejiang 315100,China; 2.Provincial Key Laboratory of Solid State Disk and Data Security Technology of Zhejiang, Hangzhou Dianzi University,Hangzhou 310018,China
  • Received:2017-06-12 Online:2018-07-15 Published:2018-07-15

一种面向闪存固态盘的页级缓冲区管理算法

杜晨杰 1,2,姚英彪 2   

  1. 1.浙江万里学院 科技部,浙江 宁波 315100; 2.杭州电子科技大学 浙江省固态硬盘和数据安全技术重点实验室,杭州 310018
  • 作者简介:杜晨杰(1990—),男,硕士研究生,主研方向为嵌入式系统、计算机体系结构;姚英彪,教授、博士。
  • 基金资助:

    国家自然科学基金(61100044);浙江省重点科技创新团队项目“固态存储和数据安全关键技术创新团队”(2013TD03);浙江省科技计划项目(2017C37056)。

Abstract:

In order to improve the life and overall performance of Solid State Disk(SSD),a novel page-level buffer management algorithm——CPBMS based on classification strategy is proposed.CPBMS divides Random Access Memory(RAM) into Hot Cached Data Page(H-CDP),Cold Cached Data Page(C-CDP) and Sequential Cached Data Page(S-CDP),which is responsible for buffering hot data page,cold data page and data page of requests with high spatial locality,respectively.In order to benefit from the high spatial locality of sequential requests,CPBMS prefetches multiple sequential data page into S-CDP,thus it can improve the response performance of sequential requests.When buffer is full,CPBMS preferred removes clean page of C-CDP.If C-CDP has no clean page,then replaces the dirty page,significantly reduce SSD read and write cost.Experimental results show that compared with page-level LRU and CFLRU algorithms,CPBMS algorithm significantly improves the buffer hit rate,effectively reduces the response time and flash block erasure times.

Key words: Solid State Disk(SSD), classification strategy, buffer management, Hot Cached Data Page(H-CDP), high spatial locality

摘要:

为提升固态硬盘的寿命和整体性能,提出一种基于分类策略的新型页级缓冲区管理算法。将数据页缓存分为热数据页存储区、冷数据页存储区和连续数据页存储区,分别缓存访问频繁的数据页、访问频率较低的数据页和连续请求的数据页。通过预取多个数据页到连续数据 页存储区,利用连续负载的高空间本地性提升对连续负载的响应性能。在缓冲区满时优先剔除冷数据页存储区中最近最少访问的干净数据页,若无干净数据页,再置换脏数据页,降低闪存的读写开销。实验结果表明,与页级LRU和CFLRU算法相比,该算法能明显提升缓冲区命中 率,有效减少响应时间和闪存块擦除次数。

关键词: 固态硬盘, 分类策略, 缓冲区管理, 热数据页缓存, 高空间本地性

CLC Number: