* Re: Questions on gdbsx
[not found] <32832343.231441235544321617.JavaMail.coremail@bj126app95.126.com>
@ 2009-02-26 2:36 ` Mukesh Rathor
2009-03-03 15:35 ` How expensive is a VM EXIT? Emre Can Sezer
0 siblings, 1 reply; 7+ messages in thread
From: Mukesh Rathor @ 2009-02-26 2:36 UTC (permalink / raw)
To: yujiageng734; +Cc: xen-devel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=x-gbk; format=flowed, Size: 1118 bytes --]
yujiageng734 wrote:
> Hi,
>
> I am trying to use your gdbsx. But I don't know how to make a 32bit
> dom0 running on 64bit hypervisor. Can you explain this for me? I'm
> extremely grateful to you.
Hmm.. good question. I don't know, it's always done for me here. One
option would be to just download OVM from edelivery.oracle.com, it's
free, and should ahve both binary and sources. You could look at spec
file to see how they do it.
> By the way, could you give me some tools to debug hypervisor and
> monitor the process of hypervisor start. Any thought will be thankful.
To debug hypervisor, you'll need kdb. You could get that from OVM (xen
3.1.4) also, or http://xenbits.xensource.com/ext/debuggers.hg for
unstable. See README-dbg. If you put earlykdb in xen kernel line in
grub.conf, it would break into kdb during boot very early. Then you can
single step, set breakpoints, etc...
Mukesh
> Yu Jiageng,
> China.
>
> ------------------------------------------------------------------------
> ÍøÒ×ÓÊÏ䣬ÖйúµÚÒ»´óµç×ÓÓʼþ·þÎñÉÌ <http://www.yeah.net>
^ permalink raw reply [flat|nested] 7+ messages in thread
* How expensive is a VM EXIT?
2009-02-26 2:36 ` Questions on gdbsx Mukesh Rathor
@ 2009-03-03 15:35 ` Emre Can Sezer
2009-03-03 16:34 ` Keir Fraser
0 siblings, 1 reply; 7+ messages in thread
From: Emre Can Sezer @ 2009-03-03 15:35 UTC (permalink / raw)
Cc: xen-devel
Hi,
I've been trying to get a ballpark number on how expensive a VM EXIT is
in terms of clock cycles. I'm also interested in how slow a TLB miss is.
The only reference I was able to find was 13000 cycles for VM EXIT and
around several hundred cycles for a TLB miss and a complete walk of page
tables. Does anyone know from the top of their head or is there a
reference you can share?
Thanks in advance.
John
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How expensive is a VM EXIT?
2009-03-03 15:35 ` How expensive is a VM EXIT? Emre Can Sezer
@ 2009-03-03 16:34 ` Keir Fraser
2009-03-04 0:15 ` NAHieu
0 siblings, 1 reply; 7+ messages in thread
From: Keir Fraser @ 2009-03-03 16:34 UTC (permalink / raw)
To: Emre Can Sezer; +Cc: xen-devel@lists.xensource.com
For just the VMEXIT itself, it's probably about 1000-1500 cycles on the
latest processors. I haven't measured it very recently though.
-- Keir
On 03/03/2009 15:35, "Emre Can Sezer" <ecsezer@ncsu.edu> wrote:
> Hi,
>
> I've been trying to get a ballpark number on how expensive a VM EXIT is
> in terms of clock cycles. I'm also interested in how slow a TLB miss is.
> The only reference I was able to find was 13000 cycles for VM EXIT and
> around several hundred cycles for a TLB miss and a complete walk of page
> tables. Does anyone know from the top of their head or is there a
> reference you can share?
>
> Thanks in advance.
>
> John
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How expensive is a VM EXIT?
2009-03-03 16:34 ` Keir Fraser
@ 2009-03-04 0:15 ` NAHieu
2009-03-04 8:45 ` Keir Fraser
0 siblings, 1 reply; 7+ messages in thread
From: NAHieu @ 2009-03-04 0:15 UTC (permalink / raw)
To: Keir Fraser; +Cc: xen-devel@lists.xensource.com
On Wed, Mar 4, 2009 at 1:34 AM, Keir Fraser <keir.fraser@eu.citrix.com> wrote:
> For just the VMEXIT itself, it's probably about 1000-1500 cycles on the
> latest processors. I haven't measured it very recently though.
>
Could you explain how do you measure the cycles for VMEXIT?
Thanks,
H
> -- Keir
> - Show quoted text -
> On 03/03/2009 15:35, "Emre Can Sezer" <ecsezer@ncsu.edu> wrote:
>
>> Hi,
>>
>> I've been trying to get a ballpark number on how expensive a VM EXIT is
>> in terms of clock cycles. I'm also interested in how slow a TLB miss is.
>> The only reference I was able to find was 13000 cycles for VM EXIT and
>> around several hundred cycles for a TLB miss and a complete walk of page
>> tables. Does anyone know from the top of their head or is there a
>> reference you can share?
>>
>> Thanks in advance.
>>
>> John
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How expensive is a VM EXIT?
2009-03-04 0:15 ` NAHieu
@ 2009-03-04 8:45 ` Keir Fraser
2009-03-04 18:39 ` Nadolski, Ed
0 siblings, 1 reply; 7+ messages in thread
From: Keir Fraser @ 2009-03-04 8:45 UTC (permalink / raw)
To: NAHieu; +Cc: xen-devel@lists.xensource.com
On 04/03/2009 00:15, "NAHieu" <nahieu@gmail.com> wrote:
> On Wed, Mar 4, 2009 at 1:34 AM, Keir Fraser <keir.fraser@eu.citrix.com> wrote:
>> For just the VMEXIT itself, it's probably about 1000-1500 cycles on the
>> latest processors. I haven't measured it very recently though.
>>
>
> Could you explain how do you measure the cycles for VMEXIT?
RDTSC in the guest immediately before triggering a VMEXIT and RDTSC in the
hypervisor on entry.
-- Keir
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: How expensive is a VM EXIT?
2009-03-04 8:45 ` Keir Fraser
@ 2009-03-04 18:39 ` Nadolski, Ed
2009-03-04 18:49 ` Keir Fraser
0 siblings, 1 reply; 7+ messages in thread
From: Nadolski, Ed @ 2009-03-04 18:39 UTC (permalink / raw)
To: Keir Fraser, NAHieu; +Cc: xen-devel@lists.xensource.com
Is there a good tool to look at for this -- xentrace, xenoprofile, other?
Thanks,
Ed
-----Original Message-----
From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Keir Fraser
Sent: Wednesday, March 04, 2009 1:46 AM
To: NAHieu
Cc: xen-devel@lists.xensource.com
Subject: Re: [Xen-devel] How expensive is a VM EXIT?
On 04/03/2009 00:15, "NAHieu" <nahieu@gmail.com> wrote:
> On Wed, Mar 4, 2009 at 1:34 AM, Keir Fraser <keir.fraser@eu.citrix.com> wrote:
>> For just the VMEXIT itself, it's probably about 1000-1500 cycles on the
>> latest processors. I haven't measured it very recently though.
>>
>
> Could you explain how do you measure the cycles for VMEXIT?
RDTSC in the guest immediately before triggering a VMEXIT and RDTSC in the
hypervisor on entry.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: How expensive is a VM EXIT?
2009-03-04 18:39 ` Nadolski, Ed
@ 2009-03-04 18:49 ` Keir Fraser
0 siblings, 0 replies; 7+ messages in thread
From: Keir Fraser @ 2009-03-04 18:49 UTC (permalink / raw)
To: Nadolski, Ed, NAHieu; +Cc: xen-devel@lists.xensource.com
Either of those can give you profiling info about common paths through the
hypervisor, and time spent in the hypervisor. For the specific
microbenchmark of time taken for a processor to execute a vmexit, I'd hack
in custom tracing to get a precise measurement.
-- Keir
On 04/03/2009 18:39, "Nadolski, Ed" <Ed.Nadolski@lsi.com> wrote:
> Is there a good tool to look at for this -- xentrace, xenoprofile, other?
>
> Thanks,
> Ed
>
> -----Original Message-----
> From: xen-devel-bounces@lists.xensource.com
> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Keir Fraser
> Sent: Wednesday, March 04, 2009 1:46 AM
> To: NAHieu
> Cc: xen-devel@lists.xensource.com
> Subject: Re: [Xen-devel] How expensive is a VM EXIT?
>
> On 04/03/2009 00:15, "NAHieu" <nahieu@gmail.com> wrote:
>
>> On Wed, Mar 4, 2009 at 1:34 AM, Keir Fraser <keir.fraser@eu.citrix.com>
>> wrote:
>>> For just the VMEXIT itself, it's probably about 1000-1500 cycles on the
>>> latest processors. I haven't measured it very recently though.
>>>
>>
>> Could you explain how do you measure the cycles for VMEXIT?
>
> RDTSC in the guest immediately before triggering a VMEXIT and RDTSC in the
> hypervisor on entry.
>
> -- Keir
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-03-04 18:49 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <32832343.231441235544321617.JavaMail.coremail@bj126app95.126.com>
2009-02-26 2:36 ` Questions on gdbsx Mukesh Rathor
2009-03-03 15:35 ` How expensive is a VM EXIT? Emre Can Sezer
2009-03-03 16:34 ` Keir Fraser
2009-03-04 0:15 ` NAHieu
2009-03-04 8:45 ` Keir Fraser
2009-03-04 18:39 ` Nadolski, Ed
2009-03-04 18:49 ` Keir Fraser
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.