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

计算机工程 ›› 2013, Vol. 39 ›› Issue (7): 102-105,122. doi: 10.3969/j.issn.1000-3428.2013.07.023

• 体系结构与软件技术 • 上一篇    下一篇

Windows平台下的内存管理实时化研究

李 轩1,江 南2,杜承烈1   

  1. (1. 西北工业大学计算机学院,西安 710129;2. 中国船舶重工集团公司750试验场,昆明 650051)
  • 收稿日期:2012-08-07 出版日期:2013-07-15 发布日期:2013-07-12
  • 作者简介:李 轩(1986-),男,硕士,主研方向:操作系统内核实时化;江 南,研究员;杜承烈,教授、博士生导师
  • 基金资助:
    国家基础科研基金资助项目(2011AC100001C100001)

Research on Real-time Memory Management Under Windows Platform

LI Xuan   1, JIANG Nan    2, DU Cheng-lie     1   

  1. (1. School of Computer, Northwestern Polytechnical University, Xi’an 710129, China; 2. 750 Test Center, China Shipbuilding Industry Corporation, Kunming 650051, China)
  • Received:2012-08-07 Online:2013-07-15 Published:2013-07-12

摘要: 分析Windows平台下内存管理方面的非实时性因素,提出一种提高Windows实时性的方案。建立虚拟地址和物理地址之间的映射来避免用户和内核之间的地址模式切换。将页面锁定在物理内存中,避免内存的缺页换页操作。改进系统原有的内存分配算法,消除系统对内存操作的不确定性。实验结果表明,该方案能较好地提高Windows内存管理操作的效率,内存操作时间稳定,可实现Windows平台下内存管理操作的实时化。

关键词: Windows平台, 内存管理, 内核, 实时化, 内存映射, 页面锁定

Abstract: This paper analyzes the factors that affect the real-time property of memory management under Windows platform, and presents a solution to improve the real-time. It works in three aspects: establishing a mapping relationship between virtual address and physical address to avoid the switch between the user mode and kernel mode; locking pages in the physical memory to avoid page missing and page exchanging operation; improving the original algorithm of memory allocation to remove the nondeterministic operations. Experimental results show that this solution is a good way to improve the efficiency of memory management under Windows and maks the use of time in the memory operation steady, improvs the real-time of memory management under Windows platform.

Key words: Windows platform, memory management, kernel, real-time, memory mapping, page locking

中图分类号: