Title :
Optimizing MPI Alltoall Communication of Large Messages in Multicore Clusters
Author :
Li, Qiang ; Huo, Zhigang ; Sun, Ninghui
Author_Institution :
Inst. of Comput. Technol., Beijing, China
Abstract :
MPI All to all communication is widely used in many high performance computing (HPC) applications. In All to all communication, each process sends a distinct message to all other participating processes. In multicore clusters, processes within a node simultaneously contend for the same network resource of the node in All to all communication. However, many small synchronization messages are required in All to all communication of large messages. With the contention, their latency is orders of magnitude larger than that without contention. As a result, the synchronization overhead is significantly increased and accounts for a large proportion to the whole latency of All to all communication. In this paper, we analyse the considerable overhead of synchronization messages. Base on the analysis, an optimization is presented to reduce the number of synchronization messages from 3N to 2¡ÌN. Evaluations on a 240-core cluster show that the performance is improved by almost constant ratio, which is mainly determined by message size and independent of system scale. The performance of All to all communication is improved by 25% for 32K and 64K bytes messages. For FFT application, performance is improved by 20%.
Keywords :
application program interfaces; message passing; multiprocessing systems; synchronisation; MPI Alltoall communication; high performance computing; multicore clusters; network resource; performance improvement; synchronization message overhead; Bandwidth; Benchmark testing; Multicore processing; Program processors; Protocols; Receivers; Synchronization;
Conference_Titel :
Parallel and Distributed Computing, Applications and Technologies (PDCAT), 2011 12th International Conference on
Conference_Location :
Gwangju
Print_ISBN :
978-1-4577-1807-6
DOI :
10.1109/PDCAT.2011.60