Title :
An adaptive loop scheduling algorithm on shared-memory systems
Author :
Jin, Canming ; Yan, Yong ; Zhang, Xiaodong
Author_Institution :
CSO Project, San Antonio, TX, USA
Abstract :
Using runtime information of load distributions and processor affinity, we propose an adaptive scheduling algorithm and its variations from different control mechanisms. The proposed algorithm applies different degrees of aggressiveness to adjust loop scheduling granularities, aiming at improving the execution performance of parallel loops by making scheduling decisions that match the real workload distributions at runtime. To verify the effectiveness of the algorithm and its variations, we implemented them on the KSR-1 and on the Convex Exemplar. We experimentally compared the performance of our algorithm and its variations with several existing scheduling algorithms on the two machines. The kernel application programs we used for performance evaluation were carefully selected for different classes of parallel loops. Our results show that using runtime information to adaptively adjust scheduling granularity is an effective way to handle loops with a wide range of load distributions when no prior knowledge of the execution can be used. The overhead caused by collecting runtime information is insignificant in comparison with the performance improvement. Our experiments show that the adaptive algorithm and its five variations outperformed the existing scheduling algorithms
Keywords :
parallel programming; performance evaluation; processor scheduling; shared memory systems; synchronisation; Convex Exemplar; KSR-1; adaptive algorithm; adaptive loop scheduling algorithm; execution performance; kernel application programs; load distributions; parallel loops; processor affinity; runtime information; scheduling granularity; shared-memory systems; Adaptive scheduling; Data communication; High performance computing; Kernel; Laboratories; Processor scheduling; Runtime; Scheduling algorithm; Software algorithms; Software performance;
Conference_Titel :
Parallel and Distributed Processing, 1996., Eighth IEEE Symposium on
Conference_Location :
New Orleans, LA
Print_ISBN :
0-8186-7683-3
DOI :
10.1109/SPDP.1996.570341