Profiling and Improving I/O Performance of a Large-Scale Climate Scientific Application

Zhuo Liu, Bin Wang, Teng Wang, Yuan Tian, Cong Xu, Yandong Wang, Weikuan Yu, Carlos Alberto dos Santos Cruz, Shujia Zhou, Tom Clune, Scott Klasky2013

Abstract

Exascale computing systems are soon to emerge, which will pose great challenges on the huge gap between computing and I/O performance. Many large-scale scientific applications play an important role in our daily life. The huge amounts of data generated by such applications require highly parallel and efficient I/O management policies. In this paper, we adopt a mission-critical scientific application, GEOS-5, as a case to profile and analyze the communication and I/O issues that are preventing applications from fully utilizing the underlying parallel storage systems. Through in-detail architectural and experimental characterization, we observe that current legacy I/O schemes incur significant network communication overheads and are unable to fully parallelize the data access, thus degrading applications' I/O performance and scalability. To address these inefficiencies, we redesign its I/O framework along with a set of parallel I/O techniques to achieve high scalability and performance. Evaluation results on the NASA discover cluster show that our optimization of GEOS- 5 with ADIOS has led to significant performance improvements compared to the original GEOS-5 implementation.

Introduction: The I/O Bottleneck in Climate Modeling

As the scientific community moves toward exascale computing, the disparity between raw computational power and storage throughput (I/O) has become a critical bottleneck. Many legacy scientific applications, including NASA’s Goddard Earth Observing System (GEOS-5) climate model, were architected in an era where computation was the primary constraint.

In GEOS-5, data is organized into "bundles"—logical groupings of physical variables such as moisture, turbulence, or temperature. The original I/O design relied on a hierarchical gathering approach. As illustrated in Figure 1, individual processes transmitted data to a "plane root," which then aggregated and forwarded it to a "bundle root." This bundle root was ultimately responsible for writing the data to disk serially.

Figure 1: Hierarchical data gathering scheme in the original GEOS-5 model, showing the multi-stage aggregation to a single bundle root.

This architecture created a severe "single point of contention." It forced a global synchronization barrier where all other processes remained idle while the bundle root completed its serial write operations. Consequently, as the number of processor cores increased, the communication overhead and serialization bottleneck became so pronounced that adding hardware resources actually degraded overall performance.

Methods: An Extensible Parallel I/O Framework

To address these scalability issues, the researchers proposed and implemented an Extensible Parallel I/O Framework. The core philosophy of this redesign was to move away from hierarchical aggregation and toward true parallel data access. By modifying the underlying MAPL (Modeling Analysis and Prediction Layer) and ESMF (Earth System Modeling Framework) libraries, the team enabled every participating process to write its own data directly to a shared file within a parallel file system.

The new framework, shown in Figure 5, was designed to be modular, supporting multiple state-of-the-art parallel I/O libraries:

  1. Parallel NetCDF (PnetCDF): Provides parallel access to the standard NetCDF format.
  2. Adaptable IO System (ADIOS): A middleware utilizing a high-performance "BP" (Binary Packer) format designed for high-speed asynchronous operations.
Figure 5: The redesigned extensible parallel I/O framework for GEOS-5, integrating ADIOS and PnetCDF to support parallel I/O.

The evaluation was conducted on the NASA "Discover" cluster, utilizing 128 compute nodes and a 5PB GPFS parallel storage system. The workload involved simulations of 7 data bundles across varying scales, from 32 to 960 processes.

Key Insights and Results

The study revealed several critical insights into the nature of I/O performance at scale:

  • Metadata Synchronization: While PnetCDF improved write speeds compared to the serial method, its performance plummeted at high scales (960 processes). Detailed "time dissection" showed that metadata synchronization—specifically the overhead of creating and closing files to maintain NetCDF consistency—consumed up to 99% of total I/O time.
  • The Advantage of Asynchrony: ADIOS significantly outperformed PnetCDF by employing an "open-on-write" approach and memory buffering. This allowed the application to return from file-open calls immediately, effectively hiding disk latency.
  • Performance Gains: The original GEOS-5 implementation failed to scale beyond 256 processes. In contrast, the ADIOS-MPI implementation demonstrated efficient scalability up to 960 processes, achieving a 58.2% reduction in total I/O time.

Conclusion and Future Directions

The transition from hierarchical aggregation to a parallel I/O framework is essential for modern climate models to utilize exascale resources. While the ADIOS implementation offers superior performance, it introduces a dependency on the ".bp" file format, which may require post-processing for researchers using standard NetCDF visualization tools.

Future research will focus on further optimizing these workflows through advanced asynchronous I/O schemes and the integration of "burst buffers"—high-speed intermediate storage layers like SSDs—to further decouple simulation compute cycles from the latencies of long-term storage.

Summary updated

BibTeX
@misc{liu2013profiling,
  author = {Zhuo Liu and Bin Wang and Teng Wang and Yuan Tian and Cong Xu and Yandong Wang and Weikuan Yu and Carlos Alberto dos Santos Cruz and Shujia Zhou and Tom Clune and Scott Klasky},
  title = {{Profiling and Improving I/O Performance of a Large-Scale Climate Scientific Application}},
  year = {2013},
  doi = {10.1109/icccn.2013.6614174},
}
Figure