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


Groups > linux.kernel > #1218172

Re: Regression: can't apply frequency offsets above 1000ppm.

From Miroslav Lichvar <mlichvar@redhat.com>
Newsgroups linux.kernel
Subject Re: Regression: can't apply frequency offsets above 1000ppm.
Date 2015-09-03 13:30 +0200
Message-ID <q4ASl-28C-3@gated-at.bofh.it> (permalink)
References (1 earlier) <q40lQ-j7-1@gated-at.bofh.it> <q44fM-5Qc-9@gated-at.bofh.it> <q44IQ-6Dz-63@gated-at.bofh.it> <q44Su-6P9-19@gated-at.bofh.it> <q4ptT-2FO-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, Sep 02, 2015 at 04:16:00PM -0700, John Stultz wrote:
> On Tue, Sep 1, 2015 at 6:14 PM, Nuno Gonçalves <nunojpg@gmail.com> wrote:
> > And just installing chrony from the feeds. With any kernel from 3.17
> > you'll have wrong estimates at chronyc sourcestats.
> 
> Wrong estimates? Could you be more specific about what the failure
> you're seeing is here? The
> 
> I installed the image above, which comes with a 4.1.6 kernel, and
> chrony seems to have gotten my BBB into ~1ms sync w/ servers over the
> internet fairly quickly (at least according to chronyc tracking).

To see the bug with chronyd the initial offset shouldn't be very close
to zero, so it's forced to correct the offset by adjusting the
frequency in a larger step.

I'm attaching a simple C program that prints the frequency offset
as measured between the REALTIME and MONOTONIC_RAW clocks when the
adjtimex tick is set to 9000. It should show values close to -100000
ppm and I suspect on the BBB it will be much smaller.

-- 
Miroslav Lichvar

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


Thread

Regression: can't apply frequency offsets above 1000ppm. Nuno Gonçalves <nunojpg@gmail.com> - 2015-09-01 22:10 +0200
  Re: Regression: can't apply frequency offsets above 1000ppm. Thomas Gleixner <tglx@linutronix.de> - 2015-09-01 22:30 +0200
    Re: Regression: can't apply frequency offsets above 1000ppm. John Stultz <john.stultz@linaro.org> - 2015-09-01 22:40 +0200
      Re: Regression: can't apply frequency offsets above 1000ppm. Thomas Gleixner <tglx@linutronix.de> - 2015-09-01 22:50 +0200
    Re: Regression: can't apply frequency offsets above 1000ppm. Nuno Gonçalves <nunojpg@gmail.com> - 2015-09-02 02:40 +0200
      Re: Regression: can't apply frequency offsets above 1000ppm. John Stultz <john.stultz@linaro.org> - 2015-09-02 03:10 +0200
        Re: Regression: can't apply frequency offsets above 1000ppm. Nuno Gonçalves <nunojpg@gmail.com> - 2015-09-02 03:20 +0200
          Re: Regression: can't apply frequency offsets above 1000ppm. Miroslav Lichvar <mlichvar@redhat.com> - 2015-09-02 09:40 +0200
          Re: Regression: can't apply frequency offsets above 1000ppm. John Stultz <john.stultz@linaro.org> - 2015-09-03 01:20 +0200
            Re: Regression: can't apply frequency offsets above 1000ppm. Nuno Gonçalves <nunojpg@gmail.com> - 2015-09-03 12:20 +0200
            Re: Regression: can't apply frequency offsets above 1000ppm. Miroslav Lichvar <mlichvar@redhat.com> - 2015-09-03 13:30 +0200
              Re: Regression: can't apply frequency offsets above 1000ppm. John Stultz <john.stultz@linaro.org> - 2015-09-05 03:00 +0200
                Re: Regression: can't apply frequency offsets above 1000ppm. John Stultz <john.stultz@linaro.org> - 2015-09-05 03:10 +0200
                defects for uses of abs(u64) (was: Re: Regression: can't apply  frequency offsets above 1000ppm) Joe Perches <joe@perches.com> - 2015-09-05 03:50 +0200
                Re: Regression: can't apply frequency offsets above 1000ppm. Nuno Gonçalves <nunojpg@gmail.com> - 2015-09-05 15:50 +0200
  Re: Regression: can't apply frequency offsets above 1000ppm. John Stultz <john.stultz@linaro.org> - 2015-09-01 22:30 +0200

csiph-web