Memory reservation and shared page management for real-time systems

被引:6
|
作者
Kim, Hyoseung [1 ]
Rajkumar, Ragunathan [1 ]
机构
[1] Carnegie Mellon Univ, Dept Elect & Comp Engn, Pittsburgh, PA 15213 USA
关键词
Real-time memory management; Shared page; Memory reservation; Temporal isolation; Resource kernels;
D O I
10.1016/j.sysarc.2013.07.002
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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. (C) 2013 Elsevier B.V. All rights reserved.
引用
收藏
页码:165 / 178
页数:14
相关论文
共 50 条
  • [1] Reliable memory management for real-time systems
    Sohal, V
    [J]. ELECTRONIC DESIGN, 1996, 44 (13) : 118 - &
  • [2] Memory resource management for real-time systems
    Marchand, Audrey
    Balbastre, Patricia
    Ripoll, Ismael
    Masmano, Miguel
    Crespo, Alfons
    [J]. 19TH EUROMICRO CONFERENCE ON REAL-TIME SYSTEMS, PROCEEDINGS, 2007, : 201 - +
  • [3] Real-Time Performance Analysis of Multiprocessor Systems with Shared Memory
    Schliecker, Simon
    Ernst, Rolf
    [J]. ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2010, 10 (02)
  • [4] Dynamic Real-Time Stream Reservation with TAS and Shared Time Windows
    Grigorjew, Alexej
    Gray, Nicholas
    Hossfeld, Tobias
    [J]. 2021 IFIP NETWORKING CONFERENCE AND WORKSHOPS (IFIP NETWORKING), 2021,
  • [5] Resource Reservation in Dynamic Real-Time Systems
    Luca Abeni
    Giorgio Buttazzo
    [J]. Real-Time Systems, 2004, 27 : 123 - 167
  • [6] Resource reservation in dynamic real-time systems
    Abeni, L
    Buttazzo, G
    [J]. REAL-TIME SYSTEMS, 2004, 27 (02) : 123 - 167
  • [7] Dynamic memory management for embedded real-time systems
    Crespo, A.
    Ripoll, I.
    Masmano, M.
    [J]. FROM MODEL-DRIVEN DESIGN TO RESOURCE MANAGEMENT FOR DISTRIBUTED EMBEDDED SYSTEMS, 2006, 225 : 195 - +
  • [8] SHARED RANDOM-ACCESS MEMORY RESOURCE FOR MULTIPROCESSOR REAL-TIME SYSTEMS
    DIMMLER, DG
    HARDY, WH
    [J]. IEEE TRANSACTIONS ON NUCLEAR SCIENCE, 1977, 24 (01) : 469 - 475
  • [9] The Interval Page Table: Virtual Memory Support in Real-Time and Memory-Constrained Embedded Systems
    Zhou, Xiangrong
    Petrov, Peter
    [J]. SBCCI2007: 20TH SYMPOSIUM ON INTEGRATED CIRCUITS AND SYSTEMS DESIGN, 2007, : 294 - 299
  • [10] PROBLEMS OF PROGRAMMING FOR SHARED REAL-TIME SYSTEMS
    TUOMENOKSA, LS
    ULRICH, W
    [J]. IEEE TRANSACTIONS ON COMMUNICATION TECHNOLOGY, 1967, CO15 (01): : 5 - +