Title :
Scheduling garbage collection in real-time systems
Author :
Kero, Martin ; Aittamaa, Simon
Author_Institution :
Dept. of Comput. Sci., Lulea Univ. of Technol., Luleå, Sweden
Abstract :
The key to successful deployment of garbage collection in real-time systems is to enable provably safe schedulability tests of the real-time tasks. At the same time one must be able to determine the total heap usage of the system. Schedulability tests typically require a uniformed model of timing assumptions (inter-arrival times, deadlines, etc.). Incorporating the cost of garbage collection in such tests typically requires both artificial timing assumptions of the garbage collector and restricted capabilities of the task scheduler. In this paper, we pursue a different approach. We show how the reactive object model of the programming language Timber enables us to decouple the cost of a concurrently running copying garbage collector from the schedulability of the real-time tasks. I.e., we enable any regular schedulability analysis without the need of incorporating the cost of an interfering garbage collector. We present the garbage collection demand analysis, which determines if the garbage collector can be feasibly scheduled in the system.
Keywords :
programming languages; real-time systems; reproduction (copying); scheduling; storage management; task analysis; artificial timing assumption; concurrently running copying garbage collector cost; garbage collection demand analysis; garbage collection scheduling; heap usage; programming language; real-time system; real-time task schedulability; regular schedulability analysis; safe schedulability test; task scheduler; Algorithm design and analysis; Data structures; Kernel; Message systems; Real time systems; Synchronization; Schedulability analysis; reactive systems;
Conference_Titel :
Hardware/Software Codesign and System Synthesis (CODES+ISSS), 2010 IEEE/ACM/IFIP International Conference on
Conference_Location :
Scottsdale, AZ
Print_ISBN :
978-1-6055-8905-3