WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Performance analysis and Debugging of Guest Os ( windows

To: "aditya shevalkar" <aditya27783@xxxxxxxxxxx>, "xen devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Performance analysis and Debugging of Guest Os ( windows OS)
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Thu, 15 Feb 2007 14:10:33 +0100
Delivery-date: Thu, 15 Feb 2007 05:10:24 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <149499.98065.qm@xxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdRAN9CIdDBFLNFQOa+oRemlKYlZQAASH9w
Thread-topic: [Xen-devel] Performance analysis and Debugging of Guest Os ( windows OS)
 

> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> aditya shevalkar
> Sent: 15 February 2007 12:55
> To: xen devel
> Subject: [Xen-devel] Performance analysis and Debugging of 
> Guest Os ( windows OS)
> 
> Hi all,
> Could anyone explain how does the performance analysis data 
> is collected in the 
> guest OS(linux and windows) of guest OS from xen running on a 
> full virtualization  environment?

Performance analyzis is non-trivial. There are tools (oprofile) that can
be run on the host-OS (and that can be run on guest-OS too, but not
Windows), that help with this. But if you specifically say that you want
to run Windows as the Guest, you'd be a bit stuck I think. The
performance counter registers that are necessary to read the guest
performance are currently not task-switched when guest switches [nor is
there support to actually read them out in the guest, but that's a minor
task in comparison]. 

> Also how does the debugging is done from within the guest OS 
> and from xen.

This should really be solved just like you'd do in the normal
"bare-metal" system - you can use any tool that would normally be used
on the guest-OS when it's running without virtualization. The hardware
debug registers (for example) are virtualized by the hypervisor, so you
should be able to use them. Breakpoints, such as INT3 are supported too.


> How does this information can be exchanged between guest OS 
> and the Xen VMM(may be in a restricted way).

Not sure what you're asking for here... Can you rephraze the question,
please?

[snip]
--
Mats



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>