A Composable Emulation Framework for Whitebox Switches

Congcong Miao, Tencent; Xianneng Zou, Tencent and Tsinghua Shenzhen International Graduate School; Chuwen Zhang, Tsinghua University; Shiping Yang, Qihang Liu, Zhijie Yan, and Yanke Zhang, Tencent; Yong Jiang, Tsinghua Shenzhen International Graduate School; Qiao Xiang, Xiamen University; Xin Jin, Peking University; Zili Meng, Hong Kong University of Science and Technology; Ang Chen, University of Michigan

High-fidelity network emulation is indispensable for reliable operation at scale. While existing emulators are built for monolithic, blackbox switches, emerging switch architectures are chipping away at this assumption. Cloud providers routinely source device modules from different vendors and compose them together to construct disaggregated, whitebox switches. This raises novel challenges in network emulation, as we must move from building bespoke firmware-based emulators to a composable emulation framework where diverse emulators can be stitched together for high-fidelity emulation: whether for data plane, control plane, or peripheral modules (e.g., optical components). We have designed the first such framework, MirSwitch, addressing key challenges in reconciling interface contract differences across emulator modules using an adaptor-centric approach. MirSwitch can faithfully emulate a wide range of functionalities of whitebox switches, while achieving 2.2× forwarding performance improvements which are critical for forwarding emulation. We have deployed MirSwitch in our production network, which our operators have used to troubleshoot 97.5% of a total of 203 issues in a recent year.

NSDI '26 Open Access Sponsored by
King Abdullah University of Science and Technology (KAUST)

Open Access Media

USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.

BibTeX
@inproceedings {316678,
author = {Congcong Miao and Xianneng Zou and Chuwen Zhang and Shiping Yang and Qihang Liu and Zhijie Yan and Yanke Zhang and Yong Jiang and Qiao Xiang and Xin Jin and Zili Meng and Ang Chen},
title = {A Composable Emulation Framework for Whitebox Switches},
booktitle = {23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI 26)},
year = {2026},
isbn = {978-1-939133-54-0},
address = {Renton, WA},
pages = {1653--1667},
url = {https://www.usenix.org/conference/nsdi26/presentation/miao-whitebox},
publisher = {USENIX Association},
month = may
}

Presentation Video