DocumentCode
2272578
Title
Predictable Code and Data Paging for Real Time Systems
Author
Hardy, Damien ; Puaut, Isabelle
Author_Institution
IRISA, Univ. Europeenne de Bretagne, Rennes
fYear
2008
fDate
2-4 July 2008
Firstpage
266
Lastpage
275
Abstract
There is a need for using virtual memory in real-time applications: using virtual addressing provides isolation between concurrent processes; in addition, paging allows the execution of applications whose size is larger than main memory capacity, which is useful in embedded systems where main memory is expensive and thus scarce. However, virtual memory is generally avoided when developing real-time and embedded applications due to predictability issues. In this paper we propose a predictable paging system in which the page loading and page eviction points are selected at compile-time. The contents of main memory is selected using an Integer Linear Programming (ILP) formulation. Our approach is applied to code, static data and stack regions of individual tasks. We show that the time required for selecting memory contents is reasonable for all applications including the largest ones, demonstrating the scalability of our approach. Experimental results compare our approach with a previous one, based on graph coloring. It shows that quality of page allocation is generally improved, with an average improvement of 30% over the previous approach. Another comparison with a state-of-the-art demand-paging system shows that predictability does not come at the price of performance loss.
Keywords
embedded systems; integer programming; linear programming; multiprocessing programs; paged storage; program compilers; program diagnostics; storage allocation; concurrent process; embedded systems; integer linear programming; main memory; page allocation; predictable code; program compiler; real time systems; static data; virtual addressing; virtual memory; Costs; Embedded system; Hardware; Integer linear programming; Memory management; Performance loss; Real time systems; Scalability; Software systems; Timing; ILP; WCET; predictable paging; real time; static analysis;
fLanguage
English
Publisher
ieee
Conference_Titel
Real-Time Systems, 2008. ECRTS '08. Euromicro Conference on
Conference_Location
Prague
ISSN
1068-3070
Print_ISBN
978-0-7695-3298-1
Type
conf
DOI
10.1109/ECRTS.2008.16
Filename
4573122
Link To Document