[chrony-dev] chrony after start/wake up |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-dev] chrony after start/wake up
- From: "Gerriet M. Denkmann" <gerrietm@xxxxxxxxxx>
- Date: Tue, 28 Nov 2017 17:29:35 +0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=04042017; t=1511864982; bh=0bbKYEFDg3JJ9HUEUQyKE0LzIEHLhI3hiLGC5CINBxU=; h=From:Content-type:MIME-version:Subject:Message-id:Date:To; b=HbcKcvmXc+z11KdbcCSUpRIyBn4S07WyCC6XZRQfb9Mo8JFqeEgIZexscfP6+TmUL 5JjtC8loAAuM6abycEVfYPSlMiyyVnLsSF7jqt+emY6IDzNSm5W8JUSJxgGtCRuFEP J5l44r1TYerUAw5zcRpO1zqRk0UfhxE7bTkLBS0JSI0qoCxogqr8/+UiRcT4XwDhhO d/3ZapdLXEschyGPbuI7DQ4Ukskz13XOYd4d+FzSM8aAoeMJA+n+efdaj6TGNnu51a cXt/NRQ90iM0RSxlyXW9mr2Scylyr5QtSAn0vr0wquqCXuOzkuSMq/aiIS9QyH9ZCA QfAJJuKzvt77w==
I noticed that it takes chrony about 20 - 40 minutes after start/wake up to settle down to a plausible value for frequency.
(The offsets are fine after about 10 minutes - and not too bad before this).
What about this ( n = 20 to 40 minutes ):
if t = time since start/wake up < n and /var/lib/chrony/drift exists then
usedFrequency = [ (n-t) * frequency from /var/lib/chrony/drift + t * computed frequency from insuffizient data ] / n
else
usedFrequency = computed frequency from no longer insuffizient data
end if
Gerriet.
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.