From: "Jan Beulich" <JBeulich@novell.com>
To: Joanna Rutkowska <joanna@invisiblethingslab.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>, xen-devel@lists.xensource.com
Subject: Re: Re: DomU lockups after resume from S3 on Core i5 processors
Date: Tue, 06 Jul 2010 10:57:50 +0100 [thread overview]
Message-ID: <4C331A3E0200007800009B3A@vpn.id2.novell.com> (raw)
In-Reply-To: <4C32F078.2080009@invisiblethingslab.com>
>>> On 06.07.10 at 10:59, Joanna Rutkowska <joanna@invisiblethingslab.com> wrote:
> On 07/06/10 10:41, Jan Beulich wrote:
>> Did either of you try disabling the setting of sched_clock_stable in
>> arch/x86/kernel/cpu/intel.c:early_init_intel()? I found this to be a
>> requirement in our pv kernels (though in connection with the use of
>> C-states, not with S3).
>>
> Before I try it -- can you explain what would be the theory behind it,
> specifically how this would be related to HT? Clearly it is a HT
> problem, and intuitively, I would expect this to be a Xen-side problem,
> rather than DomU-side?
The HT connection is only a vague one, as Jeremy also hinted at in
his reply. The issue is that with sched_clock_stable set,
sched_clock_cpu() (and cpu_clock()) gets short cut to sched_clock(),
hence becoming susceptible to eventual non-monotonic behavior of
that function.
In any case, it's a wild guess only, attributed to the partially-hung
observations you made matching my observations (on new Intel
CPUs only) prior to addressing this issue.
Jan
next prev parent reply other threads:[~2010-07-06 9:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-05 10:38 DomU lockups after resume from S3 on Core i5 processors Joanna Rutkowska
2010-07-05 21:28 ` Joanna Rutkowska
2010-07-05 22:07 ` Joanna Rutkowska
2010-07-05 22:43 ` Jeremy Fitzhardinge
2010-07-05 22:52 ` Joanna Rutkowska
2010-07-05 23:17 ` Jeremy Fitzhardinge
2010-07-06 8:41 ` Jan Beulich
2010-07-06 8:59 ` Joanna Rutkowska
2010-07-06 9:57 ` Jan Beulich [this message]
2010-07-08 14:04 ` Joanna Rutkowska
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=4C331A3E0200007800009B3A@vpn.id2.novell.com \
--to=jbeulich@novell.com \
--cc=jeremy@goop.org \
--cc=joanna@invisiblethingslab.com \
--cc=xen-devel@lists.xensource.com \
/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;
as well as URLs for NNTP newsgroup(s).