From: Dan Magenheimer <dan.magenheimer@oracle.com>
To: David Vrabel <david.vrabel@citrix.com>
Cc: Jan Beulich <JBeulich@suse.com>,
Konrad Wilk <konrad.wilk@oracle.com>,
"Tim (Xen.org)" <tim@xen.org>,
linux-kernel@vger.kernel.org, xen-devel <xen-devel@lists.xen.org>,
Sheng Yang <sheng@yasker.org>,
Thomas Gleixner <tglx@linutronix.de>
Subject: RE: [Xen-devel] [PATCH] xen: always set the sched clock as unstable
Date: Mon, 16 Apr 2012 10:30:35 -0700 (PDT) [thread overview]
Message-ID: <8a78da52-26b2-42a2-80c7-c1ab8aee86eb@default> (raw)
In-Reply-To: <4F8C4818.8070603@citrix.com>
> From: David Vrabel [mailto:david.vrabel@citrix.com]
> Subject: Re: [Xen-devel] [PATCH] xen: always set the sched clock as unstable
>
> On 16/04/12 17:05, Dan Magenheimer wrote:
> >> From: David Vrabel [mailto:david.vrabel@citrix.com]
> >> Subject: Re: [Xen-devel] [PATCH] xen: always set the sched clock as unstable
> >
> > Nacked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
>
> Fair enough,
>
> > [A stable clock] should be true for Xen 4.0+ (but not for pre-Xen-4.0).
>
> The original customer problem is on a host with Xen 3.4. What do you
> recommend for Linux guests running such hosts?
For pre-Xen-4.0 and an unchanged PV guest, I don't know. If you can
back-patch the guest kernel with a workaround such as your patch, great!
I'm only arguing against the patch getting perpetuated upstream.
> > In fact, it might be wise for a Xen-savvy kernel to check to see
> > if it is running on Xen-4.0+ and, if so, force clocksource=tsc
> > and tsc=reliable.
>
> So, should the xen clocksource do:
>
> if Xen 4.0+
> clock is stable, use rdtsc only.
> else
> clock is unstable, use existing pvclock implementation.
Yes, that's what I propose. To clarify:
if the guest can and does determine it is running on Xen 4.0+
TSC is guaranteed by Xen to be stable, use clocksource=tsc tsc=reliable
else
Xen only guarantees that pvclock is stable, use pvclock
next prev parent reply other threads:[~2012-04-16 17:31 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-13 18:20 David Vrabel
2012-04-13 18:33 ` Sheng Yang
[not found] ` <CA+2rt41ctpU-vhR7=u_r45=o8djpq0-5YE5jcj_4FR2bWYu5pQ@mail.gmail.com>
2012-04-13 18:39 ` David Vrabel
2012-04-16 11:32 ` Jan Beulich
2012-04-16 14:59 ` David Vrabel
2012-04-16 15:16 ` Tim Deegan
2012-04-16 15:17 ` Konrad Rzeszutek Wilk
2012-04-16 16:20 ` [Xen-devel] " Dan Magenheimer
2012-04-16 16:05 ` Dan Magenheimer
2012-04-16 16:14 ` Jan Beulich
2012-04-16 17:22 ` Dan Magenheimer
2012-04-17 7:27 ` Jan Beulich
2012-04-17 15:36 ` Dan Magenheimer
2012-04-16 16:26 ` David Vrabel
2012-04-16 17:30 ` Dan Magenheimer [this message]
2012-04-17 7:47 ` Jan Beulich
2012-04-17 15:42 ` Dan Magenheimer
2012-04-16 17:08 ` Tim Deegan
2012-04-16 17:52 ` Dan Magenheimer
2012-04-16 18:17 ` Tim Deegan
2012-04-16 23:01 ` Sheng Yang
2012-04-17 0:29 ` Dan Magenheimer
2012-04-17 8:19 ` Tim Deegan
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=8a78da52-26b2-42a2-80c7-c1ab8aee86eb@default \
--to=dan.magenheimer@oracle.com \
--cc=JBeulich@suse.com \
--cc=david.vrabel@citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sheng@yasker.org \
--cc=tglx@linutronix.de \
--cc=tim@xen.org \
--cc=xen-devel@lists.xen.org \
/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
Powered by JetHome