[chrony-users] initial sync speed |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-users] initial sync speed
- From: Peter Morrow <pdmorrow@xxxxxxxxx>
- Date: Fri, 3 Jan 2020 13:45:27 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=22GyviD59aZfkeXiVGhuZ2wdvlANVeO+D6HpH9BPMeI=; b=KX8M9PB7Ws5MLZUXJ0MePf6sVl9P/pocS2xB80eNY/z6Ha5CVvUy+NzP7IutPjpSvD /ZRb+8JJLhNtcjHPbsNik6A6hF+2NmCIvP9JfhH4AyQ+mtqgJvFOR0ZV3+XxzTZehOnN H1tzUrYH1FneoO9KLUNXb2xnub/hqrB063gq8ql562RfXlwGL3xARVTuW3ivurSNgNT9 Iko5e2lxZOqnbfT9LWL7kEJe91LOh9cb0fa+u8KsMDLdVwz5A539d5TH5vBm8B8cnu9M 2pYx4UP4OzSzgb6BH0V+geRN9DVbQ/BvECoM8AGdn2k5uQmrxuqFN+zv8raNC0+CC7lG 0Alw==
Hi Folks,
I'm looking to try to speed up the initial sync with external NTP
servers that chronyd performs when it starts up at boot, taking
network latency out of the equation are there any chrony.conf options
(or compile options) which could be used to speed up the intial sync?
A stripped down config which I'm testing right now looks like this:
root@192:~# cat /etc/chrony.conf
# internal stratum 2 anycast addresses
server <some-ipv4-anycast-address> iburst
server <some-ipv4-anycast-address> iburst
server <some-ipv4-anycast-address> iburst
server <some-ipv4-anycast-address> iburst
server <some-ipv4-anycast-address> iburst
server <some-ipv4-anycast-address> iburst
# stratum 3 ntp pool available on the public internet (fallback).
pool time.windows.com iburst
# Always step due to lack of RTC.
makestep 1.0 -1
driftfile /var/lib/chrony/chrony.drift
maxupdateskew 100.0
maxdistance 16.0
root@192:~#
I'm seeing this configuration take around 6s and would like to reduce
this time as much as possible, can anyone suggest anything to consider
here? Removing some servers might be an option if this speeds things
up.
I'm using a systemd service which is using the waitsync command to
test for synchronization, the relevant command is:
/usr/bin/chronyc -h 127.0.0.1,::1 waitsync 20 0.1 0.0 1
This is taking around 6s to complete after chronyd starts (network is
online at this point).
Many Thanks,
Peter.
--
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.