Optimizing the SSD Burst Buffer by Traffic Detection

Xuanhua Shi, Wei Liu, Ligang He, Hai Jin, Ming Li, Yong Chen

TL;DR

SSDUP+ is a traffic-aware burst buffer scheme that optimizes how High-Performance Computing (HPC) systems use SSDs to shield slow hard drives from "bursty" write requests. By intelligently identifying and buffering only random write traffic while using a novel traffic-aware flushing pipeline, it achieves high I/O performance while using 50% less SSD capacity than traditional burst buffer approaches.

What Problem Does This Paper Address?

In the world of supercomputing, we face a massive I/O bottleneck. While compute power has skyrocketed, storage hasn't kept pace. HPC systems rely on massive arrays of Hard Disk Drives (HDDs) because they are cheap and offer high bandwidth for large, sequential data. However, HDDs perform miserably when hit with "random" writes—small, scattered data chunks that force the physical disk head to jump around.

To fix this, researchers use Burst Buffers (BB): a layer of fast SSDs that sit between the compute nodes and the HDDs. The idea is to write everything to the SSD quickly and "flush" it to the HDD later. But this has two major flaws:

  1. Capacity Overload: SSDs are expensive. To buffer all data from a massive compute phase, you need enormous SSD arrays.
  2. Flushing Interference: If the burst buffer tries to flush data to the HDD while another application is trying to write to that same HDD, they compete for resources, and performance tanks.

Methods

The authors propose SSDUP+, which introduces four key innovations:

  • Random Access Detector: Instead of buffering everything, SSDUP+ calculates a "Random Factor" (RF) for incoming request streams. It sorts the offsets of requests and counts how many "seeks" (jumps) a disk head would need to make. If a stream is mostly sequential, it bypasses the SSD and goes straight to the HDD.
  • Adaptive Thresholding: The system doesn't use a static definition of "random." It maintains a PercentList of recent traffic and dynamically adjusts the threshold for what gets redirected to the SSD based on the current workload.
  • Two-Stage Pipeline: The SSD buffer is split into two halves. While one half is filling up with new data, the other half is flushing its contents to the HDD. This "double buffering" approach hides the latency of moving data to permanent storage.
  • Traffic-Aware Flushing: This is the "smart" part of the pipeline. SSDUP+ monitors the HDD load. If it detects that other applications are currently writing to the HDD, it pauses the SSD-to-HDD flush to avoid contention, resuming only when the HDD traffic clears.
  • Log-Structured Management: To avoid SSD "write amplification" (which wears out the drive), SSDUP+ writes data to the SSD sequentially in a log structure. It uses an AVL Tree to track the metadata, allowing it to reconstruct the original data order with $O(\log n)$ efficiency during the final flush.

Datasets

The authors evaluated SSDUP+ using a 10-node cluster running OrangeFS (a popular parallel file system). They used three industry-standard HPC benchmarks:

  • IOR: Used to test different access patterns (segmented-contiguous, segmented-random, and strided).
  • HPIO: Used to evaluate non-contiguous I/O performance.
  • MPI-Tile-IO: Simulates the complex 2D tile-based access patterns common in scientific simulations.

Key Insights and Ideas

  • Selective Buffering is Key: You don't need to buffer everything to get the benefits of an SSD. By only capturing the "harmful" random writes, you can drastically reduce the required SSD capacity without a performance hit.
  • Server-Side Intelligence: Most existing tools detect I/O patterns at the client-side (within the app). SSDUP+ works at the storage server level. This allows it to see the "global" picture—the mixed, messy traffic coming from multiple different applications simultaneously.
  • HDD Interference is a Silent Killer: The paper highlights that simply having a burst buffer isn't enough; if the buffer flushes at the wrong time, it can actually make the system slower by interfering with active tasks. The "traffic-aware" pause mechanism solves this.

Key Results

  • Space Efficiency: SSDUP+ saved an average of 50% SSD space compared to traditional burst buffers while delivering nearly identical performance.
  • Throughput Gains: It achieved 20%–30% higher I/O throughput than the previous version of the software (SSDUP) by using the new adaptive threshold and traffic-aware flushing.
  • Low Overhead: The system overhead (the CPU time taken to manage the AVL tree and detect randomness) was measured at less than 1% of total execution time, making it highly practical for real-world deployment.

Limitations and Future Work

The current implementation is specific to OrangeFS. While the logic is generic, porting it to other major HPC file systems like Lustre or GPFS remains a future task. Additionally, the authors note that while the "Random Factor" is a great proxy for disk head movement, it relies on logical addresses; modern HDDs have complex internal mapping that might occasionally diverge from this model.

The team plans to explore porting SSDUP+ to the Lustre file system and testing it with next-generation hardware like non-volatile memory (NVM).

Summary updated

BibTeX
@article{shi2020optimizing,
  author = {Xuanhua Shi and Wei Liu and Ligang He and Hai Jin and Ming Li and Yong Chen},
  title = {{Optimizing the SSD Burst Buffer by Traffic Detection}},
  journal = {ACM Trans. Archit. Code Optim.},
  year = {2020},
  url = {https://openreview.net/forum?id=1ZVvN6uhcV},
}
Figure