From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: xen-devel@lists.xensource.com, "Dugger,
Donald D" <donald.d.dugger@intel.com>,
"Xu, Dongxiao" <dongxiao.xu@intel.com>,
Keir Fraser <keir.fraser@eu.citrix.com>,
"Nakajima, Jun" <jun.nakajima@intel.com>,
"Zhang, Xiantao" <xiantao.zhang@intel.com>
Subject: Re: RE: Saving/Restoring IA32_TSC_AUX MSR
Date: Fri, 11 Dec 2009 10:50:29 -0800 [thread overview]
Message-ID: <4B229475.8060302@goop.org> (raw)
In-Reply-To: <744491ae-d02b-451c-817d-549ee43764a1@default>
On 12/11/09 10:35, Dan Magenheimer wrote:
>> However, the vcpu number is definitely useful to usermode
>> apps, so they
>> can get some idea how they're moved between (v)cpus. I don't
>> think it
>> will matter to them that it isn't pcpu.
>>
> My point is that an app running on native Linux can
> safely assume that, if TSC_AUX==3 at time T1 and
> TSC_AUX is still 3 at time T2,it is running
> on the same processor and the same node at both T1
> and T2. In a virtual environment it cannot even
> assume it is running on the same machine.
> Further if the app sees that TSC_AUX==2 at time T3
> and TSC_AUX==3 at time T4, on native Linux it
> can safely assume that it is running on a different
> processor. While rarer, in a virtual environment,
> this may also be a false assumption.
>
> That's why I say the information is misleading.
>
Sure, but that info is, at best, of heuristic value, and won't cause any
correctness problems if it is wrong. The performance may suck, but
that's part of the larger problem of running NUMA-aware code in a
virtual environment.
J
next prev parent reply other threads:[~2009-12-11 18:50 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-09 16:41 Saving/Restoring IA32_TSC_AUX MSR Nakajima, Jun
2009-12-09 16:59 ` Dan Magenheimer
2009-12-09 17:07 ` Nakajima, Jun
2009-12-09 17:22 ` Dan Magenheimer
2009-12-10 11:21 ` Xu, Dongxiao
2009-12-10 15:49 ` Dan Magenheimer
2009-12-11 1:22 ` Xu, Dongxiao
2009-12-11 2:00 ` Dan Magenheimer
2009-12-11 8:03 ` Keir Fraser
2009-12-11 8:43 ` Zhang, Xiantao
2009-12-11 9:22 ` Keir Fraser
2009-12-11 15:09 ` Dan Magenheimer
2009-12-11 15:28 ` Xu, Dongxiao
2009-12-11 16:12 ` Dan Magenheimer
2009-12-11 18:38 ` Nakajima, Jun
2009-12-11 19:46 ` Dan Magenheimer
2009-12-11 18:20 ` Jeremy Fitzhardinge
2009-12-11 18:35 ` Dan Magenheimer
2009-12-11 18:50 ` Jeremy Fitzhardinge [this message]
2009-12-11 19:29 ` Nakajima, Jun
2009-12-11 22:23 ` Dan Magenheimer
2009-12-11 22:58 ` Nakajima, Jun
2009-12-11 23:30 ` Dan Magenheimer
2009-12-11 23:44 ` Xu, Dongxiao
2009-12-12 0:09 ` Dan Magenheimer
2009-12-12 0:30 ` Xu, Dongxiao
2009-12-13 9:17 ` Zhang, Xiantao
2009-12-13 18:06 ` Dan Magenheimer
2009-12-13 18:59 ` Jeremy Fitzhardinge
2009-12-14 6:33 ` Xu, Dongxiao
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=4B229475.8060302@goop.org \
--to=jeremy@goop.org \
--cc=dan.magenheimer@oracle.com \
--cc=donald.d.dugger@intel.com \
--cc=dongxiao.xu@intel.com \
--cc=jun.nakajima@intel.com \
--cc=keir.fraser@eu.citrix.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.