From: Miroslav Lichvar <mlichvar@redhat.com>
To: "Nuno Gonçalves" <nunojpg@gmail.com>
Cc: John Stultz <john.stultz@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>,
LKML <linux-kernel@vger.kernel.org>,
dl4mea@yahoo.de, stable <stable@vger.kernel.org>
Subject: Re: Regression: can't apply frequency offsets above 1000ppm.
Date: Wed, 2 Sep 2015 09:39:21 +0200 [thread overview]
Message-ID: <20150902073921.GD22140@localhost> (raw)
In-Reply-To: <CAEXMXLRa+OBG+XxWDzt5YOxi=EoGomB0C0ppJNmGfFpdLmXgmw@mail.gmail.com>
On Wed, Sep 02, 2015 at 02:14:21AM +0100, Nuno Gonçalves wrote:
> On Wed, Sep 2, 2015 at 2:03 AM, John Stultz <john.stultz@linaro.org> wrote:
> > On Tue, Sep 1, 2015 at 5:36 PM, Nuno Gonçalves <nunojpg@gmail.com> wrote:
> >> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dc491596f6394382fbc74ad331156207d619fa0a
> >>
> >> I've triple checked it this time. Not sure where I did the mistake to
> >> get it wrong by 3 commits.
> >
> > This commit is much more believable (though surprising as that change
> > was found to greatly improve results for most uses).
> >
> > Can you provide any more details about how the problem is reproduced
> > (kernel config, what userland images are you using, etc)? I've got a
> > BBB myself so I can try to see whats going on.
> And just installing chrony from the feeds. With any kernel from 3.17
> you'll have wrong estimates at chronyc sourcestats.
Another reproducer is to disable chronyd, set the adjtimex tick to
9000 (e.g. by the adjtimex utility) and observe how is the offset of
the clock changing over time, e.g. by running periodically ntpdate -q
or chronyd -Q. It should be losing about 0.1 second per second, but
the actual frequency offset seems to be much smaller.
> Miroslav also dismissed this being related to nohz after some tests.
Yeah, the problem didn't disappear when the kernel was booted with
nohz=off, so I thought it was something else. Now that it seems it
indeed is related to nohz, I guess it's not a problem with the clock
update interval being too long (which the referenced commit
addressed).
Anyone knows what values (mask, mult, shift, maxadj) has the
clocksource in this case? I'd like to try to reproduce the problem in
the simulator.
--
Miroslav Lichvar
next prev parent reply other threads:[~2015-09-02 7:39 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-01 20:02 Regression: can't apply frequency offsets above 1000ppm Nuno Gonçalves
2015-09-01 20:25 ` Thomas Gleixner
2015-09-01 20:30 ` John Stultz
2015-09-01 20:45 ` Thomas Gleixner
2015-09-02 0:36 ` Nuno Gonçalves
2015-09-02 1:03 ` John Stultz
2015-09-02 1:14 ` Nuno Gonçalves
2015-09-02 7:39 ` Miroslav Lichvar [this message]
2015-09-02 23:16 ` John Stultz
2015-09-03 10:10 ` Nuno Gonçalves
2015-09-03 11:26 ` Miroslav Lichvar
2015-09-05 0:57 ` John Stultz
2015-09-05 1:00 ` John Stultz
2015-09-05 1:39 ` defects for uses of abs(u64) (was: Re: Regression: can't apply frequency offsets above 1000ppm) Joe Perches
2015-09-23 7:21 ` Neil Brown
2015-09-05 13:41 ` Regression: can't apply frequency offsets above 1000ppm Nuno Gonçalves
2015-09-09 0:52 ` John Stultz
2015-09-09 1:00 ` Nuno Gonçalves
2015-09-01 20:28 ` John Stultz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150902073921.GD22140@localhost \
--to=mlichvar@redhat.com \
--cc=dl4mea@yahoo.de \
--cc=john.stultz@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nunojpg@gmail.com \
--cc=stable@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox