]> git.ipfire.org Git - thirdparty/chrony.git/commit
Introduce offset correction rate
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 5 Sep 2011 13:45:32 +0000 (15:45 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 15 Nov 2011 11:27:44 +0000 (12:27 +0100)
commitc7d0232bb113c6ca86cd24f9e694c70bfc946ab2
treec108fc139b10954cf3b9b438f17993b33e6d0835
parent79e5f2be1331fb639362cd159087343c06594351
Introduce offset correction rate

We want to correct the offset quickly, but we also want to keep the
frequency error caused by the correction itself low.

Define correction rate as the area of the region bounded by the graph of
offset corrected in time. Set the rate so that the time needed to correct
an offset equal to the current sourcestats stddev will be equal to the
update interval (assuming linear adjustment). The offset and the
time needed to make the correction are inversely proportional.

This is only a suggestion and it's up to the system driver how the
adjustment will be executed.
13 files changed:
acquire.c
cmdmon.c
local.c
local.h
localp.h
reference.c
reference.h
rtc_linux.c
sources.c
sys_linux.c
sys_netbsd.c
sys_solaris.c
sys_sunos.c