[ntp:questions] Re: kernel precision on Linux

Ulrich Windl Ulrich.Windl at RZ.Uni-Regensburg.DE
Tue Feb 3 12:15:09 UTC 2004


Piotr Trojanek <ptrojane at mion.elka.pw.edu.pl> writes:

[...]
> Even running ntpd on linux nanokernel ntpd knows only about microsecond
> precision, which comes from gettimeofday() syscall. I'm not sure if it is a
> bug, but I patched my linux NTP sources with this patch:
> 
> http://home.elka.pw.edu.pl/~ptrojane/systime.diff

It seems your patch may be useful to non-Linux systems as well IMHO.

> 
> and it works quite well (on nanokernel). Now it use nano-precision for all
> the timestamps (including NTP requests).

[...]

Regards,
Ulrich



More information about the questions mailing list