在gem5上启用内核旁路网络
Enabling Kernel Bypass Networking on gem5
摘要:
计算机系统的全系统仿真对于捕捉未来系统中各种硬件和软件组件之间的复杂相互作用至关重要。由于横向扩展系统的重要性日益增加,网络子系统的建模对于全系统仿真的逼真度是必不可少的。网络软件栈在过去十年中经历了重大变化,内核旁路网络栈和数据平面网络正在迅速取代传统的内核网络栈。然而,目前最先进的架构模拟器仍然使用内核网络,这排除了现实的网络应用场景。在这项工作中,我们使内核旁路网络堆栈的gem5,最先进的全系统架构模拟器。我们扩展了gem 5的NIC硬件模型和设备驱动程序,使其支持用户空间设备驱动程序来运行DPDK框架。我们还在gem 5中实现了一个网络负载生成器硬件模型,以生成各种流量模式,并在不引入数据包丢失的情况下执行每个数据包的时间戳和延迟测量。我们的实验结果表明,DPDK的模拟网络带宽的规模与核和NIC端口的数量。作为两个用例,我们分析了(1)网络性能对几个微架构参数的敏感性,以及(2)直接缓存访问(DCA)技术对DPDK突发大小的敏感性。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。