From: Borislav Petkov <bp@amd64.org>
To: Markus Trippelsdorf <markus@trippelsdorf.de>
Cc: Borislav Petkov <bp@alien8.de>, john stultz <johnstul@us.ibm.com>,
Thomas Gleixner <tglx@linutronix.de>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"hpa@linux.intel.com" <hpa@linux.intel.com>,
Ingo Molnar <mingo@elte.hu>,
"Herrmann3, Andreas" <Andreas.Herrmann3@amd.com>,
"heiko.carstens@de.ibm.com" <heiko.carstens@de.ibm.com>,
"a.p.zijlstra@chello.nl" <a.p.zijlstra@chello.nl>,
"avi@redhat.com" <avi@redhat.com>,
"mtosatti@redhat.com" <mtosatti@redhat.com>
Subject: Re: [bisected] Clocksource tsc unstable git
Date: Fri, 29 Oct 2010 12:27:13 +0200 [thread overview]
Message-ID: <20101029102713.GA21125@aftab> (raw)
In-Reply-To: <20101029083013.GA1553@arch.trippelsdorf.de>
On Fri, Oct 29, 2010 at 04:30:13AM -0400, Markus Trippelsdorf wrote:
> > Well, what do you know, the temporary "slowdown" triggered on my setup
> > too. After waiting a minute maybe, the machine recovered and guess what
> > appeared in dmesg:
> >
> > [44729.650859] Clocksource tsc unstable (delta = -8615263009 ns)
> > [44729.656229] Switching to clocksource hpet
> >
> > I've reverted the changeset above and will run without it to check
> > whether it makes any difference.
>
> After further testing I've found out that the tsc- and the kvm-issue are
> unrelated. IOW I get these "slowdowns" even with 34f971f6f7988be4
> reverted.
hmm, I'll run with 34f971f6f798 reverted for a while just to confirm
your observations...
> I guess John was right when he wrote:
> > From your dmesg, I'd guess the hpet is the watchdog clocksource, so I
> > be on the lookout for hpet related changes.
> >
> > Maybe does reverting 995bd3bb5c78f3ff71339803c0b8337ed36d64fb hide the
> > issue?
>
> Because with 995bd3bb5c78f reverted I never had a single "slowdown" here.
That's strange, when we tested this one everything seemed fine so I
guess this is one of those bugs which appear later, just as if out of
nowhere.
Thomas, could it be that SMI fires in between the HPET write and
subsequent read:
hpet_writel(cnt, HPET_Tn_CMP(timer));
...
res = (s32)(cnt - hpet_readl(HPET_COUNTER));
causing the -ETIME and thus a wait for HPET wraparound? My machine at
least does SMI-initiated C1E so it could very well be the problem.
Markus, can you verify this on your system by compiling x86info from
git://git.choralone.org/git/x86info and doing
./lsmsr Int
as root?
Thanks.
--
Regards/Gruss,
Boris.
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
next prev parent reply other threads:[~2010-10-29 10:27 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-26 11:20 Clocksource tsc unstable (delta = -8589361717 ns) in current git Markus Trippelsdorf
2010-10-26 13:18 ` Borislav Petkov
2010-10-26 13:58 ` Markus Trippelsdorf
2010-10-26 14:05 ` Markus Trippelsdorf
2010-10-26 14:38 ` Peter Zijlstra
2010-10-26 15:46 ` Thomas Gleixner
2010-10-26 16:41 ` Borislav Petkov
2010-10-26 15:48 ` Thomas Gleixner
2010-10-26 17:56 ` Markus Trippelsdorf
2010-10-26 18:19 ` Borislav Petkov
2010-10-26 19:18 ` john stultz
2010-10-27 14:26 ` Markus Trippelsdorf
2010-10-27 18:26 ` [bisected] Clocksource tsc unstable git markus
2010-10-27 19:36 ` Peter Zijlstra
2010-10-27 19:42 ` Markus Trippelsdorf
2010-10-27 19:58 ` Marcelo Tosatti
2010-11-09 12:58 ` Heiko Carstens
2010-11-09 13:07 ` Markus Trippelsdorf
2010-11-09 13:21 ` Markus Trippelsdorf
2010-11-09 13:28 ` Heiko Carstens
2010-11-09 13:45 ` Peter Zijlstra
2010-11-09 13:33 ` Peter Zijlstra
2010-10-29 8:18 ` Borislav Petkov
2010-10-29 8:30 ` Markus Trippelsdorf
2010-10-29 10:27 ` Borislav Petkov [this message]
2010-10-29 11:34 ` Markus Trippelsdorf
2010-10-29 11:39 ` Borislav Petkov
2010-10-29 11:54 ` Markus Trippelsdorf
2010-10-29 13:13 ` Borislav Petkov
2010-10-29 12:14 ` Thomas Gleixner
2010-10-29 17:00 ` Borislav Petkov
2010-10-29 17:26 ` Markus Trippelsdorf
2010-11-01 18:05 ` Thomas Gleixner
2010-11-01 18:45 ` Markus Trippelsdorf
2010-11-02 15:26 ` Thomas Gleixner
2010-11-05 16:09 ` Borislav Petkov
2010-11-05 16:42 ` Markus Trippelsdorf
2010-11-05 17:45 ` Markus Trippelsdorf
2010-11-05 21:27 ` Markus Trippelsdorf
2010-11-05 21:32 ` Borislav Petkov
2010-11-09 14:02 ` Thomas Gleixner
2010-11-09 14:39 ` Borislav Petkov
2010-11-17 23:21 ` Markus Trippelsdorf
2010-11-24 11:25 ` Borislav Petkov
2010-10-29 17:34 ` Thomas Gleixner
2010-10-27 3:24 ` Clocksource tsc unstable (delta = -8589361717 ns) in current git Mike Galbraith
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=20101029102713.GA21125@aftab \
--to=bp@amd64.org \
--cc=Andreas.Herrmann3@amd.com \
--cc=a.p.zijlstra@chello.nl \
--cc=avi@redhat.com \
--cc=bp@alien8.de \
--cc=heiko.carstens@de.ibm.com \
--cc=hpa@linux.intel.com \
--cc=johnstul@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=markus@trippelsdorf.de \
--cc=mingo@elte.hu \
--cc=mtosatti@redhat.com \
--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