Enhancing P4-Based Network Emulation Fidelity Through a Lightweight Virtual Time System and Application Evaluation

Gong Chen et al.

ACM Transactions on Modeling and Computer Simulation2025https://doi.org/10.1145/3725530article
AJG 3ABDC B
Weight
0.44

Abstract

P4 serves as a programming language for configuring flexible and programmable network data planes, facilitating the development of custom protocols and programmable switches, and driving innovation in software-defined networking and network function virtualization. While the Linux container based network emulator, Mininet, coupled with the BMv2 software P4 switch, is widely used for rapid prototyping of P4-based applications, BMv2’s diminished performance raises fidelity concerns under high traffic and large network scenarios. In this paper, we introduce a lightweight virtual time system integrated into Mininet with BMv2 to enhance fidelity and scalability. By applying a time dilation factor (TDF) to interactions between containers and the physical machine, we optimize the emulated P4 network’s perceived speed from the application processes’ perspective. System evaluation demonstrates accurate emulation of significantly larger networks under high loads with minimal system overhead. We showcase our system’s utility through two network applications: an emulation of a TCP SYN flood attack and an ECMP load balancer. Evaluating against a production-grade software switch, Open vSwitch, and a physical testbed, we highlight the virtual time system’s improvement in temporal fidelity despite the observed performance degradation in BMv2 software switches.

3 citations

Open via your library →

Cite this paper

https://doi.org/https://doi.org/10.1145/3725530

Or copy a formatted citation

@article{gong2025,
  title        = {{Enhancing P4-Based Network Emulation Fidelity Through a Lightweight Virtual Time System and Application Evaluation}},
  author       = {Gong Chen et al.},
  journal      = {ACM Transactions on Modeling and Computer Simulation},
  year         = {2025},
  doi          = {https://doi.org/https://doi.org/10.1145/3725530},
}

Paste directly into BibTeX, Zotero, or your reference manager.

Flag this paper

Enhancing P4-Based Network Emulation Fidelity Through a Lightweight Virtual Time System and Application Evaluation

Flags are reviewed by the Arbiter methodology team within 5 business days.


Evidence weight

0.44

Balanced mode · F 0.40 / M 0.15 / V 0.05 / R 0.40

F · citation impact0.32 × 0.4 = 0.13
M · momentum0.57 × 0.15 = 0.09
V · venue signal0.50 × 0.05 = 0.03
R · text relevance †0.50 × 0.4 = 0.20

† Text relevance is estimated at 0.50 on the detail page — for your query’s actual relevance score, open this paper from a search result.