DocumentCode
2440903
Title
SLAW: A scalable locality-aware adaptive work-stealing scheduler
Author
Guo, Yi ; Zhao, Jisheng ; Cave, Vincent ; Sarkar, Vivek
Author_Institution
Dept. of Comput. Sci., Rice Univ., Houston, TX, USA
fYear
2010
fDate
19-23 April 2010
Firstpage
1
Lastpage
12
Abstract
This paper introduces SLAW, a Scalable Locality-aware Adaptive Work-stealing scheduler. The SLAW scheduler is designed to address two common limitations in current work-stealing schedulers: use of a fixed task scheduling policy and locality-obliviousness due to randomized stealing. Past work has demonstrated the pros and cons of using fixed scheduling policies, such as work-first and help-first, in different cases without a clear win for one policy over the other. The SLAW scheduler addresses this limitation by supporting both work-first and help-first policies simultaneously. It does so by using an adaptive approach that selects a scheduling policy on a per-task basis at runtime. The SLAW scheduler also establishes bounds on the stack and heap space needed to store tasks. The experimental results for the benchmarks studied in this paper show that SLAW´s adaptive scheduler achieves 0.98? to 9.2? speedup over the help-first scheduler and 0.97? to 4.5? speedup over the work-first scheduler for 64-thread executions, thereby establishing the robustness of using an adaptive approach instead of a fixed policy. In contrast, the help-first policy is 9.2? slower than work-first in the worst case for a fixed help-first policy, and the work-first policy is 3.7? slower than help-first in the worst case for a fixed work-first policy. Further, for large irregular recursive parallel computations, the adaptive scheduler runs with bounded stack usage and achieves performance (and supports data sizes) that cannot be delivered by the use of any single fixed policy. It is also known that work-stealing schedulers can be cache-unfriendly for some applications due to randomized stealing. The SLAW scheduler is designed for programming models where locality hints are provided to the runtime by the programmer or compiler, and achieves locality-awareness by grouping workers into places. Locality awareness can lead to improved performance by increasing temporal data reuse within a worker and - - among workers in the same place. Our experimental results show that locality-aware scheduling can achieve up to 2.6? speedup over locality-oblivious scheduling, for the benchmarks studied in this paper.
Keywords
mobile computing; parallel programming; scheduling; SLAW scheduler; bounded stack usage; fixed task scheduling policy; help-first policies; locality-oblivious scheduling; programming models; recursive parallel computations; scalable locality-aware adaptive work-stealing scheduler; temporal data reuse; work-first policies; Adaptive scheduling; Computer science; Concurrent computing; Dynamic scheduling; Java; Parallel processing; Processor scheduling; Programming profession; Runtime library; Scheduling algorithm; Adaptive Scheduling; Locality-aware Scheduling; Task Parallelism; Work-stealing;
fLanguage
English
Publisher
ieee
Conference_Titel
Parallel & Distributed Processing (IPDPS), 2010 IEEE International Symposium on
Conference_Location
Atlanta, GA
ISSN
1530-2075
Print_ISBN
978-1-4244-6442-5
Type
conf
DOI
10.1109/IPDPS.2010.5470425
Filename
5470425
Link To Document