首页 | 本学科首页   官方微博 | 高级检索  
     

利用页面重构与数据温度识别的闪存缓存算法
引用本文:曾祥伟,邓玉辉.利用页面重构与数据温度识别的闪存缓存算法[J].计算机科学与探索,2021,15(1):84-95.
作者姓名:曾祥伟  邓玉辉
作者单位:暨南大学 信息科学技术学院,广州 510632;暨南大学 信息科学技术学院,广州 510632;中国科学院 计算技术研究所 计算机体系结构国家重点实验室,北京 100190
基金项目:中国科学院计算机系统结构国家重点实验室开放基金;国家自然科学基金
摘    要:基于闪存的固态盘(SSD)具有比磁盘更加优越的性能,并且在桌面系统中逐渐替代磁盘.但是,尽管在SSD中嵌入了DRAM作为缓存,闪存在不断写入的过程中也可能产生不稳定的写性能,主要是因为逻辑页写入时会频繁引发非覆盖写和垃圾回收操作.针对此问题,提出了一种叫作PRLRU的新型闪存缓存管理方法,通过页面重构机制以及数据温度识...

关 键 词:闪存  非覆盖写  垃圾回收  页面重构  数据温度识别

Constructing Cache Algorithm for Flash by Leveraging Page Reconstruction and Data Temperature Recognition
ZENG Xiangwei,DENG Yuhui.Constructing Cache Algorithm for Flash by Leveraging Page Reconstruction and Data Temperature Recognition[J].Journal of Frontier of Computer Science and Technology,2021,15(1):84-95.
Authors:ZENG Xiangwei  DENG Yuhui
Affiliation:(School of Information Science and Technology,Jinan University,Guangzhou 510632,China;State Key Laboratory of Computer Architecture,Institute of Computing Technology,Chinese Academy of Sciences,Beijing 100190,China)
Abstract:NAND flash based solid state disks(SSD)have better performance than magnetic disks and are gradually replacing hard disks in desktop systems.However,although DRAM is embedded in SSD as a buffer,SSD may also produce unstable write performance with continuous writing,because non-overwrite write and garbage collection(GC)operations are frequently triggered when physical pages are written.Aiming at this problem,a new flash buffer management strategy called PRLRU(least recently used algorithm by page reconstruction)is proposed,which manages the buffer through the page reconstruction mechanism and the data temperature recognition mechanism.The page reconfiguration mechanism combines pages with valid data that are less than one page size with other pages and then writes back to the flash memory to reduce the actual write operation by minimizing the number of non-overwrite write operations.The data temperature recognition mechanism performs temperature level marking on the cached pages,and then writes back the pages in a predetermined priority order.Test it with real workloads,the experimental results show that PRLRU can effectively improve SSD performance and prolong SSD lifetime.Compared with LRU,BPLRU and 2QW-Clock,the write performance of PRLRU is increased by 34.5%,22.8%and 28.8%,respectively on average,the read performance increased by 12.5%,10.6%and 8.3%,respectively on average,and the amount of garbage collection decreased by 10.5%,8.7%and 6.3%,respectively on average.
Keywords:flash  non-overwrite write operation  garbage collection operation  page reconstruction  data temperature identification
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号