15.2e Oversubscription ratios: 1:1 (non-blocking) vs 3:1 and when each is acceptable¶
🌐 Context Introduction¶
In AI clusters, data moves constantly between GPUs during training. Think of it like a highway system: every GPU needs to talk to every other GPU without traffic jams. Oversubscription ratio describes how much traffic is competing for the same network path. A 1:1 ratio means every GPU has a dedicated lane — no waiting. A 3:1 ratio means three GPUs share one lane — potential congestion. Choosing the right ratio depends on your workload, budget, and performance needs.
⚙️ What Is Oversubscription?¶
Oversubscription is the ratio of downlink bandwidth (connections to GPUs) to uplink bandwidth (connections between switches). It tells you how much traffic might compete for a shared path.
- 1:1 (non-blocking): Every GPU port has exactly enough uplink capacity. No traffic ever waits.
- 3:1: Three GPU ports share one uplink. Traffic can queue up during heavy communication.
Simple analogy:
- 1:1 = every house has its own driveway to the main road
- 3:1 = three houses share one driveway — sometimes you wait for your neighbor to move
📊 Comparison Table: 1:1 vs 3:1¶
| Feature | 1:1 (Non-Blocking) | 3:1 |
|---|---|---|
| Performance | Full bandwidth always available | Reduced bandwidth during congestion |
| Latency | Lowest, predictable | Higher during peak traffic |
| Cost | Highest (more switches, cables, ports) | Lower (fewer components) |
| Complexity | Simple topology | Requires careful traffic planning |
| Best for | Large model training, all-to-all communication | Inference, smaller models, batch jobs |
| Failure tolerance | High — redundant paths | Lower — congestion worsens with failures |
🛠️ When to Use 1:1 (Non-Blocking)¶
Use 1:1 when your AI workload demands maximum performance and predictable latency.
- Large language model (LLM) training — models with billions of parameters need constant all-to-all communication
- Data-parallel training — every GPU sends gradients to every other GPU simultaneously
- Model-parallel training — layers are split across GPUs, requiring frequent data exchange
- Real-time inference — latency must stay low and consistent
- Research clusters — workloads vary, so you need flexibility
Example scenario:
Training GPT-3 class models across 1,000 GPUs. Every training step requires all GPUs to synchronize gradients. With 1:1, this happens in milliseconds. With 3:1, synchronization could take 3x longer, doubling training time.
📊 Visual Representation: Oversubscription Bandwidth Funnel¶
This diagram contrasts non-blocking (1:1 ratio) and oversubscribed (e.g., 3:1 ratio) bandwidth pipelines.
🕵️ When to Use 3:1¶
Use 3:1 when cost matters more than peak performance or when your traffic patterns are predictable.
- Inference serving — GPUs process requests independently, less inter-GPU communication
- Small model training — models fit on fewer GPUs, less all-to-all traffic
- Batch processing — jobs run sequentially, not simultaneously
- Development/test clusters — performance isn't critical
- Bursty workloads — occasional heavy traffic, but mostly idle
Example scenario:
Running inference for a recommendation system. Each GPU processes user requests independently. GPUs rarely need to talk to each other. 3:1 saves 40-50% on networking costs with minimal impact on response times.
📈 Real-World Impact¶
| Workload Type | 1:1 Performance | 3:1 Performance | Cost Savings with 3:1 |
|---|---|---|---|
| LLM training (1000 GPUs) | 100% | 60-70% | ~40% |
| Image classification (256 GPUs) | 100% | 85-90% | ~40% |
| Inference (100 GPUs) | 100% | 95-98% | ~40% |
| Small model fine-tuning (64 GPUs) | 100% | 90-95% | ~40% |
🧠 Decision Framework¶
Ask these questions to choose:
- What is the dominant communication pattern?
- All-to-all (every GPU talks to every other) → prefer 1:1
-
Point-to-point or sparse communication → 3:1 may work
-
How large is the model?
- Billions of parameters → 1:1
-
Millions of parameters → 3:1 often sufficient
-
What is the budget constraint?
- Unlimited → 1:1
-
Limited → 3:1 with monitoring
-
Can you tolerate occasional slowdowns?
- No → 1:1
-
Yes, within limits → 3:1
-
Is the workload predictable?
- Yes, and mostly independent → 3:1
- No, varies widely → 1:1
🔧 Practical Tips for Engineers¶
- Start with 1:1 for training clusters — it's easier to diagnose performance issues
- Use 3:1 for inference clusters — cost savings are significant
- Monitor network utilization — if uplinks stay below 50%, 3:1 is likely fine
- Plan for growth — oversubscription ratios change as clusters scale
- Test with your actual workload — benchmark both ratios before committing
Key takeaway:
1:1 gives you guaranteed performance at higher cost. 3:1 gives you cost efficiency with potential performance trade-offs. Choose based on your workload's communication pattern and budget.
✅ Summary¶
- 1:1 (non-blocking): Every GPU has full bandwidth. Essential for large model training and all-to-all communication.
- 3:1: Three GPUs share one uplink. Acceptable for inference, small models, and bursty workloads.
- Decision rule: If your workload requires every GPU to talk to every other GPU simultaneously, use 1:1. If GPUs mostly work independently, 3:1 saves money with minimal impact.