skip to main content
10.1145/3123878.3132002acmconferencesArticle/Chapter ViewAbstractPublication PagescommConference Proceedingsconference-collections
demonstration
Free access

NS4: A P4-driven Network Simulator

Published: 22 August 2017 Publication History

Abstract

We present NS4, a P4-driven network simulator, which is, to the best of our knowledge, the first research effort in applying P4 to network simulation. Key features of NS4 include (1) elimination of laborious and redundant work for developing internal models of the simulator; (2) direct migration from simulation code to real-world P4 devices; (3) simulation of P4-enabled devices and network systems; (4) seamless compatibility with ns-3; (5) better scalability over other P4 behavioral model validation tools.
We proposed and prototyped NS4 by integrating a P4 behavioral model in ns-3, and evaluated its effectiveness by a user case study. Source codes and examples of NS4 are publicly available at https://ns-4.github.io/

References

[1]
Pat Bosshart, Dan Daly, Glen Gibb, Martin Izzard, Nick McKeown, Jennifer Rexford, Cole Schlesinger, Dan Talayco, Amin Vahdat, George Varghese, and David Walker. P4: Programming protocol-independent packet processors. SIGCOMM Comput. Commun. Rev., 44(3):87--95, July 2014.
[2]
ns-3. https://www.nsnam.org/.
[3]
P4 Language Consortium. P4-bmv2. Website. https://github.com/p4lang/behavioral-model.
[4]
Bob Lantz, Brandon Heller, and Nick McKeown. A network in a laptop: Rapid prototyping for software-defined networks. In Proceedings of the 9th ACM SIGCOMM Workshop on Hot Topics in Networks, Hotnets-IX, pages 19:1--19:6, New York, NY, USA, 2010. ACM.
[5]
Barefoot Networks. https://barefootnetworks.com/media/white_papers/Barefoot-Worlds-Fastest-Most-Programmable-Networks.pdf. (Accessed on 07/09/2017).
[6]
Bob Lantz et al. What are mininet's limitations? https://github.com/mininet/mininet/wiki/Introduction-to-Mininet#limits. (Accessed on 07/09/2017).

Cited By

View all
  • (2024)RED-SP-CoDel: Random early detection with static priority scheduling and controlled delay AQM in programmable data planesComputer Communications10.1016/j.comcom.2023.11.026214(149-166)Online publication date: Jan-2024
  • (2023)A survey on network simulators, emulators, and testbeds used for research and educationComputer Networks10.1016/j.comnet.2023.110054237(110054)Online publication date: Dec-2023
  • (2023)Packet processing and data plane program verification: A survey with tools, techniques, and challengesInternational Journal of Communication Systems10.1002/dac.555436:14Online publication date: 14-Jun-2023
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGCOMM Posters and Demos '17: Proceedings of the SIGCOMM Posters and Demos
August 2017
158 pages
ISBN:9781450350570
DOI:10.1145/3123878
Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 22 August 2017

Check for updates

Author Tags

  1. P4
  2. simulation

Qualifiers

  • Demonstration
  • Research
  • Refereed limited

Funding Sources

Conference

SIGCOMM '17
Sponsor:
SIGCOMM '17: ACM SIGCOMM 2017 Conference
August 22 - 24, 2017
CA, Los Angeles, USA

Acceptance Rates

Overall Acceptance Rate 92 of 158 submissions, 58%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)162
  • Downloads (Last 6 weeks)22
Reflects downloads up to 05 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2024)RED-SP-CoDel: Random early detection with static priority scheduling and controlled delay AQM in programmable data planesComputer Communications10.1016/j.comcom.2023.11.026214(149-166)Online publication date: Jan-2024
  • (2023)A survey on network simulators, emulators, and testbeds used for research and educationComputer Networks10.1016/j.comnet.2023.110054237(110054)Online publication date: Dec-2023
  • (2023)Packet processing and data plane program verification: A survey with tools, techniques, and challengesInternational Journal of Communication Systems10.1002/dac.555436:14Online publication date: 14-Jun-2023
  • (2022)M-Emu: A Platform for Multicast EmulationElectronics10.3390/electronics1107115211:7(1152)Online publication date: 6-Apr-2022
  • (2020)IoT dataset generation framework for evaluating anomaly detection mechanismsProceedings of the 15th International Conference on Availability, Reliability and Security10.1145/3407023.3407036(1-6)Online publication date: 25-Aug-2020
  • (2018)NS4Proceedings of the Symposium on SDN Research10.1145/3185467.3185470(1-7)Online publication date: 28-Mar-2018

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media