arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.13694cs.NIcs.DC
收藏

P4COM:使用可编程交换机的网内计算

P4COM: In-Network Computation with Programmable Switches

Ge Chen, Gaoxiong Zeng, Li Chen

摘要:

传统上,交换机只提供转发服务,在分布式计算框架中没有计算信用。新兴的可编程交换机使网内计算(INC)成为可能,即,将一些计算卸载到交换机数据平面。虽然一些提议试图将计算卸载到特殊硬件上(例如,NetFPGA),许多实际问题尚未得到解决。因此,我们提出了P4 COM-一个用户友好的,内存高效的,容错的框架,实现了网络计算(例如,MapReduce)与可编程开关。P4 COM由三个模块组成。首先,P4 COM通过一个轻量级的解释器自动地将应用逻辑翻译成交换数据平面程序。其次,P4 COM采用了一种存储管理策略来有效地利用有限的交换机片上存储器。第三,P4 COM提供了一个有效载荷切割机制来处理数据包丢失。我们已经建立了一个P4 COM原型与赤脚Tofino交换机和多个商品服务器。通过测试床实验和大规模仿真相结合的方法,我们证明了P4 COM能够在10 Gbps的链路上实现线速处理,对于MapReduce风格的应用,可以将数据混洗吞吐量提高2-5倍。

英文摘要:

Traditionally, switches only provide forwarding services and have no credits on computation in distributed computing frameworks. The emerging programmable switches make in-network computing (INC) possible, i.e., offloading some computation to the switch data plane. While some proposals have attempted to offload computation onto special hardwares (e.g., NetFPGA), many practical issues have not been addressed. Therefore, we propose P4COM - a user-friendly, memory-efficient, and fault-tolerant framework realizing in-network computation (e.g., MapReduce) with programmable switches. P4COM consists of three modules. First, P4COM automatically translates application logic to switch data plane programs with a lightweight interpreter. Second, P4COM adopts a memory management policy to efficiently utilize the limited switch on-chip memory. Third, P4COM provides a cutting-payload mechanism to handle packet losses. We have built a P4COM prototype with a Barefoot Tofino switch and multiple commodity servers. Through a combination of testbed experiments and large-scale simulations, we show that P4COM is able to achieve line-rate processing at 10Gbps links, and can increase the data shuffling throughput by 2-5 times for the MapReduce-style applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑