public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [NTP 0/9] NTP patches
@ 2006-08-10  0:01 zippel
  2006-08-10  0:01 ` [NTP 1/9] add ntp_update_frequency zippel
                   ` (9 more replies)
  0 siblings, 10 replies; 20+ messages in thread
From: zippel @ 2006-08-10  0:01 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, john stultz

Hi,

Here is my current version of the NTP patches.
They precalculate as much possible and get rid of a lot of rather crude
compensation code. The tick length is now a much simpler value, updated
once a second, which greatly reduces the dependency on HZ.
I rebased the patches against current -mm + John's ntp.c patch.

bye, Roman

--


^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: [NTP 8/9] convert to the NTP4 reference model
@ 2006-08-10 20:31 linux
  2006-08-17 11:01 ` Roman Zippel
  0 siblings, 1 reply; 20+ messages in thread
From: linux @ 2006-08-10 20:31 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

>>> 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.

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2006-08-20 17:25 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-10  0:01 [NTP 0/9] NTP patches zippel
2006-08-10  0:01 ` [NTP 1/9] add ntp_update_frequency zippel
2006-08-10  0:01 ` [NTP 2/9] add time_adj to tick length zippel
2006-08-10  0:01 ` [NTP 3/9] add time_freq " zippel
2006-08-10  0:01 ` [NTP 4/9] prescale time_offset zippel
2006-08-10  0:01 ` [NTP 5/9] add time_adjust to tick length zippel
2006-08-20 15:33   ` Atsushi Nemoto
2006-08-20 17:25     ` Roman Zippel
2006-08-10  0:01 ` [NTP 6/9] remove time_tolerance zippel
2006-08-10  0:01 ` [NTP 7/9] convert time_freq to nsec value zippel
2006-08-10  0:01 ` [NTP 8/9] convert to the NTP4 reference model zippel
2006-08-10 18:49   ` Andrew Morton
2006-08-10 19:14     ` Roman Zippel
2006-08-10 19:29       ` Andrew Morton
2006-08-10 19:59         ` Roman Zippel
2006-08-10  0:01 ` [NTP 9/9] cleanup defines and comments zippel
2006-08-16 23:07 ` [NTP 0/9] NTP patches john stultz
2006-08-17 10:32   ` Roman Zippel
  -- strict thread matches above, loose matches on Subject: below --
2006-08-10 20:31 [NTP 8/9] convert to the NTP4 reference model linux
2006-08-17 11:01 ` Roman Zippel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox