BlueField-2 SmartNIC的性能特征
Performance Characteristics of the BlueField-2 SmartNIC
摘要:
高性能计算(HPC)研究人员长期以来一直设想通过使用嵌入在网络结构中的可编程处理元件来改进应用工作流的场景。最近,供应商推出了可编程智能网络接口卡(SmartNetwork Interface Card,SmartNIC),使计算能够卸载到网络边缘。HPC和高性能数据分析社区都对了解这些设备在即将推出的系统的数据路径中可能发挥的作用非常感兴趣。本文重点介绍NVIDIA的新BlueField-2 SmartNIC在以太网环境中使用时的网络和计算特性。对于网络评估,我们在位于主机、SmartNIC和远程主机的处理器之间进行了多次传输实验。这些测试说明在传输过程中SmartNIC上有多少处理余量可用。对于计算评估,我们使用stress-ng基准测试将BlueField-2与其他服务器进行比较,并对适合硬件的卸载操作类型设置实际界限。我们的研究结果表明,虽然BlueField-2提供了一种在网络边缘处理数据的灵活方法,但必须非常小心,不要压倒硬件。虽然主机很容易使网络链路饱和,但SmartNIC的嵌入式处理器可能没有足够的计算资源来维持使用内核空间数据包处理时预期带宽的一半以上。从计算的角度来看,SmartNIC上的加密操作、争用下的内存操作和卡上IPC操作的性能明显优于我们实验中用于比较的通用服务器。因此,主要关注这些操作的应用程序可能是卸载到SmartNIC的良好候选者。
英文摘要:
High-performance computing (HPC) researchers have long envisioned scenarios where application workflows could be improved through the use of programmable processing elements embedded in the network fabric. Recently, vendors have introduced programmable Smart Network Interface Cards (SmartNICs) that enable computations to be offloaded to the edge of the network. There is great interest in both the HPC and high-performance data analytics communities in understanding the roles these devices may play in the data paths of upcoming systems. This paper focuses on characterizing both the networking and computing aspects of NVIDIA's new BlueField-2 SmartNIC when used in an Ethernet environment. For the networking evaluation we conducted multiple transfer experiments between processors located at the host, the SmartNIC, and a remote host. These tests illuminate how much processing headroom is available on the SmartNIC during transfers. For the computing evaluation we used the stress-ng benchmark to compare the BlueField-2 to other servers and place realistic bounds on the types of offload operations that are appropriate for the hardware. Our findings from this work indicate that while the BlueField-2 provides a flexible means of processing data at the network's edge, great care must be taken to not overwhelm the hardware. While the host can easily saturate the network link, the SmartNIC's embedded processors may not have enough computing resources to sustain more than half the expected bandwidth when using kernel-space packet processing. From a computational perspective, encryption operations, memory operations under contention, and on-card IPC operations on the SmartNIC perform significantly better than the general-purpose servers used for comparisons in our experiments. Therefore, applications that mainly focus on these operations may be good candidates for offloading to the SmartNIC.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。