作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (17): 24-27. doi: 10.3969/j.issn.1000-3428.2012.17.007

• 软件技术与数据库 • 上一篇    下一篇

LRU页面置换算法的改进与实现

赵俊化1,胡金霞2   

  1. (1. 中山大学信息科学与技术学院,广州 510006;2. 广州科技贸易职业学院计算机系,广州 511442)
  • 收稿日期:2011-10-26 修回日期:2012-01-12 出版日期:2012-09-05 发布日期:2012-09-03
  • 作者简介:赵俊化(1980-),男,硕士研究生,主研方向:嵌入式系统,智能计算;胡金霞,讲师、硕士

Improvement and Implementation of LRU Page Replacement Algorithm

ZHAO Jun-hua 1, HU Jin-xia 2   

  1. (1. School of Information Science and Technology, Sun Yat-sen University, Guangzhou 510006, China; 2. Department of Computer, Guangzhou Vocation College of Technology and Business, Guangzhou 511442, China)
  • Received:2011-10-26 Revised:2012-01-12 Online:2012-09-05 Published:2012-09-03

摘要: 为简化嵌入式虚拟内存的实现,改善嵌入式虚拟内存的性能,在对常见页面置换算法进行对比分析的基础上,提出一种改进的最久未使用页面置换算法。该算法基于内存管理单元、跨页访问计数器、访问次序寄存器、溢出中断处理等软硬件相结合的技术。实验结果表明,该算法能提高嵌入式系统的页面置换效率,提升系统的整体性能,可广泛应用于各种物联网系统和嵌入式系统。

关键词: 物联网, 页面置换算法, 最久未使用, 改进型 Clock算法, 溢出中断, 跨页访问, 内存管理单元

Abstract: To simplify the implementation of embedded virtual memory and improve the performance of embedded virtual memory, this paper proposes an improved Least Recently Used(LRU) page replacement algorithm. It is based on Memory Manage Unit(MMU), across page access count, access sequence register, overflow interruption techniques of software and hardware. Experimental result shows that it has higher page replacement efficiency and overall system performance, and can be widely used into the Internet of Things(IoT) system and embedded system.

Key words: Internet of Things(IoT), page replacement algorithm, Least Recently Used(LRU), improved Clock algorithm, overflow interruption, cross page access, Memory Manage Unit(MMU)

中图分类号: