|Re: [chrony-users] Isolated time domains|
[ Thread Index |
| More chrony.tuxfamily.org/chrony-users Archives
On Fri, Dec 06, 2013 at 06:12:59PM +0000, Chris Dore wrote:
> As Bill has also pointed out, the high slew rate (approx.. 83300 PPM in my test) is way too high for any ntpd clients to keep up. I haven't seen a config option, but is there a way to limit the rate in chrony?
There is no option for that. But you easily change it in the source
code, for example to set the limit to 400 ppm (4 ticks):
diff --git a/sys_linux.c b/sys_linux.c
index 80c888e..b95ba4d 100644
@@ -979,7 +979,7 @@ get_version_specific_details(void)
dshift_hz = (double)(1UL << shift_hz);
basic_freq_scale = dshift_hz / dhz;
nominal_tick = (1000000L + (hz/2))/hz; /* Mirror declaration in kernel */
- slew_delta_tick = nominal_tick / 12;
+ slew_delta_tick = nominal_tick / 2500;
max_tick_bias = nominal_tick / 10;
tick_update_hz = hz;
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.