[Linuxptp-users] High path delay: i219 vs i210?
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: <ps...@we...> - 2022-03-18 10:40:55
|
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hello,</div> <div> </div> <div>I have a problem with the high of the calculated path delay. I am using hardware timestamping and thought I get values less than 20ns. But i have values over 7.8µs is that normal?<br/> I have also tested the usecase with an i210, there I got 250ns, but these are also quite high.</div> <div> </div> <div>Questions:</div> <div>1. why are the values of i219 and i210 so different? what does the path delay depend on?<br/> 2. if it depends only on the NIC, where can I find out which NIC is the best one for hardware time stamping, which keywords in the datasheet are important? <br/> 3. Is there a driver problem or is it possible to change something at the ptp-files to get better values?</div> <div> </div> <div>NIC: I2019-V rev 21<br/> driver: e1000e - 3.8.4-NAPI</div> <div>Kernel:5.4.0-104-generic</div> <div> </div> <div>output of: ethtool -T enp0s31f6:<br/> Time stamping parameters for enp0s31f6:<br/> Capabilities:<br/> hardware-transmit (SOF_TIMESTAMPING_TX_HARDWARE)<br/> software-transmit (SOF_TIMESTAMPING_TX_SOFTWARE)<br/> hardware-receive (SOF_TIMESTAMPING_RX_HARDWARE)<br/> software-receive (SOF_TIMESTAMPING_RX_SOFTWARE)<br/> software-system-clock (SOF_TIMESTAMPING_SOFTWARE)<br/> hardware-raw-clock (SOF_TIMESTAMPING_RAW_HARDWARE)<br/> PTP Hardware Clock: 0<br/> Hardware Transmit Timestamp Modes:<br/> off (HWTSTAMP_TX_OFF)<br/> on (HWTSTAMP_TX_ON)<br/> Hardware Receive Filter Modes:<br/> none (HWTSTAMP_FILTER_NONE)<br/> all (HWTSTAMP_FILTER_ALL)<br/> ptpv1-l4-sync (HWTSTAMP_FILTER_PTP_V1_L4_SYNC)<br/> ptpv1-l4-delay-req (HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ)<br/> ptpv2-l4-sync (HWTSTAMP_FILTER_PTP_V2_L4_SYNC)<br/> ptpv2-l4-delay-req (HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ)<br/> ptpv2-l2-sync (HWTSTAMP_FILTER_PTP_V2_L2_SYNC)<br/> ptpv2-l2-delay-req (HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ)<br/> ptpv2-event (HWTSTAMP_FILTER_PTP_V2_EVENT)<br/> ptpv2-sync (HWTSTAMP_FILTER_PTP_V2_SYNC)<br/> ptpv2-delay-req (HWTSTAMP_FILTER_PTP_V2_DELAY_REQ)</div> <div><br/> I use a i219-Notebook with following command as a slave: sudo ptp4l -P -H -l 7 -i enp0s31f6 -m -s<br/> The "Master"-command is simmiliar just with another interface and without -s.</div> <div>Output:<br/> ptp4l[183917.707]: selected best master clock 70ff76.fffe.1dea84<br/> ptp4l[183917.707]: port 1 (enp0s31f6): LISTENING to UNCALIBRATED on RS_SLAVE<br/> ptp4l[183918.444]: port 1 (enp0s31f6): delay timeout<br/> ptp4l[183918.445]: delay filtered 7358 raw 7319<br/> ptp4l[183918.707]: master offset 239333 s0 freq +45884 path delay 7858<br/> ptp4l[183919.444]: port 1 (enp0s31f6): delay timeout<br/> ptp4l[183919.445]: delay filtered 7358 raw 7422<br/> ptp4l[183919.707]: master offset 239368 s1 freq +45919 path delay 7858<br/> ptp4l[183920.444]: port 1 (enp0s31f6): delay timeout<br/> ptp4l[183920.445]: delay filtered 7349 raw 7345<br/> ptp4l[183920.708]: master offset -464 s2 freq +45455 path delay 7849<br/> ptp4l[183920.708]: port 1 (enp0s31f6): UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED<br/> ptp4l[183921.445]: port 1 (enp0s31f6): delay timeout<br/> ptp4l[183921.445]: delay filtered 7349 raw 7336<br/> ptp4l[183921.709]: master offset -485 s2 freq +45295 path delay 7849<br/> ptp4l[183922.445]: port 1 (enp0s31f6): delay timeout<br/> ptp4l[183922.446]: delay filtered 7349 raw 7365<br/> ptp4l[183922.709]: master offset 27 s2 freq +45661 path delay 7849<br/> ptp4l[183923.445]: port 1 (enp0s31f6): delay timeout<br/> ptp4l[183923.446]: delay filtered 7340 raw 7330<br/> ptp4l[183923.709]: master offset 137 s2 freq +45779 path delay 7840</div> <div><br/> </div></div></body></html> |