Abstract
First-come first-serve scheduling can result in substantial (up to 10%) transiently idle nodes on supercomputers. Recognizing that such unfilled nodes are well-suited for deep neural network (DNN) training due to their flexible nature, prior work proposed re-scaling DNN tasks to fit schedule gaps as a mixed-integer linear programming (MILP) problem. Here, we introduce MalleTrain, the first practical implementation of this approach. MalleTrain generalizes the concept by supporting DNN applications where model information is unknown before runtime. Key to this innovation is a lightweight online job profiling advisor (JPA) that collects critical scalability information in real time. Our experimental evaluation on a supercomputer GPU cluster demonstrates that MalleTrain improves training throughput by up to 22.3% without requiring manual scalability data from users.
Introduction
Supercomputers represent massive capital investments, yet they rarely reach 100% utilization. Even with sophisticated schedulers, roughly 10% of nodes often sit idle because the next job in the queue is too large to fit into the remaining "fragmented" free slots—known as "unfillable" nodes. While DNN training is naturally parallel and could theoretically expand to fill these gaps, practical implementation is hindered by coordination complexity and the "information gap": the need for precise scalability data to optimize resource allocation.
MalleTrain Architecture and Methods
MalleTrain introduces a holistic architecture to manage these scavenged resources. Its core components include a Scavenger that monitors the main batch scheduler (e.g., Slurm or PBS) to "adopt" idle nodes and a Resource Allocator that employs MILP to determine optimal node-to-job mappings.
A standout innovation is the Job Profiling Advisor (JPA). Instead of requiring manual performance data, JPA profiles jobs at runtime using an "inverse-order" strategy. It scales a job to its maximum requested node count immediately, then scales down incrementally. This approach leverages the observation that scale-up operations have significantly higher overhead than scale-down operations, allowing for rapid collection of scalability curves with minimal disruption to the training process.
Experimental Evaluation
The system was evaluated using scheduler traces from the Summit and Polaris supercomputers and tested on a 32-node cluster equipped with 128 NVIDIA A100 GPUs. Workloads included NASBench101 and various standard DNN models for hyperparameter optimization (HPO) tasks.
Key findings include:
- Asymmetric Scaling Costs: Experimental data confirmed that scaling up is significantly more time-consuming than scaling down, justifying the JPA's inverse-order strategy.
- Topology Resilience: On modern high-speed interconnects like HPE Slingshot 11, the physical distribution of fragmented nodes was found to have a negligible impact on training speed, confirming the viability of scavenging scattered resources.
Results and Conclusion
MalleTrain achieved up to a 22.3% improvement in training throughput over FreeTrain, the previous state-of-the-art. The system successfully harnessed transient nodes idle for as little as 60 seconds. By automating the profiling process, MalleTrain moves from a theoretical optimization to a practical tool that requires zero extra effort from researchers. Future work will address potential I/O bottlenecks in real-world scenarios with massive datasets and explore applications in cloud-based spot instance management.
Summary updated