On Sun, Jan 17, 2021 at 04:51:19PM +0100, Maheen Iqbal wrote: > ptp4l[7405.869]: rms 19 max 27 freq -95696 +/- 18 delay -1 +/- 0 > ptp4l[7406.869]: rms 18 max 29 freq -95715 +/- 13 delay 1 +/- 0 > but when I am running the phc2sys with the below mentioned command the > offset is around 3 to 4 digit which is much larger and i think they are not > synchronized.
Actually your results are quite typical. The ptp4l program uses hardware time stamping, but the phc2sys uses software time stamping, and that results in larger error in offset measurements. > phc2sys[7392.422]: CLOCK_REALTIME phc offset 673 s2 freq -178087 delay 770 > phc2sys[7393.422]: CLOCK_REALTIME phc offset -434 s2 freq -178992 delay 770 > phc2sys[7394.422]: CLOCK_REALTIME phc offset -547 s2 freq -179235 delay 760 > phc2sys[7395.422]: CLOCK_REALTIME phc offset -975 s2 freq -179827 delay 770 > phc2sys[7396.422]: CLOCK_REALTIME phc offset -1678 s2 freq -180823 delay 760 These phc2sys numbers are not bad at all. HTH, Richard _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users