E810和DPDK上DPDK-PDUMP数据包的时间戳源19.11
我正在使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
来自DPDK用户邮件列表的答案,这要归功于SH
后续行动。从戒指读取数据包时,19.11中的较旧的转储 - 播放时间是时间戳。
DPDK 20.11和DPDK-DUMPCAP可能会使您有更好的运气,从而将数据包放入戒指时,将时间戳输入。
让我给图片:
中的ringbuffer
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:
The ==== is ringbuffer between processes