Title :
Number of Tasks, not Threads, is Key
Author :
Tousimojarad, Ashkan ; Vanderbauwhede, Wim
Author_Institution :
Sch. of Comput. Sci., Univ. of Glasgow, Glasgow, UK
Abstract :
The concept of task already exists in many parallel programming models. Programmers express parallelism by defining tasks in their applications, and runtime libraries schedule tasks on threads. However, in many task-based parallel programming models, choosing the right number of threads is still key to performance. Hence, the onus is on the programmer to decide not only about the number of tasks, but also about the optimal number of threads in order to get good performance. In this paper, we aim to show that desirable performance can be achieved by only focusing on tasks. For this purpose, we compare a purely task-centric parallel programming model called GPRM with three popular approaches (OpenMP, Intel Cilk Plus, and TBB) on two modern many core systems, the Tilera TILEPro64 and Intel Xeon Phi, which have respectively 64 and 60 physical cores integrated into a single chip. We have chosen three benchmarks with different characteristics to show that a task-centric approach such as GPRM can facilitate parallel programming while it outperforms other models in most cases. It does so by controlling only the number of tasks, rather than having to tune the number of threads.
Keywords :
multiprocessing programs; multiprocessing systems; parallel programming; GPRM; Intel Cilk Plus; Intel Xeon Phi; OpenMP; TBB; Tilera TILEPro64; many core systems; parallel programming model; runtime libraries schedule task; Benchmark testing; Instruction sets; Kernel; Libraries; Parallel processing; Programming; Runtime; Cilk Plus; GPRM; Manycore; OpenMP; Parallelism; Performance; TBB; TILEPro64; Task; Thread; Xeon Phi;
Conference_Titel :
Parallel, Distributed and Network-Based Processing (PDP), 2015 23rd Euromicro International Conference on
Conference_Location :
Turku
DOI :
10.1109/PDP.2015.81