• DocumentCode
    3035908
  • Title

    Predictable Paging in Real-Time Systems: A Compiler Approach

  • Author

    Puaut, Isabelle ; Hardy, Damien

  • Author_Institution
    Univ. Europeenne de Bretagne/IRISA, Rennes
  • fYear
    2007
  • fDate
    4-6 July 2007
  • Firstpage
    169
  • Lastpage
    178
  • Abstract
    Conventionally, the use of virtual memory in real-time systems has been avoided, the main reason being the difficulties it provides to timing analysis. However, there is a trend towards systems where different functions are implemented by concurrent processes. Such systems need spatial separation between processes, which can be easily implemented via the use of the memory management unit (MMU) of commercial processors. In addition, some systems have a limited amount of physical memory available. So far, attempts to provide real-time address spaces have focused on the predictability of virtual to physical address translation and do not implement demand-paging. In this paper we propose a compiler approach to introduce a predictable form of paging, in which page-in and page-out points are selected at compile-time. The problem under study can be formulated as a graph coloring problem, as in register allocation within compilers. Since the graph coloring problem is NP-complete for more than three colors, we define a heuristic, which in contrast to those used for register allocation, aim at minimizing worst-case performance instead of average-case performance. Experimental results applied on tasks code show that predictability does not come at the price of performance loss as compared to standard (dynamic) demand paging.
  • Keywords
    computational complexity; graph colouring; paged storage; program compilers; storage allocation; timing; NP-complete; compiler approach; concurrent processes; graph coloring problem; memory management unit; predictable paging; real-time systems; register allocation; timing analysis; virtual memory; Buffer storage; Costs; Memory management; Operating systems; Random access memory; Real time systems; Registers; Table lookup; Timing; Vehicle dynamics;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Real-Time Systems, 2007. ECRTS '07. 19th Euromicro Conference on
  • Conference_Location
    Pisa
  • ISSN
    1068-3070
  • Print_ISBN
    0-7695-2914-3
  • Type

    conf

  • DOI
    10.1109/ECRTS.2007.25
  • Filename
    4271691