Skip to main content
QUICK REVIEW

[Paper Review] Hoard: A Distributed Data Caching System to Accelerate Deep Learning Training on the Cloud

Christian Pinto, Yiannis Gkoufas|arXiv (Cornell University)|Dec 3, 2018
Advanced Neural Network ApplicationsComputer Science10 references15 citations
TL;DR

Hoard is a distributed data caching system that accelerates deep learning training on cloud clusters by caching datasets on local NVMe disks across multiple GPU nodes using a distributed file system. It achieves a 2.1x speed-up over 10Gb/s NFS and doubles system utilization by eliminating I/O bottlenecks through co-located caching and POSIX-compliant access for seamless integration with existing frameworks.

ABSTRACT

Deep Learning system architects strive to design a balanced system where the computational accelerator -- FPGA, GPU, etc, is not starved for data. Feeding training data fast enough to effectively keep the accelerator utilization high is difficult when utilizing dedicated hardware like GPUs. As accelerators are getting faster, the storage media \& data buses feeding the data have not kept pace and the ever increasing size of training data further compounds the problem. We describe the design and implementation of a distributed caching system called Hoard that stripes the data across fast local disks of multiple GPU nodes using a distributed file system that efficiently feeds the data to ensure minimal degradation in GPU utilization due to I/O starvation. Hoard can cache the data from a central storage system before the start of the job or during the initial execution of the job and feeds the cached data for subsequent epochs of the same job and for different invocations of the jobs that share the same data requirements, e.g. hyper-parameter tuning. Hoard exposes a POSIX file system interface so the existing deep learning frameworks can take advantage of the cache without any modifications. We show that Hoard, using two NVMe disks per node and a distributed file system for caching, achieves a 2.1x speed-up over a 10Gb/s NFS central storage system on a 16 GPU (4 nodes, 4 GPUs per node) cluster for a challenging AlexNet ImageNet image classification benchmark with 150GB of input dataset. As a result of the caching, Hoard eliminates the I/O bottlenecks introduced by the shared storage and increases the utilization of the system by 2x compared to using the shared storage without the cache.

Motivation & Objective

  • To address I/O bottlenecks in deep learning training caused by slow central storage relative to fast accelerators like GPUs.
  • To improve system utilization in multi-GPU, multi-job cloud environments where data copying to local disks is inefficient and resource contention is high.
  • To enable efficient reuse of cached data across multiple training jobs and hyper-parameter tuning experiments without re-copying from central storage.
  • To provide a transparent, turnkey caching solution that integrates with existing deep learning frameworks via a POSIX interface.
  • To design a scalable, cloud-native caching middleware that decouples dataset lifecycle from job lifecycle for better resource efficiency.

Proposed method

  • Hoard uses a distributed file system to stripe and cache training data across local NVMe disks on multiple GPU nodes.
  • It employs a set of microservices to coordinate cache creation, job-scheduling co-location, and independent data lifecycle management.
  • The system exposes a POSIX-compliant file system interface, allowing existing deep learning frameworks to access cached data without code changes.
  • Data is pre-cached from a central storage system (e.g., NFS, S3) before or during job execution, enabling reuse across epochs and jobs.
  • Hoard supports rack-aware scheduling to optimize data locality and reduce network interference.
  • It enables co-location of training jobs and their data on the same nodes or racks to minimize I/O latency and network load.

Experimental results

Research questions

  • RQ1Can a distributed caching system reduce I/O bottlenecks in deep learning training on GPU clusters?
  • RQ2How does caching data across multiple nodes using local NVMe storage compare to relying on a central NFS or object store?
  • RQ3To what extent can a caching system improve system utilization and training throughput in multi-job, multi-GPU cloud environments?
  • RQ4Can a transparent, POSIX-compliant caching layer be effectively used in deep learning workflows without framework modifications?
  • RQ5How does the decoupling of dataset and job lifecycles impact performance and resource reuse in hyper-parameter tuning workloads?

Key findings

  • Hoard achieves a 2.1x speed-up over a 10Gb/s NFS storage system on a 16-GPU cluster for the AlexNet ImageNet benchmark with a 150GB dataset.
  • System utilization increases by 2x compared to using shared storage without caching, due to reduced I/O contention and faster data access.
  • The caching mechanism eliminates I/O starvation, allowing GPUs to maintain high utilization throughout training.
  • Cached data is reused across multiple training epochs and different jobs with the same data requirements, reducing redundant data transfers.
  • The system supports efficient scaling to larger clusters, with expected performance gains increasing as shared storage load grows.
  • The POSIX interface enables seamless integration with existing deep learning frameworks without code changes.

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.