RE: [chrony-users] Best strategy for calculating average synchronization time.

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


Hi Miroslav,

Sorry I've been away (unexpectedly) for a week. Thanks very much for your response.
We are using the makestep commands as you have mentioned.  It will be an embedded system that gets turned on and off a lot.

 My management wants to know how fast Machine B time is converging to its time source Machine A.

Question 1: You're answer included "You would need an independent process measuring the error of the system clock. It could be a second chronyd instance running with the -x option"
I'm not following how I would use this second chrony instance to determine an average of how fast Machine B time is converging to its time source Machine A. Could you provide some detail?

Question 2 "Chrony -x" - So we are running 2 instances of chrony on the same machine? Does chrony -x get passed its own chrony.conf?


Thanks again for everything!

-----Original Message-----
From: Miroslav Lichvar <mlichvar@xxxxxxxxxx> 
Sent: Wednesday, July 17, 2024 9:08 AM
To: chrony-users@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [chrony-users] Best strategy for calculating average synchronization time.

Notice: This message originated outside of SRC. -- Do not click on links or open attachments unless you are sure the content is safe, and never enter your username and password.

On Wed, Jul 17, 2024 at 12:53:47PM +0000, Whelan, Andy wrote:
> I want to try to try a bunch of experiments where we manually change the times on machine B and monitor how fast the system time on machine B synchronizes to, say within a second of Machine A. I want to calculate an average synchronization time.

You would need an independent process measuring the error of the system clock. It could be a second chronyd instance running with the -x option using a much shorter polling interval.

Please note that if you step the system clock of machine B behind chrony's back, you will disrupt its loop and it might take longer to recover than if you stepped the server's clock, or stepped the B's clock by using the chronyc settime and makestep commands.

--
Miroslav Lichvar


--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/