Introduction
In large-scale Machine Learning (ML) infrastructure, a standard operating assumption is that identical hardware—specifically GPUs of the same model—will perform identically. This "iso-architecture" assumption simplifies cluster scheduling, allowing orchestrators to treat GPUs as interchangeable commodities. However, empirical evidence suggests that this assumption is flawed. Due to manufacturing process variations (the "silicon lottery") and dynamic environmental factors like thermal throttling and power management, "identical" GPUs often exhibit significant performance variability.
In the context of data-parallel ML training, which typically follows the Bulk Synchronous Parallel (BSP) model, this variability is particularly damaging. Because BSP requires all workers to synchronize at the end of each iteration, the entire job's progress is dictated by the slowest GPU, or "straggler." Current state-of-the-art schedulers are variability-agnostic, often leading to suboptimal resource allocation where high-priority, compute-intensive jobs are bottlenecked by underperforming hardware. This paper introduces PAL (Performance Variability & Locality), a scheduling policy designed to mitigate these inefficiencies by accounting for both hardware variability and network locality.
Characterizing Application Sensitivity
A core insight of the PAL framework is that not all ML applications are equally affected by GPU performance variability. To address this, the authors propose a classification system based on resource utilization metrics (DRAM and Functional Unit utilization) obtained via profiling tools like nsight compute:
- Class A (Compute-bound): These workloads, such as ResNet-50, are highly sensitive to GPU clock speeds and functional unit performance. They experience the most significant slowdowns when assigned to "slow" GPUs.
- Class B (Balanced): These workloads, including models like BERT, show moderate sensitivity to hardware variability.
- Class C (Memory-bound): Workloads like PageRank are limited by memory bandwidth rather than core compute speed. Consequently, they are relatively insensitive to the variations in core performance that typically characterize GPU stragglers.
By identifying these sensitivities, PAL can strategically "hide" slower GPUs by assigning them to Class C workloads, while reserving the highest-performing silicon for Class A jobs.
The PAL Scheduling Policy
PAL moves beyond simple greedy approaches (like assigning the fastest GPU to the most sensitive job) by introducing a co-optimization strategy for Locality and Variability.
The LV-Product Metric
Traditional schedulers prioritize locality—packing jobs within the same node to minimize network latency. However, PAL recognizes a critical trade-off: it may be faster to incur a network penalty by spreading a job across multiple nodes if it means avoiding a significantly slow GPU on a single node. PAL quantifies this using an $L \times V$ matrix, calculating an "LV-Product" that weighs the performance penalty of hardware variability against the latency penalty of decreased locality.
Scalability through Clustering
To remain viable for industrial-scale clusters containing tens of thousands of GPUs, PAL employs K-Means clustering. By binning GPUs with similar performance profiles into clusters, PAL reduces the search space for scheduling decisions, ensuring that the computational overhead of the scheduler remains low even as the cluster grows.
Experimental Methodology
The authors evaluated PAL using a combination of physical hardware and large-scale simulations:
- Physical Testbed: A 64-GPU cluster on the TACC Frontera supercomputer, utilizing NVIDIA Quadro RTX 5000 GPUs.
- Workload Traces: The evaluation used production traces from Microsoft’s Philly cluster (Sia-Philly) and a high-density trace (Synergy) to test steady-state performance.
- Model Diversity: The benchmarks covered a wide range of domains, including image classification (ResNet-50, VGG19), generative modeling (DCGAN), 3D vision (PointNet), and Natural Language Processing (BERT, GPT-2).
Key Results
PAL was compared against established schedulers, including Tiresias (which prioritizes packing) and Gandiva (which allows for more fluid migration). The results demonstrate substantial improvements across all major metrics:
- Job Completion Time (JCT): PAL achieved a 42% improvement in geomean JCT compared to Tiresias.
- Makespan: The total time required to complete a batch of jobs was reduced by 47%.
- Cluster Utilization: By reducing the time resources spent waiting for stragglers, PAL increased overall cluster utilization by 28%.
- Real-World Validation: On the 64-GPU physical testbed, PAL maintained a 24% improvement in average JCT over Tiresias, confirming that the performance gains observed in simulation translate to production environments.
Discussion and Future Work
PAL demonstrates that hardware variability is a first-order concern for modern ML clusters. The stability of GPU performance over time—where a "slow" GPU remains consistently slow relative to its peers—allows for effective offline profiling.
However, several avenues for future research remain. Currently, PAL relies on offline profiling; transitioning to dynamic online re-profiling could help the system adapt to hardware aging or environmental shifts in real-time. Additionally, while this study focused on "iso-architecture" clusters, extending the LV-Product model to heterogeneous environments (e.g., clusters mixing NVIDIA A100s and H100s) and more complex network topologies would further enhance its utility in diverse data center settings.
Conclusion
By breaking the "iso-architecture" assumption, PAL provides a more accurate reflection of hardware reality. Through its sensitivity-aware classification and the LV-Product metric, PAL effectively balances the competing demands of hardware performance and network locality, offering a significant leap forward in GPU cluster efficiency and ML workload throughput.
Summary updated