电信科学 ›› 2019, Vol. 35 ›› Issue (5): 86-96.doi: 10.11959/j.issn.1000-0801.2019075

• 研究与开发 • 上一篇    下一篇

一种SSD存储系统中的先应式垃圾回收算法

屠雪真1,黄震江2,陈正光2   

  1. 1 河南大学计算机与信息工程学院,河南 开封 475001
    2 中兴通讯股份有限公司,江苏 南京 210012
  • 修回日期:2019-04-12 出版日期:2019-05-20 发布日期:2019-05-21
  • 作者简介:屠雪真(1998- ),女,河南大学在读,主要研究方向为云计算和大数据。|黄震江(1976- ),男,中兴通讯股份有限公司高级工程师,主要研究方向为云计算和大数据。|陈正光(1976- ),男,中兴通讯股份有限公司高级工程师,主要研究方向为数据库及存储。
  • 基金资助:
    科技部云计算和大数据重点专项基金资助项目(2018YFB1003300);深圳市科技计划项目(SF20170036)

Provident garbage collection algorithm for SSD storage system

Xuezhen TU1,Zhenjiang Huang2,Zhengguang CHEN2   

  1. 1 School of Computer and Information Engineering,Henan University,Kaifeng 475001,China
    2 Zhongxing Telecommunication Equipment Corporation,Nanjing 210012,China
  • Revised:2019-04-12 Online:2019-05-20 Published:2019-05-21
  • Supported by:
    Ministry of Science and Technology Cloud Computing and Big Data Key Project(2018YFB1003300);Shenzhen Science and Technology Plan Project(SF20170036)

摘要:

提出了一种基于预测的先应式垃圾回收算法,首先根据不同的热度因子对数据进行读、写热度分离,然后对未来将达到的不同类型的页面分配请求(page allocation request,PAR)数量进行上位和下位预测,在满足页面分配请求PAR下位预测的同时,最大程度地满足PAR上位预测需求,优化了WA问题,减少了不必要的有效数据迁移,从而最大化垃圾回收效用。对此问题定义了数学模型,并给出了一种获取近似最优解的算法,对模型适用场景进行了分析。实践结果表明,本算法能够获取最大收益,提升SSD读写性能并降低成本。

关键词: SSD, 垃圾回收, 数据迁移, 写入放大, 碎片整理

Abstract:

A predictive based proactive garbage collection algorithm was proposed.Firstly,the data was separated according to different heat factors,then the upper and lower predictions were performed on the number of different types of page allocation requests (PAR) that would be reached in the future.While satisfying the page allocation request lower prediction,the PAR upper prediction requirement was maximally satisfied,the WA problem was optimized,and invalid effective data migration was reduced,thereby maximizing the garbage collection utility.A mathematical model was defined for this problem,and an algorithm for obtaining the approximate optimal solution was given.The applicable scenario of the model was analyzed.The practical results show that the algorithm can obtain the maximum benefit and can significantly improve the performance of SSD and reduce the cost.

Key words: solid state drive, garbage collection, data migration, write amplification, defragmentation

中图分类号: 

No Suggested Reading articles found!