[coyotos-dev] Sleep, wakeup, and persistence
Sam Mason
sam at samason.me.uk
Fri Sep 14 22:38:55 EDT 2007
On Sat, Sep 15, 2007 at 04:06:17AM +0200, Valerio Bellizzomi wrote:
> With the clock at 50% it should require (drift * 2) plus some small time
> to manipulate the clock.
I'm not sure I understand this completely, but I don't think it matters.
> Probably it is affordable to slow down the clock permanently to reduce the
> drift. There might also be a clock value that keeps the wall time
> approximately accurate, in that case one can synchronize less frequently.
> Learning the right value should not be that difficult with NTP.
> But I don't know if it is useful enought to implement.
The NTP daemon will correct up to 500 PPM (parts per million) of error
in your clock by changing the rate at which time is incremented. As the
daemon confidence increases in your clock it'll slow down the polling
frequency to (normally) about once every 20 minutes. You just have to
leave it running long enough and it'll figure everything out on its own.
Sam
More information about the coyotos-dev
mailing list