引用本文: | 吴纯青,李钢.实时应用中的内存锁定技术研究.[J].国防科技大学学报,2000,22(1):20-23.[点击复制] |
WU Chunqing,LI Gang.Study on the Technology of Memory Locking in Realtime Applications[J].Journal of National University of Defense Technology,2000,22(1):20-23[点击复制] |
|
|
|
本文已被:浏览 6035次 下载 6013次 |
实时应用中的内存锁定技术研究 |
吴纯青, 李钢 |
(国防科技大学 计算机学院, 湖南 长沙 410073)
|
摘要: |
内存锁定是一种保证某进程驻留在内存而不需换页的方法。在实时环境中, 系统应保证将某进程锁定在内存中, 以减少数据访问、指令读取、进程间缓冲区切换等等引起的延迟。将一个进程的地址空间锁定在内存中, 就为应用的响应时间满足实时需要提供了保障。一般来说, 对时间要求苛刻的进程应锁定在内存中。本文主要以实时环境为背景, 阐述了内存锁定和解锁函数以及在多进程下内存锁定技术的应用。 |
关键词: 实时 换页 交换 内存锁定 共享内存 |
DOI: |
投稿日期:1999-06-07 |
基金项目: |
|
Study on the Technology of Memory Locking in Realtime Applications |
WU Chunqing, LI Gang |
(College of Computer, National Univ. of Defense Technology, Changsha 410073, China)
|
Abstract: |
Memory locking is a way to ensure that a process stays in main memory and is exempt from paging. In a realtime environment, a system must be able to guarantee that it will lock a process in memory to reduce latency for data access, instruction fetches, buffer passing between processes, and so forth. Locking a process's address space in memory helps ensure that the application's response time satisfies realtime requirements. As a general rule, time-critical processes should be locked into memory. This paper describes the items about “Memory Locking and Unlocking Functions”and“Memory Locking in multiprocesses environment”in a realtime environment. |
Keywords: realtime paging swaping memory-locking share memory |
|
|
|
|
|