All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@suse.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
	Olaf Hering <olaf@aepfle.de>, Wei Liu <wei.liu2@citrix.com>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	xen-devel@lists.xen.org
Subject: Re: [PATCH] xen: preserve native TSC speed during migration between identical hosts
Date: Mon, 29 May 2017 08:45:35 -0600	[thread overview]
Message-ID: <592C502F020000780015D535@prv-mh.provo.novell.com> (raw)
In-Reply-To: <20170524153315.GO18530@char.us.oracle.com>

>>> On 24.05.17 at 17:33, <konrad.wilk@oracle.com> wrote:
> On Wed, May 24, 2017 at 05:25:03PM +0200, Olaf Hering wrote:
>> On Wed, May 24, Konrad Rzeszutek Wilk wrote:
>> 
>> > How can that be determined? As in how can the guest (domU) be within
>> > the range? Is there some way to determine that? Is there some
>> > matrix of the various OS-es that can tolerate this?
>> 
>> Just cycle through all dom0s and look for the cpu_khz values:
>>  # xl dmesg | grep -w MHz
>> (XEN) Detected 2494.018 MHz processor.
>> 
>> What I have seen are ranges up to 200khz, even if /proc/cpuinfo says
>> "2.50GHz" . Some dom0s calibrated themselves to exactly 2500.000 MHz,
>> they do not need a tolerance.
>> 
>> The expected frequency of a given domU can be seen in 'dump softtsc
>> stats' (s). How various guest kernels deal with the slightly different
>> frequency, no idea.
> 
> Right, so that answers how one would find the values (which I think
> should be in the docs?).
> 
> But it does not help customers to figure out if this is OK for them?
> 
> As in, how can customers be assured that 1% jitter is OK for their
> kernel? That time won't go backwards?
> 
> Is there some form of tests that they can run to verify and test
> that this is safe? Or perhaps this is something that is based on the kernel
> versions? Like 4.11 are safe, but 3.18 is not?

Well, no, what jitter may be acceptable depends on the
applications running inside the guest. I.e. you can only know
for yourself or ask the application vendor(s). I think such an
option, if we really want to have it, would need to be
prominently documented as unsupported - after all we can't
help it if people use it and then find their applications break.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  parent reply	other threads:[~2017-05-29 14:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-24 14:25 [PATCH] xen: preserve native TSC speed during migration between identical hosts Olaf Hering
2017-05-24 15:09 ` Konrad Rzeszutek Wilk
2017-05-24 15:25   ` Olaf Hering
2017-05-24 15:33     ` Konrad Rzeszutek Wilk
2017-05-24 15:44       ` Olaf Hering
2017-05-29 14:45       ` Jan Beulich [this message]
2017-05-30  6:36         ` Olaf Hering
2017-05-30  7:25           ` Jan Beulich
2017-05-30  9:27       ` Olaf Hering
2017-05-30 14:28         ` Konrad Rzeszutek Wilk
2017-05-29 14:50 ` Jan Beulich
2017-05-30  6:41   ` Olaf Hering
2017-05-30  7:27     ` Jan Beulich

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=592C502F020000780015D535@prv-mh.provo.novell.com \
    --to=jbeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=konrad.wilk@oracle.com \
    --cc=olaf@aepfle.de \
    --cc=wei.liu2@citrix.com \
    --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 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.