Lune

NSDI2026顶会

Supercharging Packet-level Network Simulation of Large Model Training via Memoization and Fast-Forwarding

Fei Long, Kaihui Gao, Li Chen, Dan Li, Yiwei Zhang, Fei Gui, Yitao Xing, Wenjia Wei, Bingyang Liu

摘要

Packet-level discrete-event simulation (PLDES) is a prevalent tool for evaluating detailed performance of large model training. Although PLDES offers high fidelity and generality, its slow performance has plagued networking practitioners. Existing optimization techniques either simplify the network model, resulting in large errors; or execute it in parallel using multiple processors, with an upper bound on speedup.

This paper explores an alternative optimization direction that reduces the computational loads of PLDES while maintaining high fidelity. Our key insight is that, in distributed LLM training, packet-level traffic behaviors often exhibit repetitive contention patterns and steady-states where flow rates stabilize, ignoring these redundant discrete events speeds up the simulation considerably and the error is negligible. We realize this idea by proposing Wormhole, a user-transparent PLDES kernel capable of automatically memoization for unsteady-states and skipping for steady-states. Wormhole adopts network partitioning, state memoization and reuse, and rate-based steady-state identification to accurately determine the periods of each flow's steady-state, while maintaining simulation consistency after fast-forwarding. Experiments demonstrate that Wormhole can achieve a 744× speedup over the original ns-3 (510× for MoE workload), with a bounded error of <1%. Applying current multithreading parallel techniques and Wormhole together allows a 1012× speedup, reducing the simulation time for one GPT-13B training under 128 GPUs from 9 hours to 5 minutes.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Efficient large-scale language model training on GPU clusters using megatron-LM 引用了 Language Models are Few-Shot Learners
  • Characterization of Large Language Model Development in the Datacenter 引用了 Efficient large-scale language model training on GPU clusters using megatron-LM
  • Characterization of Large Language Model Development in the Datacenter 引用了 Language Models are Few-Shot Learners
  • Characterization of Large Language Model Development in the Datacenter 引用了 MegaScale: Scaling Large Language Model Training to More Than 10, 000 GPUs
  • MegaScale: Scaling Large Language Model Training to More Than 10, 000 GPUs 引用了 Efficient large-scale language model training on GPU clusters using megatron-LM
  • MegaScale: Scaling Large Language Model Training to More Than 10, 000 GPUs 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper20

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Efficient large-scale language model training on GPU clusters using megatron-LMDeepak Narayanan, Mohammad Shoeybi, Jared Casper, Patrick LeGresley 等SC 2021 · 576 次引用
  3. MegaScale: Scaling Large Language Model Training to More Than 10, 000 GPUsZiheng Jiang, Haibin Lin, Yinmin Zhong, Qi Huang 等NSDI 2024 · 415 次引用
  4. Characterization of Large Language Model Development in the DatacenterQinghao Hu, Zhisheng Ye, Zerui Wang, Guoteng Wang 等NSDI 2024 · 192 次引用
  5. Alibaba HPN: A Data Center Network for Large Language Model TrainingKun Qian, Yongqing Xi, Jiamin Cao, Jiaqi Gao 等SIGCOMM 2024 · 173 次引用

相关 Paper

  1. GeDES: GPU-Driven Discrete Event Network SimulatorQinyong Li, Zhiwei Zhao, Geyong Min, Zi Wang 等EuroSys 2026 · 1 次引用
  2. Unison: A Parallel-Efficient and User-Transparent Network Simulation KernelSongyuan Bai, Hao Zheng, Chen Tian, Xiaoliang Wang 等EuroSys 2024 · 20 次引用
  3. DONS: Fast and Affordable Discrete Event Network Simulation with Automatic ParallelizationKaihui Gao, Li Chen, Dan Li, Vincent Liu 等SIGCOMM 2023 · 30 次引用
  4. Days: Discrete-Event Network Simulation on SteroidsBaochun LiINFOCOM 2026
  5. PhOrch: Proactive Phase-Level Flow Path Orchestration For Contention-Free LLM TrainingZiyang Zou, Shuangwu Chen, Tao Zhang, Huihuang Qin 等INFOCOM 2026
黄昏的海面,两侧是细线勾勒的悬崖