...
首页> 外文期刊>Journal of systems architecture >Memory reservation and shared page management for real-time systems
【24h】

Memory reservation and shared page management for real-time systems

机译:实时系统的内存预留和共享页面管理

获取原文
获取原文并翻译 | 示例
           

摘要

Memory reservations are used to provide real-time tasks with guaranteed memory access to a specified amount of physical memory. However, previous work on memory reservation primarily focused on private pages, and did not pay attention to shared pages, which are widely used in current operating systems. With previous schemes, a real-time task may experience unexpected timing delays from other tasks through shared pages that are shared by another process, even though the task has enough free pages in its own reservation. In this paper, we first describe the problems that arise when real-time tasks share pages. We then propose a shared-page management framework which enhances the temporal isolation provided by memory reservations in resource kernels that use the resource reservation approach. Our proposed solution consists of two schemes, Shared-Page Conservation (SPC) and Shared-Page Eviction Lock (SPEL), each of which prevents timing penalties caused by the seemingly arbitrary eviction of shared pages. The framework can manage shared data for inter-process communication and shared libraries, as well as pages shared by the kernel’s copy-on-write technique and file caches. We have implemented and evaluated our schemes on the Linux/RK platform, but it can also be applied to other operating systems with paged virtual memory.
机译:内存预留用于为实时任务提供对指定数量的物理内存的有保证的内存访问。但是,以前有关内存保留的工作主要集中在私有页面上,而没有关注共享页面,共享页面在当前操作系统中被广泛使用。使用先前的方案,实时任务可能会通过其他进程共享的共享页面而与其他任务相比出现意外的计时延迟,即使该任务在其自己的预留空间中有足够的空闲页面。在本文中,我们首先描述了实时任务共享页面时出现的问题。然后,我们提出了一个共享页管理框架,该框架增强了使用资源预留方法的资源内核中的内存预留所提供的时间隔离。我们提出的解决方案由两种方案组成,共享页面保护(SPC)和共享页面逐出锁定(SPEL),每种方案都可以防止由于共享页面看似任意逐出而导致的时间损失。该框架可以管理用于进程间通信的共享数据和共享库,以及由内核的写时复制技术和文件缓存共享的页面。我们已经在Linux / RK平台上实现和评估了我们的方案,但是它也可以应用于具有分页虚拟内存的其他操作系统。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号