• DocumentCode
    3313264
  • Title

    Shared-Page Management for Improving the Temporal Isolation of Memory Reservations in Resource Kernels

  • Author

    Kim, Hyoseung ; Rajkumar, Ragunathan

  • Author_Institution
    Dept. of Electr. & Comput. Eng., Carnegie Mellon Univ., Pittsburgh, PA, USA
  • fYear
    2012
  • fDate
    19-22 Aug. 2012
  • Firstpage
    310
  • Lastpage
    319
  • Abstract
    Memory reservation provides real-time applications 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 application may experience unexpected timing delays from other applications through shared pages that are shared by another process, even though the application has enough free pages in its reservation. In this paper, we describe problems with shared pages in real-time applications, and propose a shared-page management mechanism to enhance the temporal isolation of memory reservations in resource kernels that use resource reservation. The proposed mechanism consists of two techniques, 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 mechanism 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 be applied to other operating systems with paged virtual memory.
  • Keywords
    Linux; cache storage; virtual storage; Linux-RK platform; SPC; SPEL; copy-on-write technique; file caches; guaranteed memory access; inter-process communication; operating systems; paged virtual memory; private pages; resource kernels; shared libraries; shared pages; shared-page conservation; shared-page eviction lock; shared-page management; temporal memory reservation isolation; timing delays; Delay; Kernel; Linux; Memory management; Real time systems; Memory Reservation; Real-Time Memory Management; Shared Page; Temporal Isolation;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Embedded and Real-Time Computing Systems and Applications (RTCSA), 2012 IEEE 18th International Conference on
  • Conference_Location
    Seoul
  • ISSN
    1533-2306
  • Print_ISBN
    978-1-4673-3017-6
  • Electronic_ISBN
    1533-2306
  • Type

    conf

  • DOI
    10.1109/RTCSA.2012.50
  • Filename
    6300163