arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.07385cs.NI
收藏

P4-PSFP:面向时间敏感网络的基于 P4 的每流过滤与策略管控

P4-PSFP: P4-Based Per-Stream Filtering and Policing for Time-Sensitive Networking

Fabian Ihle, Steffen Lindner, Michael Menth

AI总结:

针对 TSN 交换机缺乏完整 PSFP 的问题,本文在 100 Gb/s 硬件交换机上实现基于 P4 的每流过滤、信用/时间计量与亚微秒同步,支持最多 35840 条流并开源验证。

摘要:

时间敏感网络(TSN)扩展了以太网以实现实时通信。在 TSN 中,通过用于带宽整形的基于信用的整形器(CBS)和用于流量调度的时间感知整形器(TAS)等机制,实现了有界延迟和零拥塞导致的丢包。通常,TSN 要求流在传输前被显式接纳。为确保被接纳的流量符合接纳控制所指示的流量描述符,TSN 定义了每流过滤与策略管控(PSFP)。对于基于信用的计量,会采用众所周知的令牌桶策略器。然而,基于时间的计量需要依赖时间的交换机行为以及亚微秒精度的时间同步。尽管支持 TSN 的交换机支持多种 TSN 流量整形机制,但 PSFP 的完整实现仍然不可用。为弥合这一差距,我们提出了在每端口 100 Gb/s 硬件交换机上基于 P4 的 PSFP 实现。我们解释了 PSFP 实现中最值得关注的方面,其代码已在 GitHub 上提供。我们展示了基于信用和基于时间的策略管控以及同步能力,以验证 P4-PSFP 的功能和有效性。根据流识别方法的不同,该实现最多可扩展至 35840 条流。只要合适的 TSN 交换机缺少此功能,P4-PSFP 就可在实践中使用。此外,其实现可能有助于其他需要时间同步的基于 P4 的硬件实现。

英文摘要:

Time-Sensitive Networking (TSN) extends Ethernet to enable real-time communication. In TSN, bounded latency and zero congestion-based packet loss are achieved through mechanisms such as the Credit-Based Shaper (CBS) for bandwidth shaping and the Time-Aware Shaper (TAS) for traffic scheduling. Generally, TSN requires streams to be explicitly admitted before being transmitted. To ensure that admitted traffic conforms with the traffic descriptors indicated for admission control, Per-Stream Filtering and Policing (PSFP) has been defined. For credit-based metering, well-known token bucket policers are applied. However, time-based metering requires time-dependent switch behavior and time synchronization with sub-microsecond precision. While TSN-capable switches support various TSN traffic shaping mechanisms, a full implementation of PSFP is still not available. To bridge this gap, we present a P4-based implementation of PSFP on a 100 Gb/s per port hardware switch. We explain the most interesting aspects of the PSFP implementation whose code is available on GitHub. We demonstrate credit-based and time-based policing and synchronization capabilities to validate the functionality and effectiveness of P4-PSFP. The implementation scales up to 35840 streams depending on the stream identification method. P4-PSFP can be used in practice as long as appropriate TSN switches lack this function. Moreover, its implementation may be helpful for other P4-based hardware implementations that require time synchronization.

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

↑