Re: [chrony-dev] [PATCH] MacOS X - Dynamic drift removal interval

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


> On 11/08/2015, at 11:56 pm, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
> 
> BTW, when experimenting with multiple sources and longer drift removal
> intervals I think it might be useful to rework the
> get_offset_correction() function to not stop and restart the currently
> running adjustment, but only read the remaining offset with
> adjtime(NULL, &tv), so NTP measurements from sources other then the
> selected peer are not restarting the drift removal. This would also
> reduce the number of adjtime() calls, especially on a NTP server.
> 

On MacOS, adjtime(NULL, &rem) is not supported. To implement the above, requires 2 adjtime() calls, one to stop it and one to restart it so I don't think there are any real benefits in doing this.

-- 
Bryan Christianson
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


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