🤖 AI Summary
Stragglers severely degrade performance in large language model (LLM) distributed training. Method: Based on five months of real-world training cluster data from ByteDance, we propose a multidimensional analytical framework integrating distributed monitoring and tracing, GPU-level performance profiling, temporal pattern mining, and *what-if* causal inference. Contribution/Results: We systematically attribute straggler root causes, revealing their multi-source nature—extending beyond hardware failures—and quantifying an average 37% training time waste. Network congestion, GPU memory thrashing, and scheduler-induced resource contention are identified as the top three contributors, each exhibiting predictable spatiotemporal patterns. Leveraging these insights, we design a deployable, real-time straggler early-warning module. This work advances observability and robustness optimization for distributed AI training systems through both theoretical grounding and practical implementation.
📝 Abstract
Large language model (LLM) training is one of the most demanding distributed computations today, often requiring thousands of GPUs with frequent synchronization across machines. Such a workload pattern makes it susceptible to stragglers, where the training can be stalled by few slow workers. At ByteDance we find stragglers are not trivially always caused by hardware failures, but can arise from multiple complex factors. This work aims to present a comprehensive study on the straggler issues in LLM training, using a five-month trace collected from our ByteDance LLM training cluster. The core methodology is what-if analysis that simulates the scenario without any stragglers and contrasts with the actual case. We use this method to study the following questions: (1) how often do stragglers affect training jobs, and what effect do they have on job performance; (2) do stragglers exhibit temporal or spatial patterns; and (3) what are the potential root causes for stragglers?