RE: [chrony-users] chrony-1.30-pre1 released

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


From: Miroslav Lichvar [mailto:mlichvar@xxxxxxxxxx] 
Sent: June-06-14 9:10 AM
> * Add maxslewrate directive to set maximum allowed slew rate

Awesome stuff!  If I understand this correctly, I should be able to stop using my own patched version of chrony once 1.30 releases?

The patch you suggested for me:

diff --git a/sys_linux.c b/sys_linux.c
index 80c888e..b95ba4d 100644
--- a/sys_linux.c
+++ b/sys_linux.c
@@ -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;


Chris


--
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.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/