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

一种闪存敏感的多级缓存管理方法
引用本文:王江涛,赖文豫,孟小峰.一种闪存敏感的多级缓存管理方法[J].软件学报,2014,25(11):2575-2586.
作者姓名:王江涛  赖文豫  孟小峰
作者单位:1. 中国人民大学信息学院,北京 100872; 淮阴师范学院计算机科学与技术学院,江苏淮安 223300
2. 中国人民大学信息学院,北京,100872
基金项目:国家自然科学基金(61379050, 91224008);国家高技术研究发展计划(863)(2013AA013204);教育部高等学校博士学科点专项科研基金(20130004130001)
摘    要:基于闪存的固态硬盘(solid state driver,简称SSD)已经广泛应用于各种移动设备、PC机和服务器.与磁盘相比,尽管SSD具有数据存取速度高、抗震、低功耗等优良特性,但SSD自身也存在读写不对称、价格昂贵等不利因素,这使得SSD 短期内不会完全取代磁盘.将SSD和磁盘组合构建混合系统,可以发挥不同的硬件特性,提升系统性能.基于 MLC 型 SSD 和 SLC 型 SSD 之间的特性差异,提出了一种闪存敏感的多级缓存管理策略——FAMC.FAMC将SSD用在内存和磁盘之间作扩展缓存,针对数据库系统、文件管理中数据访问的特点,有选择地将内存牺牲页缓存到不同类型的SSD.FAMC同时考虑写请求模式和负载类型对系统性能的影响,设计实现对SSD友好的数据管理策略.此外,FAMC基于不同的数据置换代价提出了适用于SSD的缓冲区管理算法.基于多级缓存存储系统对FAMC的性能进行了评测,实验结果表明,FAMC可以大幅度降低系统响应时间,减少磁盘I/O.

关 键 词:固态硬盘  数据库  多级缓存  置换代价  缓冲区
收稿时间:2013/9/10 0:00:00
修稿时间:2014/1/27 0:00:00

Flash-Aware Multi-Level Cache Management Strategy
WANG Jiang-Tao,LAI Wen-Yu and MENG Xiao-Feng.Flash-Aware Multi-Level Cache Management Strategy[J].Journal of Software,2014,25(11):2575-2586.
Authors:WANG Jiang-Tao  LAI Wen-Yu and MENG Xiao-Feng
Affiliation:School of Information, Renmin University of China, Beijing 100872, China;School of Computer Science and Technology, Huaiyin Normal University, Huaian 223300, China;School of Information, Renmin University of China, Beijing 100872, China;School of Information, Renmin University of China, Beijing 100872, China
Abstract:Solid state driver (SSD) based on flash memory has been widely used in various types of applications such as mobile devices, PC machines, and servers. Compared with conventional disk, SSD enjoys faster access speed, better shock resistance, and lower power. However, it will not completely replace the disk as the secondary storage in the short run due to its inherent properties such as asymmetric read/write and high price of per gigabyte. Integrating SSD and magnetic disk together can benefit from different performance advantage to obtain good high performance and low cost. This paper proposes a flash-aware multi-level cache scheme (FAMC) which considers the significant discrepancy between MLC type and SLC type SSDs. FAMC uses two types of SSD as a cache layer between main memory and magnetic disk. Depending on the characteristics of data access in database application and file management, FAMC conditionally caches the page evicted by buffer manager to different types of SSD. FAMC considers the impact of the write pattern and type of workloads on the system performance, which adopts flash-aware algorithms and data structures to manage the data stored in SSD. Furthermore, in view of the asymmetry of the replacement cost, the study proposes a flash-friendly buffer replacement policy. The strategy is implemented on a simulation storage system based on SLC type SSDs and MLC type SSDs, and its performance is evaluated. The experimental results show that FAMC can significantly reduce system response time and disk I/O cost.
Keywords:solid state driver  database  multi-level cache  replacement cost  buffer
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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