Title :
Application of secretary algorithm to dynamic load balancing in user-space on multicore systems
Author :
Teng-Sheng Moh ; Kyoung-Hwan Yun
Author_Institution :
Dept. of Comput. Sci., San Jose State Univ., San Jose, CA, USA
Abstract :
In recent years, multicore processors have become prevalent in many types of systems and are used for a wide range of applications. Although multicore processors present a popular hardware solution to problems that were not possible with traditional single-core processors, they come with their own set of challenges. As Amdahl´s law puts it, the performance gain is limited by the percentage of the software that cannot be run in parallel on multiple cores. Even when an application is “embarrassingly” parallelized by a carefully designed algorithm and implemented, load balancing of tasks across different cores is a critical aspect in utilizing a multicore system as close to its fullest potential as possible. In this paper, we investigated how a solution to a cardinal payoff variant of the secretary problem can be applied to a proactive, decentralized, dynamic load balancing technique in user-space to assist single program, multiple data (SPMD) applications in a multiprogrammed environment so that all tasks can make roughly equal progress distributed over all cores. We examined how this method compares with the default Linux load balancer in terms of scalability and predictability. Our experiments of running NAS Parallel Benchmarks (NPB) in OpenMP had promising results that showed our technique outperformed the default Linux scheduler by an average of 40% speedup in a multiprogrammed environment with less time variance between multiple executions.
Keywords :
Linux; multiprocessing systems; resource allocation; scheduling; Linux load balancer; Linux scheduler; NAS parallel benchmarks; NPB; OpenMP; SPMD applications; cardinal payoff variant; dynamic load balancing; multicore processors; multicore systems; multiprogrammed environment; secretary algorithm; single core processors; user space; Algorithm design and analysis; Heuristic algorithms; Load management; Multicore processing; Program processors; Runtime; Scalability; Cardinal Payoff; Load Balancing; Multicore; Optimal Stopping; Parallel Programming; Secretary Problem;
Conference_Titel :
High Performance Computing & Simulation (HPCS), 2014 International Conference on
Conference_Location :
Bologna
Print_ISBN :
978-1-4799-5312-7
DOI :
10.1109/HPCSim.2014.6903793