Flexible Job Scheduling With Spatial-Temporal Compatibility for In-Network Aggregation
In-Network Aggregation (INA) solutions represent the forefront in advancing All-Reduce, utilizing limited switch memory for efficient gradient aggregation. However, existing INA solutions primarily focus on enhancing aggregation efficiency, often overlooking the efficient utilization of memory. Isolation solutions typically pre-allocate resources for each job, leading to memory wastage due to the uncontrolled use of resources. In contrast, the sharing solutions encounter significant memory contention, resulting in performance degradation within a multi-tenant environment. In this paper, we propose DynaINA, a flexible job scheduler to support multi-tenant training. The core idea of DynaINA is to provide spatial and temporal compatibility between jobs. For spatial compatibility, DynaINA utilizes multiple dynamic memory pools to provide job isolation. For temporal compatibility, DynaINA employs contention-aware job scheduling to facilitate memory sharing. Furthermore, DynaINA prioritizes communication-intensive jobs, leveraging the benefits of INA to enhance overall performance in training clusters. Extensive experiments with popular vision and language models demonstrate that DynaINA reduces training time by up to 65.16% and improves switch memory utilization by up to 85.02% compared to state-of-the-art solutions in a 100Gbps network.
Authors
- Keqiu Li (ORCID: https://orcid.org/0000-0003-1758-3030)
- Lei Zhong (ORCID: https://orcid.org/0009-0002-5945-4368)
- Song Zhang (ORCID: https://orcid.org/0000-0001-7448-0850)
- Wenxin Li (ORCID: https://orcid.org/0000-0001-8507-0339)
- Yulong Li (ORCID: https://orcid.org/0009-0009-5941-8739)
- Yan Yao (ORCID: https://orcid.org/0009-0002-0700-7654)
- Yuxuan Du (ORCID: https://orcid.org/0009-0000-3089-906X)
Institutions
- Tianjin University (CN)
Publication Details
- Journal
- IEEE Transactions on Computers
- Published
- 2024-12-27
- DOI
- https://doi.org/10.1109/tc.2024.3523420
- Citations
- 1
- Primary Topic
- Advanced Wireless Network Optimization
- Type
- article
- Field-Weighted Citation Impact
- 0.21