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

P4-TAS:基于P4的时敏网络时间感知整形器

P4-TAS: P4-Based Time-Aware Shaper for Time-Sensitive Networking

University of Tuebingen(蒂宾根大学)

Fabian Ihle, Moritz Flüchter, Michael Menth

AI总结:

本文提出P4-TAS,一种基于P4的时敏网络时间感知整形器,支持流过滤和 policing,提供MPLS/TSN翻译层,提升400Gbps端口精度,并量化内部延迟以提高配置准确性。

摘要:

时间敏感网络(TSN)是一组IEEE标准,扩展以太网以具备实时能力。其中,时间感知整形器(TAS)通过周期性地打开和关闭出队列来保护计划好的流量,防止低优先级流的影响,从而确保低延迟和有界延迟。确定性网络(DetNet)由IETF标准化,在第三层提供相似保证,并可以利用TSN机制如TAS。商业可用的TSN-capable交换机在硬件中实现TAS,但很少披露TAS机制本身内部的延迟。这些延迟直接影响调度精度,但关于这些延迟的信息很少被系统设计人员所知。在本工作中,我们提出了P4-TAS,一种基于P4的TAS实现,部署在Intel Tofino 2交换机ASIC上,还支持每流过滤和 policing(PSFP)以及PTP时间同步。首先,我们设计了一种新的机制用于周期性队列控制,使用连续流的内部生成控制帧进行时间触发的队列状态更新。据我们所知,这使P4可编程ASIC上的TAS实现了首次应用。P4-TAS还提供MPLS/TSN翻译层,使TSN基于时间的整形能够在TSN和DetNet域之间应用,支持每个端口高达400 Gb/s的线路速率。其次,我们识别并量化了三个影响TAS门切换精度的内部延迟源,提供了透明度,使更精确的TAS配置成为可能。我们的评估显示,在时间片之间,最坏情况下的累计内部延迟为86 ns,这低于商业交换机报告的值。第三,我们提出了一种外部测量方法来测量TAS时间片的准确性,并引入了门切换间隔(GSIs)以缓解连续时间片之间的重叠。

英文摘要:

Time-sensitive networking (TSN) is a set of IEEE standards that extends Ethernet with real-time capabilities. Among its mechanisms, the time-aware shaper (TAS) periodically opens and closes egress queues to protect scheduled traffic from lower-priority flows, ensuring low latency and bounded delay. Deterministic networking (DetNet), standardized by the IETF, provides similar guarantees at Layer 3 and can leverage TSN mechanisms such as the TAS. Commercially available TSN-capable switches implement TAS in hardware but rarely disclose internal delays in the TAS mechanism itself. Such delays directly affect scheduling precision, yet information about them is largely unavailable to system designers. In this work, we present P4-TAS, a P4-based implementation of the TAS on the Intel Tofino 2 switching ASIC that additionally supports per-stream filtering and policing (PSFP) and PTP time synchronization. First, we design a novel mechanism for periodic queue control that uses a continuous stream of internally generated control frames for time-triggered queue state updates. To the best of our knowledge, this enables TAS on a P4-programmable ASIC for the first time. P4-TAS additionally provides an MPLS/TSN translation layer that enables TSN time-based shaping to be applied at the boundary between TSN and DetNet domains, supporting line rates up to 400 Gb/s per port. Second, we identify and quantify three sources of internal delay that affect the precision of TAS gate transitions, providing transparency that enables more accurate TAS configuration. Our evaluation demonstrates a worst-case accumulated internal delay of 86 ns between time slices, which is well below values reported for commercial switches. Third, we propose a measurement methodology to externally measure TAS time slice accuracy, and introduce gate switching intervals (GSIs) to mitigate overlap between consecutive time slices.

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

↑