Minimizing Optical Circuit Reconfigurations for Concurrent Collectives

Optical circuit switches (OCSes) provide high-bandwidth point-to-point circuits in GPU clusters, but each optical port attaches to only one peer at a time, and reconfiguring a connection interrupts transmission. In large-model training, these ports are shared by many communication domains, each running its own collective instance, called a CCL kernel; often, several of these kernels execute the same collective at the same time. Because each step of the collective can reach a different peer, domains advancing through the steps in the same order may require a reconfiguration at every step. We introduce the mega CCL kernel to schedule these kernels jointly. When a collective permits its steps to be reordered, different domains can take different legal steps in the same round, letting consecutive rounds share the same circuits and reducing the number of reconfigurations. Because the kernels are interchangeable, we need not decide the steps of every kernel separately. Instead, in each round we count how many kernels run each pattern, and then use bipartite matching to turn those counts into a concrete schedule for each kernel. We call this the count model, as opposed to the direct formulation that decides each kernel separately, and prove that the two give the same configuration sequences and the same optimum while the count model is substantially easier to solve. On a fully loaded 64-supernode, 64-domain scheduling instance, joint scheduling cuts pairwise-AlltoAll reconfigurations from 62 to 3 and HD AllReduce from 10 to 2. In synthetic training replays parameterized by eight real models, it reduces iteration time by up to about 34%; on a 64-GPU test case, the count model solves over six orders of magnitude faster than the direct formulation.

Authors

Publication Details

Journal
arXiv
Published
2026-11-25
DOI
https://doi.org/10.48550/arxiv.2611.34759
Primary Topic
Parallel Computing and Optimization Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Minimizing Optical Circuit Reconfigurations for Concurrent Collectives

Peirui Cao, Xinchi Han, Kairui Zhou, Haoyuan Liu et al.
arXiv
Parallel Computing and Optimization Techniques
preprint

Minimizing Optical Circuit Reconfigurations for Concurrent Collectives

Peirui Cao, Xinchi Han, Kairui Zhou, Haoyuan Liu, Xun Nie, Weihao Jiang, Shizhen Zhao, Yike Liu, Ximeng Liu, Zhuoran Liu, Jiachen Wang, Xuanyu Wang, Xinbing Wang
preprint en

Abstract

Optical circuit switches (OCSes) provide high-bandwidth point-to-point circuits in GPU clusters, but each optical port attaches to only one peer at a time, and reconfiguring a connection interrupts transmission. In large-model training, these ports are shared by many communication domains, each running its own collective instance, called a CCL kernel; often, several of these kernels execute the same collective at the same time. Because each step of the collective can reach a different peer, domains advancing through the steps in the same order may require a reconfiguration at every step. We introduce the mega CCL kernel to schedule these kernels jointly. When a collective permits its steps to be reordered, different domains can take different legal steps in the same round, letting consecutive rounds share the same circuits and reducing the number of reconfigurations. Because the kernels are interchangeable, we need not decide the steps of every kernel separately. Instead, in each round we count how many kernels run each pattern, and then use bipartite matching to turn those counts into a concrete schedule for each kernel. We call this the count model, as opposed to the direct formulation that decides each kernel separately, and prove that the two give the same configuration sequences and the same optimum while the count model is substantially easier to solve. On a fully loaded 64-supernode, 64-domain scheduling instance, joint scheduling cuts pairwise-AlltoAll reconfigurations from 62 to 3 and HD AllReduce from 10 to 2. In synthetic training replays parameterized by eight real models, it reduces iteration time by up to about 34%; on a 64-GPU test case, the count model solves over six orders of magnitude faster than the direct formulation.

arXiv
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon