基于数据访问计数的NAND闪存缓存管理算法  被引量:1

Cache management algorithm for NAND flash memory based on data access counting

在线阅读下载全文

作  者:李中单 严华 LI Zhong-dan;YAN Hua(College of Electronics and Information Engineering,Sichuan University,Chengdu 610065,China;Science&Technology on Electronic Information Control Laboratory,Chengdu 610036,China)

机构地区:[1]四川大学电子信息学院,四川成都610065 [2]电子信息控制重点实验室,四川成都610036

出  处:《微电子学与计算机》2020年第5期64-68,74,共6页Microelectronics & Computer

基  金:国家自然科学基金(61172181)。

摘  要:针对现有的NAND闪存缓存管理算法对缓冲区替换页选择和替换代价考虑不足,以及算法时间开销大的问题,提出基于数据访问计数的NAND闪存缓存管理算法.该算法首先考虑NAND闪存读写代价的不同以及数据访问频度的差异,对数据页进行冷干净、冷脏、热干净、热脏划分并分别采用LRU队列进行管理.然后,根据提出的数据访问计数策略计算数据页的访问计数值.最后,结合队列长度和数据页访问计数值给出了新的数据页替换策略.基于QEMU和Linux的仿真实验结果表明,与LRU、CF-LRU、LRU-WSR、CCF-LRU、LLRU等现有算法相比,所提算法能够有效降低写闪存次数,减少程序运行时间.In view of the problem that the existing NAND flash cache management algorithmconsidering insufficiently about the buffer replacement page selection and replacement cost and the algorithm time overhead is large,a NAND flash memory cache management algorithm based on data access counting is proposed.Considering the difference of read and write cost of NAND flash memory and the difference of data access frequency, the proposed algorithm divides data pages into cold clean, cold dirty, hot clean and hot dirty, and manages them by LRU queues.Then, according to the proposed data access count strategy, the access count value of the data page is calculated. Finally, based on queue length and data page access count, a new data page replacement strategy is proposed. The simulation results based on QEMU and Linux show that compared with LRU algorithm, CF-LRU algorithm, LRU-WSR algorithm, CCF-LRU algorithm and LLRU algorithm, the proposed algorithm can effectively reduce the number of writes and reduce the running time of the program.

关 键 词:NAND闪存 缓存管理 替换页选择 替换代价 访问计数 

分 类 号:TP316[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象