All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: "Xen-Devel (E-mail)" <xen-devel@lists.xensource.com>,
	Keir Fraser <keir.fraser@eu.citrix.com>
Subject: Re: [PATCH] replace rdtsc emulation-vs-native xen boot option with per-domain (hypervisor part)
Date: Mon, 05 Oct 2009 21:56:44 -0700	[thread overview]
Message-ID: <4ACACE0C.5030706@goop.org> (raw)
In-Reply-To: <26e6e0ca-9929-46c9-887c-5dd1cb4f68c8@default>

On 10/05/09 18:43, Dan Magenheimer wrote:
> Perhaps a better choice would be for emulated tsc
> to return Xen system time in both kernel and user
> mode (which is what it does for HVM domains) and,
> when a domain has tsc_native==0,
> Xen sets its pvclock parameters so that no scaling
> occurs?  This results in the guest reporting that
> it has a 1GHz clock, but may be more consistent.
>   

Yes, as I said:
> But aside from that, all I'm asking for is a way for a domain to
> explicitly request that its tsc not be synthesized (or failing that,
> something that looks exactly like an unsynthesized tsc), so that
> usermode pvclock can work without needing edits to the config file.
>   

Having a consistent tsc between usermode and kernel will solve the
significant functional breakage that currently exists with tsc synthesis
enabled, making it just a question of performance (and resolution).

I still think tsc_native=1 is the correct setting for the vast majority
of PV guest domains, and enabling it by default is a bad idea.

    J

  reply	other threads:[~2009-10-06  4:56 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-27 19:22 [PATCH] replace rdtsc emulation-vs-native xen boot option with per-domain (hypervisor part) Dan Magenheimer
2009-09-27 21:39 ` Keir Fraser
2009-09-27 23:19   ` Dan Magenheimer
2009-09-28  7:25     ` Keir Fraser
2009-09-28  9:04       ` Keir Fraser
2009-09-28 15:48         ` Dan Magenheimer
2009-09-28 16:07           ` Keir Fraser
2009-09-28 16:24             ` Dan Magenheimer
2009-09-28 19:44               ` Dan Magenheimer
2009-09-28 20:55                 ` Keir Fraser
2009-09-28  8:22     ` Zhang, Xiantao
2009-09-28 15:13       ` Dan Magenheimer
2009-09-28 22:24 ` Jeremy Fitzhardinge
2009-09-28 22:43   ` Dan Magenheimer
2009-09-28 23:10     ` Jeremy Fitzhardinge
2009-09-28 23:36       ` Dan Magenheimer
2009-09-29  0:27         ` Ian Pratt
2009-09-29  1:42           ` Zhang, Xiantao
2009-09-29  3:13             ` Dan Magenheimer
2009-09-29 17:24               ` Jeremy Fitzhardinge
2009-09-29 16:44         ` Jeremy Fitzhardinge
2009-09-29 17:34           ` Dan Magenheimer
2009-09-29 19:01             ` Jeremy Fitzhardinge
2009-09-29 23:45               ` Dan Magenheimer
2009-09-30  0:41                 ` Jeremy Fitzhardinge
2009-10-05 23:15 ` Jeremy Fitzhardinge
2009-10-05 23:42   ` Dan Magenheimer
2009-10-06  0:20     ` Jeremy Fitzhardinge
2009-10-06  1:43       ` Dan Magenheimer
2009-10-06  4:56         ` Jeremy Fitzhardinge [this message]
2009-10-06  7:07         ` Keir Fraser
2009-10-06  9:09           ` Keir Fraser
2009-10-06 13:49             ` Dan Magenheimer
2009-10-06 13:59               ` Keir Fraser
2009-10-08 23:35                 ` Dan Magenheimer
2009-11-05 17:08                 ` Dan Magenheimer
2009-11-06  7:01                   ` Keir Fraser

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=4ACACE0C.5030706@goop.org \
    --to=jeremy@goop.org \
    --cc=dan.magenheimer@oracle.com \
    --cc=keir.fraser@eu.citrix.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.