揭秘数据路径加速器增强型离路 SmartNIC
Demystifying Datapath Accelerator Enhanced Off-path SmartNIC
AI总结:
本文首次表征 BF3 SmartNIC 的 DPA 架构,揭示其性能短板与计算、网络、内存优势,并提出三项编程优化准则,使键值聚合吞吐量最高提升 4.3 倍。
摘要:
现代云中的网络速度快速增长,因此引入 SmartNIC 来卸载网络处理任务,甚至应用逻辑。然而,诸如 BlueFiled-2 之类的典型多核 SmartNIC 只能利用其嵌入式处理器处理控制平面任务,这些处理器的内存带宽和计算能力有限。另一方面,云应用演进迅速,以至于 SmartNIC 中数量有限的固定硬件引擎无法满足云应用的需求。因此,SmartNIC 程序员需要可编程数据路径加速器(DPA)来以线速处理网络流量。但是,尚无现有工作揭示现有 DPA 的性能特征。为此,我们首次对最新的 DPA 增强型 BlueFiled-3(BF3)SmartNIC 进行架构表征。我们的评估结果表明,BF3 的 DPA 明显弱于离路 Arm 处理器和主机 CPU。尽管如此,我们仍发现 DPA 具有三项独特的架构特征,可释放 DPA 的性能潜力。具体而言,我们展示了如何利用 DPA 在计算、网络和内存子系统方面的三项架构特征。随后,我们为程序员提出三项重要准则,以充分释放 DPA 的潜力。为证明我们方法的有效性,我们针对每项准则开展了详细的案例研究。我们关于键值聚合的案例研究通过使用这些准则优化内存组合,实现了最高 4.3 倍的吞吐量提升。
英文摘要:
Network speeds grow quickly in the modern cloud, so SmartNICs are introduced to offload network processing tasks, even application logic. However, typical multicore SmartNICs such as BlueFiled-2 are only capable of processing control-plane tasks with their embedded processors that have limited memory bandwidth and computing power. On the other hand, cloud applications evolve rapidly, such that a limited number of fixed hardware engines in a SmartNIC cannot satisfy the requirements of cloud applications. Therefore, SmartNIC programmers call for a programmable datapath accelerator (DPA) to process network traffic at line rate. However, no existing work has unveiled the performance characteristics of the existing DPA. To this end, we present the first architectural characterization of the latest DPA-enhanced BlueFiled-3 (BF3) SmartNIC. Our evaluation results indicate that BF3's DPA is significantly wimpier than the off-path Arm processor and the host CPU. However, we still identify that DPA has three unique architectural characteristics that unleash the performance potential of DPA. Specifically, we demonstrate how to take advantage of DPA's three architectural characteristics regarding computing, networking, and memory subsystems. Then we propose three important guidelines for programmers to fully unleash the potential of DPA. To demonstrate the effectiveness of our approach, we conduct detailed case studies regarding each guideline. Our case study on key-value aggregation achieves up to 4.3$\times$ higher throughput by using our guidelines to optimize memory combinations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。