[coyotos-dev] Sleep, wakeup, and persistence

Marcus Brinkmann marcus.brinkmann at ruhr-uni-bochum.de
Fri Sep 14 20:42:01 EDT 2007


At Fri, 14 Sep 2007 22:53:15 +0200,
"Valerio Bellizzomi" <devbox at selnet.org> wrote:
> The mainboard clock counts faster than real time, so when NTP time is
> updated, the real time actually goes backwards.

The typical way to implement synchronization back in time while
keeping the clock monotonous is to slow down the system clock until it
is correct again.

Naturally this works best if you do this not too infrequently, because
the time it requires to synchronize the clock is at least the existing
clock drift (and typically more than that, because you can not afford to
keep the system clock at a complete stand still for an extended period
of time).

Thanks,
Marcus



More information about the coyotos-dev mailing list