0

I used the chrony to synchronize timestamps on two computers.

The robot's computer is a master and the workstation's computer is a client.

All I did, I follow the question's answer here after installing the chorny for both computers using

apt-get install chrony

After that I used this command to measure the latency as this did

ntpdate -q 192.168.xx

. The output was:

server 192.168.xx, stratum 3, offset 0.000688, delay 0.03365 12 Nov 14:54:28 ntpdate[5375]: adjust time server 192.168.xx offset 0.000688 sec.

. And I also got this:

server 192.168.xx, stratum 3, offset -0.012946, delay 0.04585 12 Nov 15:09:38 ntpdate[6213]: adjust time server 192.168.xx offset -0.012946 sec

Really, It is not familiar to me.

Is it ok or not? if so, what is the range that you judge that it is ok or not?

what is meaning the offset 0.000688 and sometimes offset -0.012946?

I am trying to understand the offset's value sometimes plus and sometimes minus.

please, your help.

REDHWAN
  • 193
  • 1
  • 10
  • The way you set it up both (robot and workstation) seem to sync to a remote source, you will only see how much your systems differ from that and need to derive how much that means "from each other". Further and more important do not use ntpdate as it will interfere with chrony it is like asking two people to drive. Instead look at `chronyc` especially subcommands `sources` & `sourcestats` (diff to and quality of sources) and `tracking` (local clock quality). – Christian Ehrhardt Nov 15 '21 at 16:17
  • Thanks a lot, I found this link to explain what they are meaning https://docs.fedoraproject.org/en-US/Fedora/18/html/System_Administrators_Guide/sect-Checking_if_chrony_is_synchronized.html – REDHWAN Nov 16 '21 at 06:48

0 Answers0