E810和DPDK上DPDK-PDUMP数据包的时间戳源19.11

发布于 2025-01-26 13:09:52 字数 327 浏览 3 评论 0原文

我正在使用Intel E810-XXVDA4和DPDK版本19.11。在故障排除期间,我们使用DPDK-PDUMP捕获了传出流量:

dpdk-pdump---pdump'端口= 1,queue =*,tx-dev =/tmp/tx.pcap'

我已经打开了Wireshark中的PCAP文件和我可以看到一些数据包被延迟。但是,系统行为表明我在PCAP文件中看到的延迟不正确,它们太大了。

我的问题是,如何创建DPDK-PDUMP的PCAP中数据包的时间戳,例如NIC HW生成的,磁盘写入等的CPU时间等等?

是否有更改时间戳源的运行时间或构建时间选项?

I am using a Intel E810-XXVDA4 and DPDK version 19.11. During troubleshooting we have captures outgoing traffic with dpdk-pdump:

dpdk-pdump -- --pdump 'port=1,queue=*,tx-dev=/tmp/tx.pcap'

I have opened the pcap-file in wireshark and I can see that some packets are delayed. However, system behavior indicates that the delays I see in the pcap file are not correct, they are too big.

My questions is, how is the timestamp on packets in the pcap from dpdk-pdump created, like NIC HW generated, CPU time at disk write etc or something else?

Are there any run-time or build-time options to change the source of the timestamps?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

东风软 2025-02-02 13:09:52

来自DPDK用户邮件列表的答案,这要归功于SH

后续行动。从戒指读取数据包时,19.11中的较旧的转储 - 播放时间是时间戳。

DPDK 20.11和DPDK-DUMPCAP可能会使您有更好的运气,从而将数据包放入戒指时,将时间戳输入。

让我给图片:

    Application (primary)
       | 1                       2
       +--+-------------------------> wire
          |                        
          |             dumpcap (secondary)
          +---========--------------> capture file
                                 3

中的ringbuffer

  1. ==== ====在过程之间使用dpdk-dumpcap的过程
  2. 不可能
  3. ,在您想要时间戳的地方获得时间戳,但在19.11和dpdk-pdump获得时间戳的地方

Answer from dpdk users mailing list, many thanks to S.H

Follow up. The older dump-pdump in 19.11 does timestamps when packet is read from the ring which is bad.

You might have better luck with DPDK 20.11 and the dpdk-dumpcap which puts timestamp in when packet is put into ring.

Let me give picture:

    Application (primary)
       | 1                       2
       +--+-------------------------> wire
          |                        
          |             dumpcap (secondary)
          +---========--------------> capture file
                                 3

The ==== is ringbuffer between processes

  1. Where 20.11 with dpdk-dumpcap gets timestamp
  2. Where you want the timestamp but is not possible
  3. Where 19.11 and dpdk-pdump gets timestamp
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文