Skip to main content
QUICK REVIEW

[Paper Review] FanStore: Enabling Efficient and Scalable I/O for Distributed Deep Learning

Zhao Zhang, Lei Huang|arXiv (Cornell University)|Sep 27, 2018
Advanced Data Storage TechnologiesComputer Science6 references18 citations
TL;DR

FanStore is a POSIX-compliant, runtime file system that accelerates distributed deep learning I/O by caching datasets on local compute node storage, using system call interception, distributed metadata management, and optional data compression. It achieves over 90% scaling efficiency across 512 nodes with I/O performance near hardware limits, enabling efficient training without code changes.

ABSTRACT

Emerging Deep Learning (DL) applications introduce heavy I/O workloads on computer clusters. The inherent long lasting, repeated, and random file access pattern can easily saturate the metadata and data service and negatively impact other users. In this paper, we present FanStore, a transient runtime file system that optimizes DL I/O on existing hardware/software stacks. FanStore distributes datasets to the local storage of compute nodes, and maintains a global namespace. With the techniques of system call interception, distributed metadata management, and generic data compression, FanStore provides a POSIX-compliant interface with native hardware throughput in an efficient and scalable manner. Users do not have to make intrusive code changes to use FanStore and take advantage of the optimized I/O. Our experiments with benchmarks and real applications show that FanStore can scale DL training to 512 compute nodes with over 90\% scaling efficiency.

Motivation & Objective

  • To address the I/O bottleneck in distributed deep learning caused by high-frequency, random, and concurrent access to large numbers of small files.
  • To enable efficient and scalable I/O without requiring application-level code changes or data format migration.
  • To leverage local storage and interconnects in clusters to reduce pressure on shared file systems and improve training throughput.
  • To design a system that maintains a global namespace while achieving near-peak hardware I/O performance through relaxed consistency and runtime optimizations.
  • To validate the system across diverse deep learning workloads, including CNNs, RNNs, and GANs, under real and synthetic workloads.

Proposed method

  • Uses system call interception in user space to provide a POSIX-compliant interface without kernel modifications.
  • Distributes dataset files across local storage of compute nodes while maintaining a global namespace via broadcasted metadata.
  • Employs a relaxed multi-read single-write consistency model to reduce metadata synchronization overhead.
  • Applies generic data compression as an optional optimization, with decompression performed on-demand during I/O.
  • Uses remote file access via round-trip MPI messages for data retrieval when files are not locally cached.
  • Combines collective data management and optimized I/O pipelines to saturate local storage and network bandwidth.

Experimental results

Research questions

  • RQ1Can a runtime file system that caches data on local storage significantly improve I/O scalability for distributed deep learning workloads?
  • RQ2To what extent can relaxed consistency models reduce metadata overhead without compromising correctness in distributed training?
  • RQ3How effective is generic data compression in reducing I/O traffic when combined with local caching and high-speed interconnects?
  • RQ4Can a POSIX-compliant interface be efficiently exposed in user space to avoid intrusive code changes?
  • RQ5What level of strong and weak scaling efficiency can be achieved with a system that offloads I/O to local storage and interconnects?

Key findings

  • FanStore achieves over 90% weak scaling efficiency across 512 compute nodes, demonstrating near-linear scalability for distributed training.
  • On a single node, FanStore delivers I/O performance close to the hardware limit, with throughput within 90% of peak bandwidth for large files.
  • For the SRGAN benchmark, using a 2.8x compressed dataset improved I/O throughput by 2.8% to 11.6% compared to uncompressed data, especially benefiting larger files.
  • Performance on 128 KB files is latency-bound and degrades with decompression overhead, while larger files (≥512 KB) remain bandwidth-bound and benefit from compression.
  • The system sustains 89.2% to 93.5% relative bandwidth and throughput across scales when using compressed data, indicating consistent performance gains.
  • ResNet-50 training on ImageNet-1k uses only 7.8%-9.5% of FanStore’s peak I/O throughput, indicating significant headroom for further scaling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.