Abstract
Understanding and visualizing the full-stack performance trade-offs and interplay between HPC applications, MPI libraries, the communication fabric, and the file system is a challenging endeavor. Designing a holistic profiling and visualization method for HPC communication networks is challenging since different levels of communication coexist and interact with each other on the communication fabric. A breakdown of traffic is essential to understand the interplay of different layers along with the application's communication behavior without losing a general view of network traffic. Unfortunately, existing profiling tools are disjoint and either focus on only profiling and visualizing a few levels of the HPC stack, which limits the insights they can provide, or they provide extremely detailed information which necessitates a steep learning curve to understand. We target our profiling tool visualization to provide holistic and real-time insights into HPC communication stacks. In this paper, we propose and implement our visualization methods to enable holistic insight for representing the cross-stack metrics. Moreover, we propose and implement a low-overhead I/O profiling inside the communication library, collect and store the profiling information, and then study the correlation and evaluation of I/O traffic with MPI communication using a cross-stack approach by INAM. Through experimental evaluations and use cases, we demonstrate novel benefits of our cross-stack communication analysis in real-time to detect bottlenecks and understand communication performance.
Introduction
Modern High-Performance Computing (HPC) clusters are incredibly complex ecosystems where applications, Message Passing Interface (MPI) libraries, network fabrics (such as InfiniBand), and I/O subsystems (such as Lustre) all interact. When performance degrades, identifying the root cause is often a significant challenge, akin to finding a needle in a haystack. Existing tools are typically disjointed, focusing on isolated layers of the stack and often designed for postmortem analysis rather than real-time monitoring. This gap makes it difficult to observe how I/O operations, such as checkpointing, might saturate network switches and impact the MPI communication of unrelated jobs.
System Architecture and Methodology
To address these challenges, we extended the OSU InfiniBand Network Analysis and Monitoring (INAM) tool to provide a holistic, real-time view of cluster performance. The architecture integrates several key components to enable cross-layer correlation.
Key technical contributions include:
- Low-Overhead I/O Profiling: We modified the MPI library to intercept and collect Lustre I/O statistics (reads/writes, target servers) at runtime. This data is transmitted via a low-latency InfiniBand channel to a remote daemon to minimize impact on application performance.
- Cross-Layer Correlation: The INAM daemon aggregates fabric discovery, routing information, MPI metrics, and the new I/O metrics into a single database. This allows the tool to map exactly which physical links are carrying which type of traffic.
Innovative Visualization Techniques
Visualizing the massive amount of data generated by an HPC cluster requires innovative approaches to prevent information overload while maintaining actionable detail.
RadarPie Visualization
The "RadarPie" is the core visualization innovation of this work. It overlays a circular parallel coordinate chart on each node or switch in the network graph. Each axis of the pie represents a different metric, such as MPI sent data, I/O read data, or unicast versus multicast packets. This creates a unique visual "fingerprint" for each component, allowing administrators to instantly distinguish between I/O-bound and MPI-bound traffic.
Multi-Link Topology
To represent the complex connectivity of large clusters, the tool utilizes curved splines to visualize multiple physical paths between switches. This approach maintains high detail without creating the visual clutter associated with traditional straight-line representations.
Experimental Evaluation and Results
The system was evaluated on several large-scale clusters, including the Ohio Supercomputer Center (OSC) and the Frontera system (up to 8,811 nodes). Performance overhead was measured using the NAS Parallel Benchmarks (Class D).
- Scalability: The visualization engine can render a cluster of approximately 2,000 nodes in under 30 seconds, making it practical for production environments.
- Minimal Overhead: Full-stack profiling (MPI and I/O) resulted in less than 5% performance degradation, even at scales of 4,096 processes across 256 nodes.
- Real-World Utility: In one use case, the tool identified a 20% performance hit in an MPI AlltoAll operation caused by heavy I/O traffic from a separate checkpointing job sharing the same root switches. The system can also send real-time alerts when MPI and I/O traffic coexist on the same link above a certain threshold.
Conclusion and Future Work
Our holistic profiling and visualization framework provides real-time insights into the complex interplay of HPC communication layers. While the current implementation is optimized for the Lustre file system, future work includes expanding support to other file systems like BeeGFS and integrating these visualization designs into other widely used profiling tools such as TAU and XDMoD.
Summary updated