Abstract
As scientific facilities enter the exascale era, the volume and scale of individual data files have grown significantly, often reaching terabyte scales. Traditional data transfer methods, optimized for many small-to-medium files, encounter severe bottlenecks when handling these massive single files. This paper presents "client-side chunking," a technique implemented within the Globus transfer service to eliminate these bottlenecks. By partitioning large files into concurrent streams and parallelizing integrity checks, we achieved up to a 9.5x speedup in transfer performance between major supercomputing facilities.
Introduction
For years, the Globus service has been the standard for moving petabytes of scientific data. Historically, Globus achieved high throughput by moving multiple files in parallel. However, modern simulations and experimental facilities, such as synchrotrons and telescopes, now produce individual files that are themselves terabytes in size. When transferring a single giant file, traditional Globus often utilizes only one "data mover" process, leaving high-speed networks and parallel file systems underutilized. Furthermore, mandatory integrity checks (checksumming) create a serial bottleneck, as systems typically wait for the entire file transfer to complete before verifying data, adding significant end-to-end latency.
Methods: Client-Side Chunking
To address these limitations, we implemented client-side chunking to orchestrate multiple data movers for a single file. The Globus service acts as a coordinator, dividing a large file into disjoint segments (chunks), typically between 200MB and 500MB.
Key components of this approach include:
- Concurrent Execution: Chunks are assigned to multiple source-destination data mover pairs. Using GridFTP’s
ERET(Extended Retrieve) andESTO(Extended Store) commands, the system handles these partial file transfers simultaneously. - Pipelined Integrity Checks: Instead of waiting for the entire file to arrive, the system computes and transmits a partial checksum for each chunk. This allows the destination to verify data integrity in parallel with the transfer, effectively "hiding" the computational cost of checksumming.
- Storage Optimization: The team investigated tuning the underlying Lustre file system "stripe count" to ensure hardware could match the increased parallel I/O demands.
Experimental Evaluation
The enhancements were evaluated using high-performance computing (HPC) infrastructure across the Argonne Leadership Computing Facility (ALCF), National Energy Research Scientific Computing Center (NERSC), and Oak Ridge Leadership Computing Facility (OLCF). Testing involved various scenarios, including single 500 GB files and 2.5 TB files, across Lustre-based systems like Eagle, Perlmutter, and Orion.
Key Results
The implementation of client-side chunking yielded massive performance gains. For a single 500 GB file transfer between ALCF and NERSC, performance increased by a factor of 9.5x. Previously, transferring one 500 GB file was up to 28 times slower than transferring 500 separate 1 GB files; chunking slashed this gap to just 1.9x to 3x.
Integrity checking for a 500 GB file, which previously took over 12 minutes (773 seconds), was reduced to under a minute (53.7 seconds) through parallelization. The system achieved transfer rates of approximately 32 Gb/s for single-file transfers that previously struggled to exceed 4 Gb/s.
Discussion and Future Work
While chunking is a "hero" feature for large files, it is less effective for workloads already consisting of many files, where standard Globus concurrency is sufficient. Furthermore, storage I/O often remains the primary bottleneck rather than network bandwidth. Tuning the Lustre stripe count was essential, with an increase from 1 to 16 improving throughput by 8.1x in specific tests.
Future work will focus on automation, developing heuristics to allow Globus to automatically determine when to chunk a file and the optimal chunk size based on endpoint configurations. Additionally, better cross-layer communication is needed to automatically align file system stripe widths with transfer parallelism.
Summary updated