Oct 30, 2025
P4 Developer Days webinar, “P4sim: Protocol-Independent Packet Processors in ns-3”
p4-dev-day-p4sim
Our PhD student Mingyu Ma presented our work at the P4 Language Consortium, titled “P4Sim: Simulating Programmable Switches in ns-3.”
Network simulation is essential for evaluating new architectures and protocols before deployment. While ns-3 is a widely used discrete-event network simulator, it lacks native support for programmable data planes described in P4. P4Sim bridges this gap by integrating P4’s protocol-independent, table-driven packet processing model into the ns-3 framework. It allows researchers and developers to prototype and test P4 programs in simulation environments without requiring hardware. P4Sim supports P4 architectures such as V1Model, PSA, and PNA, enabling studies on custom switching logic, in-band telemetry, and other programmable networking scenarios.
For more information, please visit the Webpage.