田泉, 艾丽蓉, 陈杰. Linux实时内存的研究与实现[J]. 微电子学与计算机, 2014, 31(8): 45-48.
引用本文: 田泉, 艾丽蓉, 陈杰. Linux实时内存的研究与实现[J]. 微电子学与计算机, 2014, 31(8): 45-48.
TIAN Quan, AI Li-rong, CHEN Jie. Research and Implementation of Real-Time Memory in Linux Operating System[J]. Microelectronics & Computer, 2014, 31(8): 45-48.
Citation: TIAN Quan, AI Li-rong, CHEN Jie. Research and Implementation of Real-Time Memory in Linux Operating System[J]. Microelectronics & Computer, 2014, 31(8): 45-48.

Linux实时内存的研究与实现

Research and Implementation of Real-Time Memory in Linux Operating System

  • 摘要: Linux系统采用了虚拟存储技术,当请求的页面不在内存中时触发缺页中断,由此带来的延迟不确定,故不能满足实时应用程序的要求.此外,对于用户态和内核态存在大量数据传输的情况下,通用Linux系统也不能满足实时应用程序的需求.针对以上问题,讨论了Linux的内存管理,并采用内存映射技术来解决虚拟内存的换页问题以及实现用户态和内核态共享一块物理内存来满足实时应用程序的需求.在文章的最后,测试和比较了采用内存映射技术实现实时内存的性能.测试结果表明,采用该技术可以有效地为实时应用程序提供实时内存.

     

    Abstract: Using virtual storage technology in Linux Operating System,apage fault is triggered when the requested page is not in memory,which results in uncertain delay that cannot meet the requirements of real-time application.In addition,with the case of large amounts of data transmission between user mode and kernel mode,the generic Linux system cannot meet the demand of real-time applications.To solve these problems,this paper studies the Linux memory management firstly,and then using memory-mapped technology to solve the page fault problem in virtual memory management and to share a physical memory for user mode and kernel mode,which aim at meeting the requirements of real-time application.In the last part,this study will test and compare the performance of the memory mapping techniques to achieve real-time memory.The test results show that the technology can provide real-time memory for real-time applications effectively.

     

/

返回文章
返回