arXiv:2507.12619cs.LGcs.AI2025-07被引 3

解决大模型训练启动延迟问题,提升工业级训练效率

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

  • 通过分析生产数据定位启动瓶颈,提出系统级优化框架
  • 实测降低50%启动开销,节省超3.5%的GPU时间
  • 适合大规模AI团队和持续迭代训练场景

大型语言模型(LLM)已成为现代AI的核心,推动自然语言处理突破并拓展至图像、音频、视频等多模态任务。与常规运行性能不同,启动开销(startup overhead)——即训练开始前的延迟——在工业级大规模训练中日益关键。本文基于真实生产数据首次深入剖析了LLM训练启动开销:分析其组成成分,量化其对训练效率的影响,并研究其随任务规模的扩展规律。在某训练集群中,仅启动开销就占用了超过3.5%的GPU时间。为此,本文提出BootSeer系统级优化框架,针对三大核心瓶颈:(a) 容器镜像加载、(b) 运行时依赖安装、(c) 模型检查点恢复,分别引入热块记录与预取、依赖快照、分条HDFS-FUSE三种技术。该方案已在生产环境部署,并在真实大模型训练负载上验证,实现启动开销降低50%。

原文摘要 · Abstract (English)

Large Language Models (LLMs) have become a cornerstone of modern AI, driving breakthroughs in natural language processing and expanding into multimodal jobs involving images, audio, and video. As with most computational software, it is important to distinguish between ordinary runtime performance and startup overhead. Prior research has focused on runtime performance: improving training efficiency and stability. This work focuses instead on the increasingly critical issue of startup overhead in training: the delay before training jobs begin execution. Startup overhead is particularly important in large, industrial-scale LLMs, where failures occur more frequently and multiple teams operate in iterative update-debug cycles. In one of our training clusters, more than 3.5% of GPU time is wasted due to startup overhead alone. In this work, we present the first in-depth characterization of LLM training startup overhead based on real production data. We analyze the components of startup cost, quantify its direct impact, and examine how it scales with job size. These insights motivate the design of Bootseer, a system-level optimization framework that addresses three primary startup bottlenecks: (a) container image loading, (b) runtime dependency installation, and (c) model checkpoint resumption. To mitigate these bottlenecks, Bootseer introduces three techniques: (a) hot block record-and-prefetch, (b) dependency snapshotting, and (c) striped HDFS-FUSE. Bootseer has been deployed in a production environment and evaluated on real LLM training workloads, demonstrating a 50% reduction in startup overhead.

大模型训练启动优化系统工程

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。