Title :
Nonuniformly Communicating Noncontiguous Data: A Case Study with PETSc and MPI
Author :
Balaji, P. ; Buntinas, D. ; Balay, S. ; Smith, B. ; Thakur, R. ; Gropp, W.
Author_Institution :
Div. of Math. & Comput. Sci., Argonne Nat. Lab., IL
Abstract :
Due to the complexity associated with developing parallel applications, scientists and engineers rely on high-level software libraries such as PETSc, ScaLAPACK and PESSL to ease this task. Such libraries assist developers by providing abstractions for mathematical operations, data representation and management of parallel layouts of the data, while internally using communication libraries such as MPI and PVM. With high-level libraries managing data layout and communication internally, it can be expected that they organize application data suitably for performing the library operations optimally. However, this places additional overhead on the underlying communication library by making the data layout noncontiguous in memory and communication volumes (data transferred by a process to each of the other processes) nonuniform. In this paper, we analyze the overheads associated with these two aspects (noncontiguous data layouts and nonuniform communication volumes) in the context of the PETSc software toolkit over the MPI communication library. We describe the issues with the current approaches used by MPICH2 (an implementation of MPI), propose different approaches to handle these issues and evaluate these approaches with micro-benchmarks as well as an application over the PETSc software library. Our experimental results demonstrate close to an order of magnitude improvement in the performance of a 3-D Laplacian multi-grid solver application when evaluated on a 128 processor cluster.
Keywords :
application program interfaces; mathematics computing; message passing; software libraries; 3D Laplacian multigrid solver application; MPI communication library; PESSL; PETSc software toolkit; ScaLAPACK; high-level software libraries; noncontiguous data layout; nonuniform communication volume; parallel application; portable extensible toolkit for scientific computation; processor cluster; Application software; Communication system operations and management; Computer science; Context; Equations; Grid computing; Laboratories; Mathematics; Software libraries; Software tools;
Conference_Titel :
Parallel and Distributed Processing Symposium, 2007. IPDPS 2007. IEEE International
Conference_Location :
Long Beach, CA
Print_ISBN :
1-4244-0910-1
Electronic_ISBN :
1-4244-0910-1
DOI :
10.1109/IPDPS.2007.370223