English

Enabling Kernel Bypass Networking on gem5

Hardware Architecture 2023-01-31 v2 Networking and Internet Architecture

Abstract

Full-system simulation of computer systems is critical to capture the complex interplay between various hardware and software components in future systems. Modeling the network subsystem is indispensable to the fidelity of the full-system simulation due to the increasing importance of scale-out systems. The network software stack has undergone major changes over the last decade, and kernel-bypass networking stacks and data-plane networks are rapidly replacing the conventional kernel network stack. Nevertheless, the current state-of-the-art architectural simulators still use kernel networking which precludes realistic network application scenarios. In this work, we enable kernel bypass networking stack on gem5, the state-of-the-art full-system architectural simulator. We extend gem5's NIC hardware model and device driver to enable the support for userspace device drivers to run the DPDK framework. We also implement a network load generator hardware model in gem5 to generate various traffic patterns and perform per-packet timestamp and latency measurements without introducing packet loss. Our experimental results show that DPDK's simulated network bandwidth scales with the number of cores and NIC ports. As two use cases, we analyze the sensitivity of (1) network performance to several microarchitectural parameters, and (2) direct cache access (DCA) technology to DPDK burst size.

Keywords

Cite

@article{arxiv.2301.09470,
  title  = {Enabling Kernel Bypass Networking on gem5},
  author = {Siddharth Agarwal and Minwoo Lee and Ren Wang and Mohammad Alian},
  journal= {arXiv preprint arXiv:2301.09470},
  year   = {2023}
}

Comments

4 Pages, 4 Figures and 1 Table

R2 v1 2026-06-28T08:17:50.913Z