All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Levon <levon@movementarian.org>
To: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: Ian Pratt <Ian.Pratt@eu.citrix.com>,
	xen-devel@lists.xensource.com,
	Keir Fraser <Keir.Fraser@eu.citrix.com>,
	"Zhang, Xiantao" <xiantao.zhang@intel.com>
Subject: Re: [PATCH] TSC scaling for live migration between platforms with different TSC frequecies
Date: Thu, 18 Jun 2009 16:45:51 -0400	[thread overview]
Message-ID: <20090618204551.GA25732@movementarian.org> (raw)
In-Reply-To: <557984e0-2917-42c9-a54f-479b5c7fab2d@default>

On Thu, Jun 18, 2009 at 01:27:23PM -0700, Dan Magenheimer wrote:

> > Certainly Solaris relies on the TSC for time-keeping, and uses it very
> > heavily. To the extent that I doubt it's even feasible to migrate to a
> > machine where scaling needs to be done, and such a migration should be
> > refused, since it would essentially kill the guest.
> 
> Hmmm... any numbers?  Certainly Solaris isn't reading TSC much

# dtrace -n 'fbt::tsc_gethrtime:entry /cpu == 0/ { @ = sum(1); }' -c "sleep 10"
dtrace: description 'fbt::tsc_gethrtime:entry ' matched 1 probe
dtrace: pid 29708 has exited

            27798

This is on a basically idle 8-way system. (The other CPUs are less busy.)

http://blogs.sun.com/eschrock/entry/microstate_accounting_in_solaris_10

> that data centers running Solaris guests must segregate sets of
> their machines by clock rate and disallow migrations
> between the sets?

Certainly for Solaris HVM that has to be the case until we make it use PV time
(presuming that is safe, which I'm not sure offhand).

> THAT expensive on x86?  (If max(TSC/sec/processor)~=1000 and
> cycles/emulation~=5000, total degradation would be
> less than 1%.  (Sounds high, but if the alternative is

At the end of the day, though, only testing will tell us for sure.

regards
john

  reply	other threads:[~2009-06-18 20:45 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-18  2:56 [PATCH] TSC scaling for live migration between platforms with different TSC frequecies Zhang, Xiantao
2009-06-18  7:37 ` [PATCH] TSC scaling for live migration betweenplatforms " Jan Beulich
2009-06-18  8:52   ` Zhang, Xiantao
2009-06-18 15:40     ` Dan Magenheimer
2009-06-19  1:48       ` Zhang, Xiantao
2009-06-18  9:02 ` [PATCH] TSC scaling for live migration between platforms " Tim Deegan
2009-06-18  9:46   ` Zhang, Xiantao
2009-06-18  9:56     ` Tim Deegan
2009-06-18  9:10 ` Patrick Colp
2009-06-18  9:27   ` Tim Deegan
2009-06-18  9:47     ` Zhang, Xiantao
2009-06-18 15:45       ` Dan Magenheimer
2009-06-18 16:04         ` Tim Deegan
2009-06-18 20:07           ` Dan Magenheimer
2009-06-18 10:56 ` Ian Pratt
2009-06-18 15:58   ` Dan Magenheimer
2009-06-18 16:45     ` John Levon
2009-06-18 20:27       ` Dan Magenheimer
2009-06-18 20:45         ` John Levon [this message]
2009-06-18 20:57           ` Dan Magenheimer
2009-06-18 21:00             ` John Levon
2009-06-18 22:27               ` Dan Magenheimer
2009-06-19 13:36                 ` John Levon
2009-06-19  1:21               ` Zhang, Xiantao
2009-06-19 13:54                 ` John Levon
2009-06-18 23:49       ` Dong, Eddie
2009-06-19  2:25       ` Zhang, Xiantao
2009-06-19 13:53         ` John Levon
2009-06-19 15:07           ` Zhang, Xiantao
2009-06-19 20:44             ` Dan Magenheimer
2009-06-22  1:38               ` Zhang, Xiantao
2009-06-19  1:34   ` Zhang, Xiantao
2009-06-22  5:14 ` Zhang, Xiantao
2009-06-23 10:18   ` Keir Fraser
2009-06-24  1:18     ` Zhang, Xiantao

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=20090618204551.GA25732@movementarian.org \
    --to=levon@movementarian.org \
    --cc=Ian.Pratt@eu.citrix.com \
    --cc=Keir.Fraser@eu.citrix.com \
    --cc=dan.magenheimer@oracle.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=xiantao.zhang@intel.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.