"hwclock -w" takes 24 seconds
Alain Mouette
alainm at pobox.com
Thu Apr 15 16:58:01 UTC 2010
Em 15-04-2010 04:11, Denys Vlasenko escreveu:
>
>> 2. Linux kernel will attempt to update RTC at 500ms mark and
>> not at a second mark. Do they known something better?
>
> Hmm, I didn't know that.
> Perhaps they thought this minimizes average error in setting
> RTC time.
This makes sense. One problem in updating RTC is that you could move the
time back and thus have the same second happening again. Some software
bay be unaware and repeat itself.
Updating at 500ms mark is nice, if each adjustent is small and thus will
avoid non-monotonicity
Alain
More information about the busybox
mailing list