MLTCP: Congestion Control for DNN Training

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Rajasekaran, Sudarsanan, Narang, Sanjoli, Zabreyko, Anton A., Ghobadi, Manya
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914679735975936
author Rajasekaran, Sudarsanan
Narang, Sanjoli
Zabreyko, Anton A.
Ghobadi, Manya
author_facet Rajasekaran, Sudarsanan
Narang, Sanjoli
Zabreyko, Anton A.
Ghobadi, Manya
contents We present MLTCP, a technique to augment today's congestion control algorithms to accelerate DNN training jobs in shared GPU clusters. MLTCP enables the communication phases of jobs that compete for network bandwidth to interleave with each other, thereby utilizing the network efficiently. At the heart of MLTCP lies a very simple principle based on a key conceptual insight: DNN training flows should scale their congestion window size based on the number of bytes sent at each training iteration. We show that integrating this principle into today's congestion control protocols is straightforward: by adding 30-60 lines of code to Reno, CUBIC, or DCQCN, MLTCP stabilizes flows of different jobs into an interleaved state within a few training iterations, regardless of the number of competing flows or the start time of each flow. Our experiments with popular DNN training jobs demonstrate that enabling MLTCP accelerates the average and 99th percentile training iteration time by up to 2x and 4x, respectively.
format Preprint
id arxiv_https___arxiv_org_abs_2402_09589
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle MLTCP: Congestion Control for DNN Training
Rajasekaran, Sudarsanan
Narang, Sanjoli
Zabreyko, Anton A.
Ghobadi, Manya
Networking and Internet Architecture
Distributed, Parallel, and Cluster Computing
Machine Learning
We present MLTCP, a technique to augment today's congestion control algorithms to accelerate DNN training jobs in shared GPU clusters. MLTCP enables the communication phases of jobs that compete for network bandwidth to interleave with each other, thereby utilizing the network efficiently. At the heart of MLTCP lies a very simple principle based on a key conceptual insight: DNN training flows should scale their congestion window size based on the number of bytes sent at each training iteration. We show that integrating this principle into today's congestion control protocols is straightforward: by adding 30-60 lines of code to Reno, CUBIC, or DCQCN, MLTCP stabilizes flows of different jobs into an interleaved state within a few training iterations, regardless of the number of competing flows or the start time of each flow. Our experiments with popular DNN training jobs demonstrate that enabling MLTCP accelerates the average and 99th percentile training iteration time by up to 2x and 4x, respectively.
title MLTCP: Congestion Control for DNN Training
topic Networking and Internet Architecture
Distributed, Parallel, and Cluster Computing
Machine Learning
url https://arxiv.org/abs/2402.09589