Title :
Evaluating the performance and energy efficiency of n-body codes on multi-core CPUs and GPUs
Author :
Zecena, Ivan ; Burtscher, Martin ; Tongdan Jin ; Ziliang Zong
Author_Institution :
Dept. of Comput. Sci., Texas State Univ., San Marcos, TX, USA
Abstract :
N-body simulations are computation-intensive applications that calculate the motion of a large number of bodies under pair-wise forces. Although different versions of n-body codes have been widely used in many scientific fields, the performance and energy efficiency of various n-body codes have not been comprehensively studied, especially when they are running on newly released multi-core CPUs and GPUs (e.g., Tesla K20). In this paper, we evaluate the performance and energy efficiency of five parallel n-body implementations on two different multi-core CPU systems and on two different types of GPUs. Our experimental results show that up to 71% of the energy can be saved by using all cores of a Xeon E5620 CPU instead of only one. We find hyper-threading to be able to further reduce the energy usage and runtime, but not by as much as adding more cores does. Finally, our experiments illustrate that GPU-based acceleration using a Tesla K20c can boost the performance and energy efficiency by orders of magnitude.
Keywords :
N-body simulations (astronomical); graphics processing units; multi-threading; multiprocessing systems; power aware computing; software performance evaluation; GPU-based acceleration; Tesla K20c; Xeon E5620 CPU; computation-intensive applications; energy efficiency; energy usage reduction; hyper-threading; multicore CPUs; multicore GPUs; n-body codes; n-body simulations; parallel n-body implementations; performance evaluation; scientific fields; Energy consumption; Energy efficiency; Force; Graphics processing units; Instruction sets; Niobium; Runtime; GPUs; energy efficiency; hyper-threading; multi-core CPUs; n-body simulation; performance;
Conference_Titel :
Performance Computing and Communications Conference (IPCCC), 2013 IEEE 32nd International
Conference_Location :
San Diego, CA
Print_ISBN :
978-1-4799-3213-9
DOI :
10.1109/PCCC.2013.6742789