Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1643501

Re: [PATCH RFC 0/3] Improve stability of system clock

From John Stultz <john.stultz@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH RFC 0/3] Improve stability of system clock
Date 2017-05-17 18:40 +0200
Message-ID <tIa9r-5sd-11@gated-at.bofh.it> (permalink)
References <tI9Q6-5lu-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, May 17, 2017 at 9:13 AM, Miroslav Lichvar <mlichvar@redhat.com> wrote:
> This is an attempt to improve stability and accuracy of the system clock
> with very accurate time sources like the new PTP KVM clock or NTP/PTP
> using hardware timestamping. It affects mainly kernels running with
> NOHZ. It requires updating of the old ia64 and powerpc vsyscalls.
>
> The main problem is that the error accumulated in the ntp_error register
> takes too long to correct and this cannot be easily fixed. There are
> four sources of the error:
> - rounding of time for old vsyscalls
> - alignment of frequency adjustments to ticks
> - iterative correction of the multiplier
> - limited resolution of the multipler
>
> Instead of trying to correct the error faster, the patches remove the
> first three sources. With the only remaining source the correction logic
> can be simplified and the frequency of the clock is much more stable and
> accurate.
>
> Simulations of a frequency step in linux-tktest (values are in ppm and
> nanoseconds):

So thanks for sending these out. I still need to look them over in
depth, but can I make another ask here?  :)

Could you submit your linux-tktest infrastructure to the kselftests dir?

It would be really nice for folks to be able to reproduce your results
be able to do similar testing for regressions.

thanks
-john

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH RFC 0/3] Improve stability of system clock Miroslav Lichvar <mlichvar@redhat.com> - 2017-05-17 18:20 +0200
  [PATCH RFC 1/3] timekeeping: Remove support for old vsyscalls Miroslav Lichvar <mlichvar@redhat.com> - 2017-05-17 18:20 +0200
  [PATCH RFC 2/3] timekeeping: Don't align frequency adjustments to ticks Miroslav Lichvar <mlichvar@redhat.com> - 2017-05-17 18:20 +0200
  Re: [PATCH RFC 0/3] Improve stability of system clock John Stultz <john.stultz@linaro.org> - 2017-05-17 18:40 +0200
    Re: [PATCH RFC 0/3] Improve stability of system clock John Stultz <john.stultz@linaro.org> - 2017-05-17 19:10 +0200
      Re: [PATCH RFC 0/3] Improve stability of system clock Miroslav Lichvar <mlichvar@redhat.com> - 2017-05-17 19:30 +0200
        Re: [PATCH RFC 0/3] Improve stability of system clock John Stultz <john.stultz@linaro.org> - 2017-05-18 01:10 +0200
          Re: [PATCH RFC 0/3] Improve stability of system clock Richard Cochran <richardcochran@gmail.com> - 2017-05-18 07:00 +0200
            Re: [PATCH RFC 0/3] Improve stability of system clock John Stultz <john.stultz@linaro.org> - 2017-05-20 02:40 +0200
              Re: [PATCH RFC 0/3] Improve stability of system clock Rusty Russell <rusty@rustcorp.com.au> - 2017-05-22 02:40 +0200
    Re: [PATCH RFC 0/3] Improve stability of system clock Miroslav Lichvar <mlichvar@redhat.com> - 2017-05-17 19:10 +0200

csiph-web