NGSim: A High-Fidelity and Efficient Simulator for Optimizing Network Function Graphs
Bin Yang, Dian Shen, Jianrui Liu, Beilun Wang
Abstract
High-performance network functions (NFs) are typically designed with modularization, consolidation, and vectorization, forming NF graphs. However, optimizing vectorized NF graphs is challenging due to complex interactions among workload diversity, packet characteristics, and hardware constraints. While intelligent algorithms are promising, tuning them directly on real systems is often impractical due to significant engineering overhead and hardware costs. We argue that a simulator that is interactive, accurate, and efficient is essential for enabling effective NF-graph optimization.We present NGSim, a simulator designed to meet these goals through a hybrid event- and data-driven approach with a decoupled, parallel simulation pipeline. NGSim enables fast and accurate exploration of NF-graph performance under diverse conditions. Evaluation shows that it achieves an average relative error of only 1.38% for throughput and an absolute error of 0.03% for SLO violation rate, while reducing simulation time by 85% compared to its sequential baseline. A case study with reinforcement learning further demonstrates NGSim’s effectiveness, yielding an 11.5% improvement in throughput without violating SLOs.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
Related papers
- NFReducer: Redundant Logic Elimination for Network Functions with Runtime ConfigurationsBangwen Deng, Wenfei WuINFOCOM 2021 · 1 citation
- Compiler-Driven Simulation of Reconfigurable Hardware AcceleratorsZhijing Li, Yuwei Ye, Stephen Neuendorffer, Adrian SampsonHPCA 2022 · 4 citations
- GreenNFV: Energy-Efficient Network Function Virtualization with Service Level Agreement ConstraintsMd. S. Q. Zulkar Nine, Tevfik Kosar, Muhammed Fatih Bulut, Jinho HwangSC 2023 · 8 citations
- Virne: A Comprehensive Benchmark for RL-based Network Resource Allocation in NFVTianfu Wang, Liwei Deng, Xi Chen, Junyang Wang et al.ICLR 2026 · 2 citations
- DONS: Fast and Affordable Discrete Event Network Simulation with Automatic ParallelizationKaihui Gao, Li Chen, Dan Li, Vincent Liu et al.SIGCOMM 2023 · 30 citations
