TL;DR
CCL-Bench 1.0 is a novel trace-based benchmark for LLM infrastructure that shifts the evaluation focus from simple end-to-end summary statistics to reusable, fine-grained execution evidence. By packaging full execution traces, workload metadata, and launch scripts, it enables post-hoc metric analysis, trace-driven network simulations, and automated configuration tuning.
What Problem Does This Paper Address?
Evaluating Large Language Model (LLM) infrastructure is notoriously complex. Performance depends on a massive configuration space spanning hardware accelerators, interconnect bandwidth, software frameworks, parallelism plans, and communication libraries.
Current benchmarks (like MLPerf or LLM-Perf) act as mere "scoreboards." They report a small set of end-to-end summary numbers (e.g., tokens per second or step time) but fail to explain why one configuration outperforms another. This approach introduces three major limitations:
- Frozen Metrics: To evaluate a completed run along a new axis (e.g., memory-transfer overhead or communication breakdown), researchers must rerun the entire experiment.
- Opaque Bottlenecks: Scalar rankings provide no diagnostic insights into whether a performance gap is caused by slow compute kernels, network saturation, or poor parallelization choices.
- Invisible Tuning Effort: Leaderboard wins often reflect a heavily tuned framework compared against a stock baseline, masking the actual engineering effort required.
Methods
The authors introduce CCL-Bench, which replaces static scalar metrics with a standardized, evidence-based schema and an extensible analysis pipeline.
The framework consists of three core components:
- Evidence-Based Schema: Every submission packages a full execution trace (JSON format via PyTorch Kineto or JAX/XLA profilers), a YAML "workload card" detailing the model architecture and infrastructure context, and the exact launch scripts.
- Community-Extensible Metric Toolkit: An open-source Python library that ingests the traces to compute fine-grained metrics retroactively, including Model FLOPs Utilization (MFU), compute-communication overlap, and memory-transfer overhead.
- Trace-Driven "What-If" Simulation: CCL-Bench converts empirical traces into Chakra execution graphs. These graphs feed into network simulators like Astra-Sim, allowing hardware vendors to simulate how iteration times would change under different network topologies or bandwidths without rerunning physical hardware.
- CCL-Search: An LLM-agent-based optimizer (powered by Claude) that automatically navigates the configuration space (tensor, data, and pipeline parallelism) by iteratively executing trials, analyzing trace feedback, and rewriting the deployment policy.
Datasets
Rather than traditional static datasets, CCL-Bench utilizes a rolling suite of open-weight LLM workloads (WL1 to WL7) covering both inference and training phases. The models evaluated include:
- Qwen-4B / Qwen3-4B (Inference)
- Llama-3.1-8B (Inference & Training)
- DeepSeek-MoE-16B (Inference)
- DeepSeek-V3-16B (Training)
- DeepSeek-V3-236B (Training)
Key Insights and Ideas
- Compute-Communication Overlap Can Deceive: High overlap between computation and communication is traditionally viewed as a proxy for efficiency. However, CCL-Bench reveals that high overlap can coincide with worse step times. In DeepSeek-V3 MoE training, a smaller expert parallelism (EP) degree increased overlap but drastically inflated the total volume of ReduceScatter and AllGather traffic, outweighing the overlap benefit.
- TPU vs. GPU Interconnect Utility: Network simulation reveals that doubling the Inter-Chip Interconnect (ICI) bandwidth on TPUs yields up to 100× higher end-to-end utility for small/medium workloads than doubling GPU scale-up bandwidth (NVLink). This is due to the TPU's lower baseline bandwidth and torus topology. Conversely, large GPU training workloads benefit more from expanding the scale-up domain size rather than simply increasing raw bandwidth.
- Framework Tuning is Not Portable: Optimal configurations are highly framework-specific. Applying a configuration optimized for TorchTitan directly to Megatron-LM resulted in a run that was 3× slower than Megatron-LM’s own tuned optimum on identical hardware.
Key Results
- Automated Optimization: Within just 15 iterations, the automated
CCL-Searchagent successfully reduced training step times by up to 8× on TorchTitan and 19× on Megatron-LM. - Framework Performance Gap: For Llama-3.1-8B training on 16 A100 GPUs,
CCL-Searchidentified a 3.4× performance gap between the best-tuned TorchTitan configuration (1.50s step time) and Megatron-LM (0.44s step time). - Low Profiling Overhead: Collecting these detailed JSON traces introduces negligible overhead, measured at just 0.22% during a 1.88B parameter model test run.
Limitations and Future Work
- Workload Coverage: The initial release focuses primarily on small-to-medium open-source models. Future iterations will expand to larger models, online serving scenarios (measuring request-level latency), and accuracy-affecting optimizations like quantization and speculative decoding.
- Trace Storage at Scale: Multi-rank execution traces are massive, often reaching 10 GB per run. Scaling the benchmark repository will require compressed trace formats or selective sampling policies.
- Privacy and Proprietary Data: Traces can inadvertently expose sensitive information, such as proprietary cluster topologies or custom operator sequences. The authors note that developing robust trace anonymization tools remains an open challenge.
Summary updated