Title :
Coordinated Task Scheduling, Allocation and Synchronization on Multiprocessors
Author :
Lakshmanan, Karthik ; de Niz, Dionisio ; Rajkumar, Ragunathan
Author_Institution :
Electr. & Comput. Eng., Carnegie Mellon Univ., Pittsburgh, PA, USA
Abstract :
Chip-multiprocessors represent a dominant new shift in the field of processor design. Better utilization of such technology in the real-time context requires coordinated approaches to task allocation, scheduling, and synchronization. In this paper, we characterize various scheduling penalties arising from multiprocessor task synchronization, including (i) blocking delays on global critical sections, (ii) back-to-back execution due to jitter from blocking, and (iii) multiple priority inversions due to remote resource sharing. We analyze the impact of these scheduling penalties under different execution control policies (ECPs) which compensate for the scheduling penalties incurred by tasks due to remote blocking. Subsequently, we develop a synchronization-aware task allocation algorithm for explicitly accommodating these global task synchronization penalties. The key idea of our algorithm is to bundle tasks that access a common shared resource and co-locate them, thereby transforming global resource sharing into local sharing. This approach reduces the above-mentioned penalties associated with remote task synchronization. Experimental results indicate that such a coordinated approach to scheduling, allocation, and synchronization yields significant benefits (as much as 50% savings in terms of required number of processing cores). An implementation of this approach is available as a part of our RT-MAP library, which uses the pthreads implementation of Linux-2.6.22.
Keywords :
microprocessor chips; multiprocessing systems; scheduling; synchronisation; chip-multiprocessors; coordinated task scheduling; execution control policy; multiprocessor task synchronization; synchronization-aware task allocation; Delay; Design engineering; Dynamic scheduling; Jitter; Job shop scheduling; Processor scheduling; Real time systems; Resource management; Scheduling algorithm; Synchronization; Multi-core Processors; Real-Time; Scheduling; Synchronization; Task Allocation;
Conference_Titel :
Real-Time Systems Symposium, 2009, RTSS 2009. 30th IEEE
Conference_Location :
Washington, DC
Print_ISBN :
978-0-7695-3875-4
DOI :
10.1109/RTSS.2009.51