Re: [NTP 8/9] convert to the NTP4 reference model

From: linux
Date: Thu Aug 10 2006 - 16:29:15 EST


>>> For the ntp ignorami amongst us... what is a "nanokernel reference
>>> implementation" and why do we want one?
>
> It's the behaviour the current ntp daemon expects, the ntp documentation
> has more information and a link to the package (e.g. under Debian at
> /usr/share/doc/ntp-doc/html/kern.html).
>
> So... the current kernel is behaving in a manner other than that which the
> NTP daemon expects? Does this cause any problems?

To explain more clearly...

The original NTP kernel interface was defined in units of microseconds.
That's what Linux implements. As computers have gotten faster and can
now split microseconds easily, a new kernel interface using nanosecond
units was defined ("the nanokernel", confusing as that name is to OS
hackers), and there's an STA_NANO bit in the adjtimex() status field to
tell the application which units it's using.

The current ntpd supports both, but Linux loses some possible timing
resolution because of quantization effects, and the ntpd hackers would
really like to be able to drop the backwards compatibility code.

Ulrich Windl has been maintaining a patch set to do the conversion for
years, but it's hard to keep in sync.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/