diff options
author | Miroslav Lichvar <mlichvar@redhat.com> | 2010-09-07 14:43:46 (GMT) |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-09-09 18:48:37 (GMT) |
commit | 8af3c153baf95374eff20a37f00c59a295b52756 (patch) | |
tree | db80f770b668f7067c3e95af92cc92933edce4e0 /arch | |
parent | d56557af19867edb8c0e96f8e26399698a08857f (diff) | |
download | linux-fsl-qoriq-8af3c153baf95374eff20a37f00c59a295b52756.tar.xz |
ntp: Clamp PLL update interval
Clamp update interval to reduce PLL gain with low sampling rate (e.g.
intermittent network connection) to avoid instability.
The clamp roughly corresponds to the loop time constant, it's 8 * poll
interval for SHIFT_PLL 2 and 32 * poll interval for SHIFT_PLL 4. This
gives good results without affecting the gain in normal conditions where
ntpd skips only up to seven consecutive samples.
Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
Acked-by: john stultz <johnstul@us.ibm.com>
LKML-Reference: <1283870626-9472-1-git-send-email-mlichvar@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions