Questions on gdbsx
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · 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.
Quoted 2 lines
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
Quoted 5 lines
Yu Jiageng,
China.------------------------------------------------------------------------
网易邮箱,中国第一大电子邮件服务商 <http://www.yeah.net>
How expensive is a VM EXIT?
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
Re: How expensive is a VM EXIT?
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
Quoted 18 lines · Emre Can Sezer
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
[email protected]
http://lists.xensource.com/xen-devel
Re: How expensive is a VM EXIT?
Quoted 3 lines · Keir Fraser
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
Quoted 30 lines
-- Keir
- Show quoted text -Quoted 11 lines · Emre Can Sezer
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.
Quoted 7 lines
John
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: How expensive is a VM EXIT?
Quoted 6 lines · NAHieu
Quoted 3 lines · Keir Fraser
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
RE: How expensive is a VM EXIT?
Is there a good tool to look at for this -- xentrace, xenoprofile, other?
Thanks,
Ed
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Keir Fraser
Sent: Wednesday, March 04, 2009 1:46 AM
To: NAHieu
Cc: [email protected]
Subject: Re: [Xen-devel] How expensive is a VM EXIT?
Quoted 6 lines · NAHieu
Quoted 3 lines · Keir Fraser
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
[email protected]
http://lists.xensource.com/xen-devel
Re: How expensive is a VM EXIT?
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
Quoted 34 lines · Ed
Is there a good tool to look at for this -- xentrace, xenoprofile, other?
Thanks,
Ed-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Keir Fraser
Sent: Wednesday, March 04, 2009 1:46 AM
To: NAHieu
Cc: [email protected]
Subject: Re: [Xen-devel] How expensive is a VM EXIT?Quoted 7 lines · NAHieu
Quoted 3 lines · Keir Fraser
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
[email protected]
http://lists.xensource.com/xen-devel