Abstract
Modern AI workloads, particularly Large Language Models (LLMs), are increasingly network-bound due to their massive distributed training requirements. This paper investigates the impact of orchestration strategies—specifically "packing" tasks within a single rack versus "spreading" them across multiple racks—on job completion times. Using the Venus discrete-event simulator on an IBM Vela-inspired leaf-spine architecture, we demonstrate that optimized placement can reduce execution time by up to 30%, highlighting the critical trade-off between network locality and aggregate bandwidth.
Introduction
As AI models scale into the trillion-parameter range, training efficiency is no longer just a matter of compute power but of network performance. Distributed training relies on frequent synchronization between nodes, making the underlying data center network a potential bottleneck. Standard orchestration tools often place containers or virtual machines without considering the physical network topology, leading to link congestion and suboptimal performance. This study evaluates how different placement strategies affect the performance of common AI communication primitives.
Methodology
The research utilizes Venus, a discrete-event network simulator built on the OMNEST framework, to model a high-performance data center environment.
Infrastructure Modeling
The simulated environment is inspired by IBM Vela, featuring a two-layer leaf-spine topology. The network consists of 100G interfaces with a 2:3 oversubscription ratio at the leaf level.
Orchestration Strategies
Two primary placement strategies were evaluated:
- Packing: All nodes involved in a collective operation are placed within the same rack, ensuring 1-hop communication and keeping traffic local to the leaf switch.
- Spreading: Nodes are distributed across two to four racks, requiring 3-hop communication through the spine switches but potentially accessing higher aggregate bandwidth.
AI Collective Traffic Patterns
Rather than using generic traffic, the study models specific "AI Collectives"—the fundamental communication patterns used in distributed training.
These patterns include:
- All-to-All: Every node sends unique data to every other node.
- All-Gather: Every node collects data from all other nodes.
- All-Reduce: Nodes combine data (e.g., gradients) and distribute the result back to all participants.
Key Insights and Results
The simulations revealed a significant trade-off between locality and bandwidth.
The Locality vs. Bandwidth Trade-off
Packing is generally more efficient for smaller workloads or specific operations like All-Reduce. For a 6-node All-Reduce operation, packing was 26-27% faster than spreading because it avoided the overhead and potential congestion of the spine switches.
Spreading for Large Workloads
For larger jobs (8–12 nodes), spreading becomes the superior strategy. By utilizing multiple racks, the workload can tap into the higher aggregate bandwidth of the spine layer. For 12-node All-to-All jobs with 10MB messages, spreading across four racks reduced completion time by 13% to 20% compared to packing.
Interference and Isolation
A critical finding was the impact of inter-workload interference. When multiple AI jobs run concurrently, isolating them into separate racks provides the best performance, minimizing "hot spots" caused by overlapping traffic patterns.
Conclusion
Orchestration strategies that account for network topology can achieve up to a 30% reduction in job completion time. While packing offers low-latency 1-hop communication, spreading provides a "congestion relief valve" for bandwidth-intensive operations. Future work involves developing dynamic schedulers that can automatically select the optimal strategy based on real-time network state and the specific requirements of the AI collective being executed.
Summary updated