[Paper Review] Coalesced communication: a design pattern for complex parallel scientific software
This paper introduces the coalesced communication design pattern, a structured approach to reduce communication overhead in complex parallel scientific software by centralizing and bundling communication requests from multiple components. By overlapping computation and communication through a StepManager and CommunicationsManager, the method reduces total communication time by approximately 40% in a lattice-Boltzmann blood flow simulation, improving overall performance by 7% on 1024 cores.
We present a new design pattern for high-performance parallel scientific software, named coalesced communication. This pattern allows for a structured way to improve the communication performance through coalescence of multiple communication needs using two communication management components. We apply the design pattern to several simulations of a lattice-Boltzmann blood flow solver with streaming visualisation which engenders a reduction in the communication overhead of approximately 40%.
Motivation & Objective
- To address the growing complexity and communication inefficiency in high-performance parallel scientific software.
- To reduce the number of synchronization points caused by multiple independent communication requests across scientific components.
- To improve performance in multi-physics simulations by overlapping computation and communication across different functional modules.
- To provide a reusable, structured design pattern for high-performance computing applications with diverse communication needs.
- To demonstrate the effectiveness of coalesced communication in a real-world, production-level HPC application.
Proposed method
- Each component (Client) registers its communication needs with a central StepManager at the start of each execution step.
- The StepManager coordinates callbacks to Clients for computation, while the CommunicationsManager manages all non-blocking MPI calls.
- Communication requests from multiple Clients are coalesced into a single synchronization point per step, reducing the number of barriers.
- Non-blocking MPI operations are used to overlap communication with computation, improving resource utilization.
- Buffers for incoming data are pre-registered and only accessed after successful completion of MPI wait calls.
- The design is implemented in the HemeLB lattice-Boltzmann simulation framework, supporting core kernel, visualization, and monitoring modules.
Experimental results
Research questions
- RQ1Can a centralized communication management pattern reduce synchronization overhead in complex parallel scientific applications?
- RQ2To what extent can overlapping computation and communication improve performance in multi-component HPC simulations?
- RQ3How effective is coalescing multiple communication requests from different functional components in reducing total communication time?
- RQ4What performance improvement is achievable in a real-world scientific simulation using this design pattern?
- RQ5Does the pattern scale effectively with increasing communication load, such as higher image rendering frequency in visualization?
Key findings
- The coalesced communication pattern reduced total communication overhead by approximately 40% in HemeLB simulations on 1024 cores.
- Total simulation time decreased by 7% when coalesced communication was enabled, from 29.3 seconds to 27.6 seconds for 10 images.
- With 200 images rendered per run, the frame rate remained sufficient for real-time visual inspection, at 0.0034 seconds per image.
- The performance benefit increased in absolute terms with higher image counts, though the relative improvement slightly decreased.
- Communication time dropped from 6.07 seconds (non-coalesced) to 3.82 seconds (coalesced) when rendering 200 images.
- The pattern enabled effective overlap of computation and communication, reducing the number of synchronization points to one per step.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.