arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1611.05943cs.NI
收藏

P4中的外部对象:一种ROHC报头压缩方案的实例研究

Extern Objects in P4: an ROHC Header Compression Scheme Case Study

Jeferson Santiago da Silva, François-Raymond Boyer, Laurent-Olivier Chiquette, J. M. Pierre Langlois

摘要:

P4是一种新兴的分组处理语言,用户可以用它来描述分组在交换单元中如何被处理。本文介绍了一种实现P4中不支持的复杂操作的方法。在这项工作中,我们探索了两种不同的方法来向P4添加扩展:i)使用新的本地原语和ii)使用外部实例。作为一个案例研究,ROHC实体的实现和调用的P4程序。测试表明,在归一化数据包延迟方面,两种方法的相对性能相似。然而,外部实例似乎更适合于特定于目标的切换应用程序,其中制造商/供应商可以指定自己的特定操作,而无需更改P4语法和语义。Extern实例只需要更改特定于目标的后端编译器,同时保持P4前端编译器不变。使用exclusive还导致更优雅的代码解决方案,因为它们是在交换机核心外部实现的,从而减少了可能由交换机管道实现中的修改引起的副作用风险。

英文摘要:

P4 is an emergent packet-processing language with which the user can describe how the packets are to be processed in a switching element. This paper presents a way to implement complex operations that are not natively supported in P4. In this work, we explored two different methods to add extensions to P4: i) using new native primitives and ii) using extern instances. As a case study, an ROHC entity was implemented and invoked in a P4 program. The tests showed similar relative performance in both methods in terms of normalized packet latency. However, extern instances appear to be more suitable for target-specific switching applications, where the manufacturer/vendor can specify its own specific operations without changes in the P4 syntax and semantics. Extern instances only require changes in the target-specific backend compiler while keeping the P4 frontend compiler unchanged. The use of externs also results in a more elegant code solution since they are implemented outside the switch-core, thus reducing side effects risks that can be caused by a modification in a switch pipeline implementation.

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

↑