xen-devel
Re: [Xen-devel] RE: Live migration fails due to c/s 20627
To: |
Dan Magenheimer <dan.magenheimer@xxxxxxxxxx> |
Subject: |
Re: [Xen-devel] RE: Live migration fails due to c/s 20627 |
From: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> |
Date: |
Wed, 16 Dec 2009 09:38:25 -0800 |
Cc: |
xen-devel@xxxxxxxxxxxxxxxxxxx, kurt.hackel@xxxxxxxxxx, "Dugger, Donald D" <donald.d.dugger@xxxxxxxxx>, "Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>, "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx> |
Delivery-date: |
Wed, 16 Dec 2009 09:38:52 -0800 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<7e45dd6e-73f9-4f6a-8690-40cff3f468e7@default> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<7e45dd6e-73f9-4f6a-8690-40cff3f468e7@default> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091203 Fedora/3.0-3.13.rc2.fc12 Thunderbird/3.0 |
On 12/16/2009 08:23 AM, Dan Magenheimer wrote:
As Jeremy has pointed out, this cpu/node information is exactly
the same information that can be obtained by a system call.
So the only reason that rdtscp is better than using the
system call would be for performance.
No, not a system call. The vgetcpu vsyscall will return the info with
no syscalls, regardless of whether rdtscp is available. It encodes the
data in the segment limit of a special segment, and it can be read back
with the "lsl" instruction.
Rdtscp is faster than a system call in many situations, but
now is often emulated in Xen (even on processors that do support
the hardware instruction*), so cannot be assumed to be much
faster than a system call. And the difference in performance
is only measurable if an app is executing rdtscp many thousands
of times every second.
"lsl" is probably at least as fast as rdtscp when executed natively, and
definitely if rdtscp is emulated.
Suppose a guest believes it has eight cores on a single
processor/node.
[...]
Suppose a guest believes it has a total of four cores,
two cores on each of two nodes.
The pvops kernel never attempts to determine the underlying machine
topology; it always assumes a single NUMA node.
J
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] RE: Live migration fails due to c/s 20627, (continued)
- [Xen-devel] RE: Live migration fails due to c/s 20627, Dan Magenheimer
- [Xen-devel] RE: Live migration fails due to c/s 20627, Xu, Dongxiao
- [Xen-devel] RE: Live migration fails due to c/s 20627, Dan Magenheimer
- [Xen-devel] RE: Live migration fails due to c/s 20627, Dan Magenheimer
- [Xen-devel] RE: Live migration fails due to c/s 20627, Xu, Dongxiao
- [Xen-devel] RE: Live migration fails due to c/s 20627, Nakajima, Jun
- [Xen-devel] RE: Live migration fails due to c/s 20627, Zhang, Xiantao
- [Xen-devel] RE: Live migration fails due to c/s 20627, Dan Magenheimer
- [Xen-devel] RE: Live migration fails due to c/s 20627, Zhang, Xiantao
- RE: [Xen-devel] RE: Live migration fails due to c/s 20627, Dan Magenheimer
- Re: [Xen-devel] RE: Live migration fails due to c/s 20627,
Jeremy Fitzhardinge <=
- [Xen-devel] Re: Live migration fails due to c/s 20627, Jeremy Fitzhardinge
- RE: [Xen-devel] Re: Live migration fails due to c/s 20627, Dan Magenheimer
- Re: [Xen-devel] Re: Live migration fails due to c/s 20627, Jeremy Fitzhardinge
- [Xen-devel] Re: Live migration fails due to c/s 20627, Jeremy Fitzhardinge
- [Xen-devel] RE: Live migration fails due to c/s 20627, Xu, Dongxiao
- [Xen-devel] Re: Live migration fails due to c/s 20627, Jeremy Fitzhardinge
- [Xen-devel] RE: Live migration fails due to c/s 20627, Dan Magenheimer
- [Xen-devel] Re: Live migration fails due to c/s 20627, Keir Fraser
- Re: [Xen-devel] Re: Live migration fails due to c/s 20627, Keir Fraser
- Re: [Xen-devel] RE: Live migration fails due to c/s 20627, Andre Przywara
|
|
|