On Thu, Aug 04, 2022 at 05:51:20PM +0900, james jeong wrote: > I have the following questions: > 1. What is the difference between the delay output from phc2sys and the > path delay output from ptp4l of the slave?
ptp4l prints the estimated network delay of sync messages including timestamping errors. phc2sys prints the time it takes to read the system clock and hardware clock in order to measure the offset. That includes delays in the CPU, PCIe and the NIC. > 2. If you change the master's time arbitrarily while PTP time is > synchronized by entering the command written above (example: change the > time randomly by entering date -s '2012-01-01 00:00:00' in the master) Is > there a way for the Slave to automatically synchronize accordingly? (Or is > there an option to synchronize it to the master's clock every specific > period?) You can enable clock steps with the step_threshold option. See the ptp4l and phc2sys man pages. -- Miroslav Lichvar _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users