dntpd

Matthew Dillon dillon at apollo.backplane.com
Mon Jun 25 19:52:35 PDT 2007


    Ok, I made a couple more adjustments.  I changed the default
    insane deviation to 0.5 seconds and I added an option to allow it
    to be specified.  So, e.g. in my test run I can set it to 10ms and
    it actually works with 8 servers specified, sorta.

    dntpd -F -d -l 5 -f /etc/dntpd.conf -i 0.010

    Note however that servers will get mapped out for 60 minutes, so
    setting too low a value for the insane deviation test could wind
    up mapping out ALL of your server sources!  I do not recommend
    setting it any lower then 25ms or so (-i 0.025) and even that is 
    probably fairly dangerous since the range with 27 servers was around
    38ms.  50ms should be safe (-i 0.050).

    I have set the default to 500ms == 0.5 in order to catch servers with
    broken seconds and daylight savings handling.

    p.s. this also has the tendancy to cause the servers on the edges
    if the offset range to not be chosen, since they can't meet the
    quorum requirements, and it also tends to force the linear regression
    to run more samples before dntpd decides it can do an offset
    correction.

						-Matt






More information about the Bugs mailing list