TY - GEN
T1 - Randomized Work Stealing for Large Scale Soft Real-Time Systems
AU - Li, Jing
AU - Dinh, Son
AU - Kieselbach, Kevin
AU - Agrawal, Kunal
AU - Gill, Christopher
AU - Lu, Chenyang
PY - 2016/7/2
Y1 - 2016/7/2
N2 - Recent years have witnessed the convergence of two important trends in real-time systems: growing computational demand of applications and the adoption of processors with more cores. As real-time applications now need to exploit parallelism to meet their real-time requirements, they face a new challenge of scaling up computations on a large number of cores. Randomized work stealing has been adopted as a highly scalable scheduling approach for general-purpose computing. In work stealing, each core steals work from a randomly chosen core in a decentralized manner. Compared to centralized greedy schedulers, work stealing may seem unsuitable for real-time computing due to the non-predictable nature of random stealing. Surprisingly, our experiments with benchmark programs found that random work stealing (in Cilk Plus) delivers tighter distributions in task execution times than a centralized greedy scheduler (in GNU OpenMP).To support scalable soft real-time computing, we develop Real-Time Work-Stealing platform (RTWS), a real-time extension to the widely used Cilk Plus concurrency platform. RTWS employs federated scheduling to allocate cores to multiple parallel real-time tasks offline, while leveraging the work stealing scheduler to schedule each task on its dedicated cores online. RTWS supports parallel programs written in Cilk Plus and requires only task parameters that can be readily measured using existing Cilk Plus tools. Experimental results show that RTWS outperforms Real-Time OpenMP in term of deadline miss ratio, relative response time and resource efficiency on a 32-core system.
AB - Recent years have witnessed the convergence of two important trends in real-time systems: growing computational demand of applications and the adoption of processors with more cores. As real-time applications now need to exploit parallelism to meet their real-time requirements, they face a new challenge of scaling up computations on a large number of cores. Randomized work stealing has been adopted as a highly scalable scheduling approach for general-purpose computing. In work stealing, each core steals work from a randomly chosen core in a decentralized manner. Compared to centralized greedy schedulers, work stealing may seem unsuitable for real-time computing due to the non-predictable nature of random stealing. Surprisingly, our experiments with benchmark programs found that random work stealing (in Cilk Plus) delivers tighter distributions in task execution times than a centralized greedy scheduler (in GNU OpenMP).To support scalable soft real-time computing, we develop Real-Time Work-Stealing platform (RTWS), a real-time extension to the widely used Cilk Plus concurrency platform. RTWS employs federated scheduling to allocate cores to multiple parallel real-time tasks offline, while leveraging the work stealing scheduler to schedule each task on its dedicated cores online. RTWS supports parallel programs written in Cilk Plus and requires only task parameters that can be readily measured using existing Cilk Plus tools. Experimental results show that RTWS outperforms Real-Time OpenMP in term of deadline miss ratio, relative response time and resource efficiency on a 32-core system.
UR - http://www.scopus.com/inward/record.url?scp=85011708047&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85011708047&partnerID=8YFLogxK
U2 - 10.1109/RTSS.2016.028
DO - 10.1109/RTSS.2016.028
M3 - Conference contribution
T3 - Proceedings - Real-Time Systems Symposium
SP - 203
EP - 214
BT - Proceedings - 2016 IEEE Real-Time Systems Symposium, RTSS 2016
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 2016 IEEE Real-Time Systems Symposium, RTSS 2016
Y2 - 29 November 2016 through 2 December 2016
ER -