BootSeer: Analyzing and Mitigating Initialization Bottlenecks in Large-Scale LLM Training

Rui Li, Xiaoyun Zhi, Jinxin Chi, Menghan Yu, Lixin Huang, Jia Zhu, Weilun Zhang, Xing Ma, Wenjia Liu, Zhicheng Zhu, Daowen Luo, Zuquan Song, Xin Yin, Chao Xiang, Shuguang Wang, Wencong Xiao, Gene CoopermanarXiv 2025 · DOI

Introduction

While the research community has focused heavily on optimizing the throughput and efficiency of Large Language Model (LLM) training once it is underway, the "startup tax"—the significant time lost before the first training step—remains a major bottleneck. BootSeer is a system-level framework designed to analyze and mitigate these initialization delays. In industrial-scale clusters, such as those at ByteDance, startup overhead can waste thousands of GPU-hours daily, particularly as jobs scale to thousands of interconnected nodes.

The Anatomy of Startup Overhead

In large-scale training, jobs are rarely "one-and-done." They are frequently restarted due to hardware failures, debugging needs, or iterative algorithm adjustments. The delay between job submission and effective training is composed of several distinct phases.

The startup workflow is divided into Scheduler and Worker phases, highlighting the difference between a full startup and a hot update.

The authors identify three primary technical bottlenecks within the "Worker Phase":

  1. Image Loading: Distributing massive container images (often 25-40GB) across hundreds or thousands of nodes simultaneously.
  2. Environment Setup: The "bit storm" phenomenon, where thousands of nodes attempt to run dependency installations (e.g., pip install) at the same time, overwhelming central package registries.
  3. Checkpoint Resumption: The I/O bottleneck of loading multi-hundred-gigabyte model states from remote storage systems like HDFS.

BootSeer: A System-Level Optimization Framework

To address these challenges, BootSeer introduces three core optimization techniques:

1. Hot Block Record-and-Prefetch

Traditional "lazy loading" of container images only pulls data upon access, leading to high latency. BootSeer observes that only a small, stable subset of data blocks (the "hot blocks") is required for startup. By recording these blocks and proactively prefetching them via peer-to-peer sharing, BootSeer avoids registry bottlenecks and accelerates image readiness.

2. Job-Level Dependency Snapshotting

To eliminate the "bit storm" of repeated dependency installations, BootSeer captures the filesystem changes after an initial successful setup. This "snapshot" is stored in HDFS-FUSE. Subsequent job restarts simply mount this ready-to-use environment, ensuring consistent and rapid setup times regardless of cluster scale.

3. Striped HDFS-FUSE for Checkpoints

Loading massive checkpoints is often limited by sequential I/O. BootSeer implements a striped I/O mechanism that splits large checkpoint files into 1MB chunks distributed across HDFS blocks. This enables high-parallelism reads, significantly reducing the time required for model initialization.

Insights from Production Traces

The development of BootSeer was informed by a massive-scale study of over 28,000 training jobs involving more than 70,000 GPUs at ByteDance. A key finding is that startup is a recurring cost.

Analysis of production traces shows that larger jobs experience more frequent startup events, often due to the iterative nature of LLM development and hardware instability.

As shown in the figure above, while small jobs might start only once, large-scale jobs (2000+ GPUs) often undergo 8 or more startup events. This recurring cost makes the optimization of the initialization phase critical for overall cluster productivity.

Key Results and Impact

Evaluation on a 1,024-GPU NVIDIA H800 cluster using a Mixture-of-Experts (MoE) model demonstrated significant gains:

  • 50% Reduction in Total Overhead: End-to-end startup time was halved across various job scales.
  • Accelerated Image Loading: Image readiness improved by 4x to 7x compared to baseline lazy loading.
  • Efficient Checkpoint Resumption: Striped I/O reduced resumption overhead by up to 2.6x.
  • Straggler Mitigation: Dependency snapshotting stabilized setup times, preventing the "straggler effect" where one slow node delays the entire cluster.

Conclusion

BootSeer demonstrates that significant efficiency gains in LLM training can be found outside the training loop itself. By treating startup as a first-class optimization target, BootSeer recovers thousands of GPU-hours, enabling faster iteration and more efficient use of expensive compute resources in industrial-scale AI development.

Summary updated

BibTeX
@misc{li2025bootseer,
  author = {Rui Li and Xiaoyun Zhi and Jinxin Chi and Menghan Yu and Lixin Huang and Jia Zhu and Weilun Zhang and Xing Ma and Wenjia Liu and Zhicheng Zhu and Daowen Luo and Zuquan Song and Xin Yin and Chao Xiang and Shuguang Wang and Wencong Xiao and Gene Cooperman},
  title = {{BootSeer: Analyzing and Mitigating Initialization Bottlenecks in Large-Scale LLM Training}},
  year = {2025},
  eprint = {2507.12619},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.12619},
}
Figure