11th EAI International Conference on Performance Evaluation Methodologies and Tools

Research Article

Network Emulation Support in ns-3 Through Kernel Bypass Techniques

  • @INPROCEEDINGS{10.4108/eai.5-12-2017.2274721,
        author={Pasquale  Imputato and Stefano  Avallone and Tommaso  Pecorella},
        title={Network Emulation Support in ns-3 Through Kernel Bypass Techniques},
        proceedings={11th EAI International Conference on Performance Evaluation Methodologies and Tools},
        publisher={ACM},
        proceedings_a={VALUETOOLS},
        year={2018},
        month={8},
        keywords={ns-3 traffic control queueing discipline emulation netmap},
        doi={10.4108/eai.5-12-2017.2274721}
    }
    
  • Pasquale Imputato
    Stefano Avallone
    Tommaso Pecorella
    Year: 2018
    Network Emulation Support in ns-3 Through Kernel Bypass Techniques
    VALUETOOLS
    ACM
    DOI: 10.4108/eai.5-12-2017.2274721
Pasquale Imputato1,*, Stefano Avallone1, Tommaso Pecorella2
  • 1: Università degli studi di Napoli Federico II
  • 2: Università degli studi di Firenze
*Contact email: p.imputato@gmail.com

Abstract

The network emulation support in ns-3 enables the interaction with real devices allowing the integration of a simulated node or network in an emulated scenario. Also, the network emulation support in a simulator is fundamental to validate its models. For both purposes, the emulation capabilities in ns-3 must reproduce the real host incoming and outgoing networking paths to increase the emulation credibility. In this work, we present our effort to introduce kernel bypass techniques in ns-3 to improve the network emulation support. We used netmap, a fast packets processing framework, to bypass the host networking stack and gain direct access to network device. We designed and introduced in ns-3 a new device to perform emulation that uses the netmap primitives to read and write packets on a real device. We carried out a preliminary benchmark of our device in an ethernet back-to-back scenario. The results show a more accurate performance in terms of delay and more realistic distributions of packets backlog in traffic-control of ns-3 and of packets inflight