From: Robb <rba...@gm...> - 2015-06-12 22:19:25
|
I have two freshly installed machines that I am trying to sync the CLOCK_REALTIME between the two. Do I need to have them get close in time using ntp before I can use PTP? How far apart can the clocks be and still have PTP work? They currently have a difference of 36 seconds but ptp4l and phc2sys are both telling me <5uS. My setup is as follows: Two CentOS 6.5 machines 2.6.32-504.8.1.el6.x86_64 linuxptp-1.3-1.el6.x86_64 Machine1 eth1 [igb 5.0.5-k] Intel I210 (rev 03) Machine2 eth0 [e1000e 3.1.0.2] Intel I217-LM (rev 05) (slightly modifed e1000 http://blog.gmane.org/gmane.comp.linux.ptp.user/month=20150601) Machine1 eth1 hooked directly to Machine2 eth0 Machine1 (master): sudo ptp4l -i eth1 -m -2 -q sudo phc2sys -s CLOCK_REALTIME -c eth1 -O 0 -u 60 Machine2: sudo ptp4l -i eth0 -m -2 -q -s sudo phc2sys -s eth0 -c CLOCK_REALTIME -w -u 60 Thanks. |