Hi Thanks for the ptp support.
There are a couple of questions that I'm trying to understand: 1) offset root mean square (rms) maximum absolute offset (max) frequency offset (freq): its mean, and standard deviation path delay (delay): its mean, and standard deviation How are these values calculated? 2) I am trying to run ptp4l in two modes: UDPv4 and L2. For some reason synchronization in L2 is later than in UDPv4 ptp4l[1145093.442]: selected /dev/ptp0 as PTP clock ptp4l[1145093.442]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[1145093.442]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[1145093.504]: port 1: new foreign master 0050f1.fffe.210032-1 ptp4l[1145093.764]: selected best master clock 0050f1.fffe.210032 ptp4l[1145093.764]: updating UTC offset to 37 ptp4l[1145093.764]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE ptp4l[1145094.184]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED -- sync done L2 ptp4l[1148330.300]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[1148330.300]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[1148330.495]: port 1: new foreign master 0050f1.fffe.210032-1 ptp4l[1148330.995]: selected best master clock 0050f1.fffe.210032 ptp4l[1148330.995]: updating UTC offset to 37 ptp4l[1148330.995]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE ptp4l[1148332.215]: rms 9834727 max 9851532 freq -18926 +/- 0 delay 18669 +/- 4112 ................................................................................... ptp4l[1148378.865]: rms 9876227 max 9885986 freq -18926 +/- 0 delay 17701 +/- 2370 ptp4l[1148379.639]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED -- sync done After about 40 seconds, is this a feature of L2 mode? or the issue is not in the ptp? 3) Periodically I get spikes in rms and max in L2 mode: ptp4l[1148407.169]: rms 15715 max 42990 freq -17262 +/- 3443 delay 19128 +/- 3942 ptp4l[1148408.295]: rms 10134 max 22920 freq -18675 +/- 2307 delay 18456 +/- 2827 ptp4l[1148409.416]: rms 9716 max 15753 freq -18217 +/- 2230 delay 17926 +/- 1546 ptp4l[1148410.615]: rms 6917 max 19063 freq -18632 +/- 1565 delay 19824 +/- 1941 ptp4l[1148411.797]: rms 2863313334 max 11453253211 freq -6242428 +/- 24208281 delay 16276 +/- 727 <---- ???? ptp4l[1148412.917]: rms 1402601 max 1663742 freq +307233 +/- 27078 delay 22707 +/- 3764 ptp4l[1148414.036]: rms 1068770 max 1199381 freq +237449 +/- 18135 delay 21788 +/- 830 ptp4l[1148415.156]: rms 814417 max 922586 freq +184082 +/- 13844 delay 21819 +/- 1207 ptp4l[1148416.306]: rms 605088 max 686423 freq +139718 +/- 11576 delay 22414 +/- 1204 At the same time I see that for some reason there was a time jump in Delay_resp: [image: l2.JPG] I don't understand why slave sent a different time. Best regards, Vyacheslav
_______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users