[chrony-users] Quickly syncing time |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-users] Quickly syncing time
- From: Deven Hickingbotham <devenh@xxxxxxxxxxx>
- Date: Sat, 6 May 2017 08:52:40 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pacbell.net; s=s2048; t=1494085962; bh=BwcfZKds+SNmnTXwD4CNAbvNSxyiBRzlK1Zs5JqbZeI=; h=To:From:Subject:Date:From:Subject; b=fBGFCS9WJ4OG+7E/2Y15wrYNnFTAP2SayikqQHjRHkx6X5eSo8OivBGe2bkZ7umvxPz2gR7+hXNVy1p8md+QI6huXUsUiac6Br8M+JQ9ZeHasaqF8BxlnnOaVcGGLmXUF5LFXuzy70a3ZsR9tQoap4oiPWMHCPBN3qL1VBMAH4lqHBfJd6nEUSeHErRmrC7OwPcjHqynNvEUMeQwJ+FlVY2ENfwlP1yFiROoT1aQyxSTaIWv73fFJtDadyHQN9cfzjrPAPN96eoV+xOJVz5XljL1lTWjZelcGxJxuy0dGF2cDDhc3U/TsxQuv+NgDwntHotE5K3yqgWhgxlq7FqOrQ==
I have a GPS app that runs on a Raspberry Pi. The system is powered off
most of the time, but on startup needs to sync time very quickly using PPS.
It looks like the makestep directive is the way to do this. Which of
the following would be better?
makestep 0.01 10
makestep 0.01 -1
The first would make adjustments during the first 10 updates, while the
second would do so continuously, correct? Note: none of the apps
running would be adversely affected by jumps in the clock (they would
benefit by having more accurate time).
Here is my complete configuration file:
server 0.us.pool.ntp.org iburst
server 1.us.pool.ntp.org iburst
server 2.us.pool.ntp.org iburst
server 3.us.pool.ntp.org iburst
refclock PPS /dev/pps0 lock NMEA refid PPS
# Setting for 2, 3, 4, 5, 10 updates per seconds
refclock SHM 0 offset 0.1 delay 0.2 refid NMEA noselect
# In first ten updates step the system clock instead of slew
# if the adjustment is larger than 0.01 second.
makestep 0.01 10
# Enable kernel synchronization of the real-time clock (RTC).
rtcsync
# Allow NTP client access from local network.
allow 192.168
allow 172.20
--
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.