diff options
author | Miroslav Lichvar <[email protected]> | 2010-09-07 16:43:46 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2010-09-09 20:48:37 +0200 |
commit | 8af3c153baf95374eff20a37f00c59a295b52756 (patch) | |
tree | db80f770b668f7067c3e95af92cc92933edce4e0 /net/unix/sysctl_net_unix.c | |
parent | d56557af19867edb8c0e96f8e26399698a08857f (diff) |
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 <[email protected]>
Acked-by: john stultz <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions