Benchmarking Storage Systems for Machine Learning Workloads Using NIO Bench
Abstract
Machine learning training workloads place unique demands on storage systems, yet most existing benchmarks focus on computational throughput rather than file system I/O behavior. We present a benchmarking framework, Neural I/O Benchmark (NIO Bench), that characterizes storage access patterns across six diverse ML model architectures: Language Transformers, Vision Transformers, Diffusion Models, Spiking Neural Networks, Artificial Neural Networks, and Reinforcement Learning. Our framework employs a two-layer tracing approach combining Python-level I/O hooks for semantic phase context with Linux strace for complete syscall coverage including DataLoader worker subprocesses. We evaluate all six models on a Nautilus Kubernetes cluster with Ceph distributed file system. Our results reveal that I/O is heavily concentrated in data preparation, model loading, and model checkpointing. We also found that training is compute-bound rather than data-bound once data is staged, and that storage access follows an extreme power law where fewer than 10% of files account for over 90% of bytes transferred, and that read tail latency from cache misses on distributed storage is the primary storage bottleneck. These findings suggest that storage systems optimized for ML should prioritize aggressive data prefetching, page cache pinning, and efficient handling of bursty checkpoint writes.
Create a lesson
Metadata
- Categories
- cs.PF, cs.DC, cs.LG
- Comments
- 7 pages, 6 figures
Related papers
HPC-Bench: A Comprehensive Benchmark for High Performance Computing Codes
Shared title terminologycs.PFBowen Cui, Junyu Yin, Tejas Ramesh et al.
RAGMark: A Comprehensive Framework for Benchmarking Retrieval-Augmented Generation Systems
Shared title terminologycs.PFZlatan Feric, Amir Taherin, Bin Ren et al.
Aneto: Predicting System Performance by Exploiting Cross-Workload Regularity
Shared title terminologycs.PFRaul Taranco, Rene Mueller, Michael Giardino
Saving GPU Hours in LLM Inference System Development and Online Workloads with Simulation and DBMS-Inspired Cache Replacement Policies
Shared title terminologycs.PFKyoungmin Kim, Jiacheng Li, Kijae Hong et al.
RAGPerf: An End-to-End Benchmarking Framework for Retrieval-Augmented Generation Systems
Shared title terminologycs.PFShaobo Li, Yirui Zhou, Yuan Xu et al.
Characterizing Machine Learning Force Fields as Emerging Molecular Dynamics Workloads on Graphics Processing Units
Shared title terminologycs.PFUdari De Alwis, Benjamin E. Mayer, Tom J. Ashby et al.