Title :
Scaling global scheduling with message passing
Author :
Cerqueira, Felipe ; Vanga, Manohar ; Brandenburg, Bjorn B.
Author_Institution :
Max Planck Inst. for Software Syst. (MPI-SWS), Saarbrücken, Germany
Abstract :
Global real-time schedulers have earned the reputation of scaling poorly due to the high runtime overheads involved in global state management. In this paper, two mature implementations, one using fine-grained locking (SCHED DEADLINE) and one using coarse-grained locking (LITMUSRT´s G-EDF plugin), are evaluated and it is shown that, regardless of locking granularity, indeed neither scales well w.r.t. worst-case overheads due to excessive lock contention. To demonstrate that this is not an inherent limitation of global scheduling, the design of G-EDF-MP is presented, a global scheduler that uses message passing to avoid lock contention and cache-line sharing. It is shown to offer up to a 23- to 36-fold reduction in worst-case scheduling overhead on a 64-core platform, which translates into much improved schedulability (in some cases, more than 120 additional tasks can be supported).
Keywords :
message passing; multiprocessing systems; scheduling; G-EDF-MP; LITMUSRT G-EDF plugin; SCHED DEADLINE; cache-line sharing; coarse-grained locking; fine-grained locking; global real-time schedulers; global scheduling scaling; lock contention avoidance; locking granularity; message passing; Digital signal processing; Linux; Message passing; Processor scheduling; Program processors; Real-time systems; Scalability;
Conference_Titel :
Real-Time and Embedded Technology and Applications Symposium (RTAS), 2014 IEEE 20th
Conference_Location :
Berlin
Print_ISBN :
978-1-4799-4691-4
DOI :
10.1109/RTAS.2014.6926008