Days: Discrete-Event Network Simulation on Steroids
Baochun Li
Abstract
As large foundation models are routinely trained with hundreds of thousands of GPU compute nodes, the need for simulating a computer network at scale has become more critical and relevant than ever. Without a doubt, packet-level discrete-event simulation (DES) offers the finest granularity, and thus the highest accuracy. Unfortunately, conventional discrete-event simulators were widely known to be slow, and thus unable to accommodate the scale of modern networks. Recent work in the literature attempted to estimate the performance of large-scale networks using deep neural network models, but such estimation inevitably leads to a loss of packet-level accuracy, when compared to the ground truth from discrete-event simulators.But is it really the case that discrete-event simulators are not performant at scale? In this paper, we advocate that a process-based design is a simpler, more scalable, and performant choice than the current event-based design. We challenge the conventional wisdom that discrete-event simulators lack scalability, and progressively introduce the design and implementation of two new DES frameworks, ns.py and Days, built using Python and Rust, and with modern development advances in generators, asynchronous programming, and stackless coroutines. Our new simulation frameworks are designed to be lean and performant, outperforming existing discrete-event simulators and performance estimators by up to three orders of magnitude.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 6560c817-c93a-4339-a226-0da5e97a541aRelated papers
- DONS: Fast and Affordable Discrete Event Network Simulation with Automatic ParallelizationKaihui Gao, Li Chen, Dan Li, Vincent Liu et al.SIGCOMM 2023 · 30 citations
- DeepQueueNet: towards scalable and generalized network performance estimation with packet-level visibilityQingqing Yang, Xi Peng, Li Chen, Libin Liu et al.SIGCOMM 2022 · 43 citations
- GeDES: GPU-Driven Discrete Event Network SimulatorQinyong Li, Zhiwei Zhao, Geyong Min, Zi Wang et al.EuroSys 2026 · 1 citation
- Nextmini: A New Research Testbed for Network Emulation and ExperimentationXindan Zhang, Shengwen Chang, Baochun LiINFOCOM 2026 · 1 citation
- Unison: A Parallel-Efficient and User-Transparent Network Simulation KernelSongyuan Bai, Hao Zheng, Chen Tian, Xiaoliang Wang et al.EuroSys 2024 · 20 citations
