Skip to contentSkip to conversation

Performance analysis and Debugging of Guest Os (windows OS)

DISCUSSION aditya shevalkar 2 participants 2 messages Feb 15, 2007

lore
Share & tools
lore
#0 lore raw

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? Also how does the debugging is done from within the guest OS and from xen.
How does this information can be exchanged between guest OS and the Xen VMM(may be in a restricted way). I am trying to learn this technology in intial stage , so please do reply if you have some information which can help me get going with the topic.

Thanks and Regards,
Aditya.

__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

#1 lore raw

RE: Performance analysis and Debugging of Guest Os ( windows OS)

Quoted 11 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] 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)

Quoted 5 lines

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].

Quoted 2 lines

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.

Quoted 2 lines

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