Hi guys, I''m trying to find available tools on xen to do performance analysis: hypervisor + dom0 + domU. I''m thinking CPU usage, lock contentions, page faults, etc type of info. So far I''ve found: - Xenoprof : is this working currently for 64bit VMs on 32bit dom0? - xentop based data - xenmon: does this support SMP? thanks, Mukesh _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mukesh Rathor wrote:> Hi guys, > > I''m trying to find available tools on xen to do performance > analysis: hypervisor + dom0 + domU. I''m thinking CPU usage, > lock contentions, page faults, etc type of info. > > So far I''ve found: > - Xenoprof : is this working currently for 64bit VMs on 32bit dom0? > - xentop based data > - xenmon: does this support SMP?xenlockprof lock profiling of the hypervisor xenperf software counters of the hypervisor Both need to be enabled at compile time of the hypervisor. Juergen -- Juergen Gross Principal Developer Operating Systems TSP ES&S SWE OS6 Telephone: +49 (0) 89 636 47950 Fujitsu Technolgy Solutions e-mail: juergen.gross@ts.fujitsu.com Otto-Hahn-Ring 6 Internet: ts.fujitsu.com D-81739 Muenchen Company details: ts.fujitsu.com/imprint.html _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 29/10/2009 06:04, "Juergen Gross" <juergen.gross@ts.fujitsu.com> wrote:>> So far I''ve found: >> - Xenoprof : is this working currently for 64bit VMs on 32bit dom0? >> - xentop based data >> - xenmon: does this support SMP? > > xenlockprof lock profiling of the hypervisor > xenperf software counters of the hypervisor > > Both need to be enabled at compile time of the hypervisor.Also xentrace, for trace-based analysis. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Thu, Oct 29, 2009 at 7:29 AM, Keir Fraser <keir.fraser@eu.citrix.com> wrote:> On 29/10/2009 06:04, "Juergen Gross" <juergen.gross@ts.fujitsu.com> wrote: > >>> So far I''ve found: >>> - Xenoprof : is this working currently for 64bit VMs on 32bit dom0? >>> - xentop based data >>> - xenmon: does this support SMP? >> >> xenlockprof lock profiling of the hypervisor >> xenperf software counters of the hypervisor >> >> Both need to be enabled at compile time of the hypervisor. > > Also xentrace, for trace-based analysis.And xenalyze, to analyze the resulting traces: http://xenbits.xensource.com/ext/xenalyze.hg -George _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> -----Original Message----- > From: xen-devel-bounces@lists.xensource.com > [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of > Mukesh Rathor > Sent: Wednesday, October 28, 2009 8:07 PM > To: Xen-devel@lists.xensource.com > Subject: [Xen-devel] performance tools on xen > > Hi guys, > > I''m trying to find available tools on xen to do performance > analysis: hypervisor + dom0 + domU. I''m thinking CPU usage, > lock contentions, page faults, etc type of info. > > So far I''ve found: > - Xenoprof : is this working currently for 64bit VMs on 32bit dom0?I am afraid not. If you are interested in working on this I would be glad to help. :) Renato> - xentop based data > - xenmon: does this support SMP? > > > thanks, > Mukesh > > > > _______________________________________________ > 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
On Thu, 29 Oct 2009 14:10:01 +0000 George Dunlap <dunlapg@gmail.com> wrote:> On Thu, Oct 29, 2009 at 7:29 AM, Keir Fraser > <keir.fraser@eu.citrix.com> wrote: > > On 29/10/2009 06:04, "Juergen Gross" <juergen.gross@ts.fujitsu.com> > > wrote: > > > >>> So far I''ve found: > >>> - Xenoprof : is this working currently for 64bit VMs on 32bit > >>> dom0? > >>> - xentop based data > >>> - xenmon: does this support SMP? > >> > >> xenlockprof lock profiling of the hypervisor > >> xenperf software counters of the hypervisor > >> > >> Both need to be enabled at compile time of the hypervisor. > > > > Also xentrace, for trace-based analysis. > > And xenalyze, to analyze the resulting traces: > > http://xenbits.xensource.com/ext/xenalyze.hg > > -GeorgeThanks all. After I get familiar with them, I''ll post a summary on a blog, or create a ''xen performance tools'' page somewhere. mukesh _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jeremy, I searched Mark Mail for "xenoprof pvops" and found this email from dulloor: http://markmail.org/search/?q=xenoprof+pvops#query:xenoprof%20pvops+page:1+mid:yyzbymymat3rtivo+state:results Do you know if dulloor''s patches for xenoprof for linux pvops got applied? Dante On Fri, Oct 30, 2009 at 7:30 AM, Jeremy Fitzhardinge <jeremy@goop.org>wrote:> On 10/29/09 19:36, Santos, Jose Renato G wrote: > > Dante, > > > > To run OProfile in Xen you need support in the kernel and in the > > OProfile user level tools. > > The user level patches were never merged on mainline OProfile. You > > need to apply a patch to the OProfile sources before compiling them. I > > did not have time to port the patch to OProfile 0.9.5 yet, so the > > latest available patch is for Oprofile 0.9.3. You can download that > > from http://xenoprof.sourceforge.net/. > > > > Regarding the kernel I am not sure if the OProfile extensions for Xen > > were already merged in the pvops kernel. You will need to ask that to > > Jeremy. I know that OProfile works with the 2.6.18-xen and the XCI > > 2.6.27-xen versions. I have never tried running the pvops kernel yet. > > I have not looked at Xen+Oprofile, so there''s no support in the pvops > kernel as yet. If someone who''s familiar with that stuff could generate > a patch, I''d be happy to include it. > > J >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 11/02/09 09:56, Dante Cinco wrote:> Jeremy, > > I searched Mark Mail for "xenoprof pvops" and found this email from > dulloor: > > http://markmail.org/search/?q=xenoprof+pvops#query:xenoprof%20pvops+page:1+mid:yyzbymymat3rtivo+state:results > > Do you know if dulloor''s patches for xenoprof for linux pvops got applied?No, they fell through the cracks; I think there was some problem that I could never connect to his git server. Dulloor, do you still have a current set of patched we can try? Thanks, J _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jeremy, I thought you were able to access my git repo (per your last mail). I should be having the patches somewhere around. Will send them over soon. -dulloor On Mon, Nov 2, 2009 at 1:47 PM, Jeremy Fitzhardinge <jeremy@goop.org> wrote:> On 11/02/09 09:56, Dante Cinco wrote: >> Jeremy, >> >> I searched Mark Mail for "xenoprof pvops" and found this email from >> dulloor: >> >> http://markmail.org/search/?q=xenoprof+pvops#query:xenoprof%20pvops+page:1+mid:yyzbymymat3rtivo+state:results >> >> Do you know if dulloor''s patches for xenoprof for linux pvops got applied? > > No, they fell through the cracks; I think there was some problem that I > could never connect to his git server. > > Dulloor, do you still have a current set of patched we can try? > > Thanks, > J >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
I have attached the patch that will apply to the current pvops tree. Tested both on 32-bit and 64-bit platforms. I lost some of the cleanups that I had done to get rid of some (CONFIG_XEN)ifdefs in a couple of files in oprofile directory. But, I will work on them incrementally, if this is checked in. -dulloor On Wed, Nov 4, 2009 at 12:46 AM, Dulloor <dulloor@gmail.com> wrote:> Jeremy, I thought you were able to access my git repo (per your last > mail). I should be having the patches somewhere around. Will send them > over soon. > > -dulloor > > On Mon, Nov 2, 2009 at 1:47 PM, Jeremy Fitzhardinge <jeremy@goop.org> wrote: >> On 11/02/09 09:56, Dante Cinco wrote: >>> Jeremy, >>> >>> I searched Mark Mail for "xenoprof pvops" and found this email from >>> dulloor: >>> >>> http://markmail.org/search/?q=xenoprof+pvops#query:xenoprof%20pvops+page:1+mid:yyzbymymat3rtivo+state:results >>> >>> Do you know if dulloor''s patches for xenoprof for linux pvops got applied? >> >> No, they fell through the cracks; I think there was some problem that I >> could never connect to his git server. >> >> Dulloor, do you still have a current set of patched we can try? >> >> Thanks, >> J >> >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 11/04/09 04:18, Dulloor wrote:> I have attached the patch that will apply to the current pvops tree. > Tested both on 32-bit and 64-bit platforms. > > I lost some of the cleanups that I had done to get rid of some > (CONFIG_XEN)ifdefs in a couple of files in oprofile directory. But, I > will work on them incrementally, if this is checked in. >Thanks, I''ve committed it to the xen/oprofile branch. I haven''t merged it into xen/master yet. J _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Please help me starting profiling my xen3.4.1 with pv kernel 2.6.31.4 on fedora11 platform. I have confusions in installing and using latest version of Oprofile with xenoprof. Regards, Fasiha Ashraf --- On Wed, 4/11/09, Dulloor <dulloor@gmail.com> wrote: From: Dulloor <dulloor@gmail.com> Subject: Re: [Xen-devel] performance tools on xen To: "Jeremy Fitzhardinge" <jeremy@goop.org> Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Santos, Jose Renato G" <joserenato.santos@hp.com>, "Dante Cinco" <dantecinco@gmail.com> Date: Wednesday, 4 November, 2009, 5:18 PM I have attached the patch that will apply to the current pvops tree. Tested both on 32-bit and 64-bit platforms. I lost some of the cleanups that I had done to get rid of some (CONFIG_XEN)ifdefs in a couple of files in oprofile directory. But, I will work on them incrementally, if this is checked in. -dulloor On Wed, Nov 4, 2009 at 12:46 AM, Dulloor <dulloor@gmail.com> wrote:> Jeremy, I thought you were able to access my git repo (per your last > mail). I should be having the patches somewhere around. Will send them > over soon. > > -dulloor > > On Mon, Nov 2, 2009 at 1:47 PM, Jeremy Fitzhardinge <jeremy@goop.org> wrote: >> On 11/02/09 09:56, Dante Cinco wrote: >>> Jeremy, >>> >>> I searched Mark Mail for "xenoprof pvops" and found this email from >>> dulloor: >>> >>> http://markmail.org/search/?q=xenoprof+pvops#query:xenoprof%20pvops+page:1+mid:yyzbymymat3rtivo+state:results >>> >>> Do you know if dulloor''s patches for xenoprof for linux pvops got applied? >> >> No, they fell through the cracks; I think there was some problem that I >> could never connect to his git server. >> >> Dulloor, do you still have a current set of patched we can try? >> >> Thanks, >> J >> >-----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel Yahoo! India has a new look. Take a sneak peek http://in.yahoo.com/trynew _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Even the latest version of oprofile doesn''t have the passive-domain profiling option, which I personally prefer. You could get the patches from http://xenoprof.sourceforge.net A useful guide for xenoprof is http://xen.org/files/summit_3/xenoprof_tutorial.pdf Maybe it''s time those changes are checked-in too (into oprofile). But, Jose knows better. -dulloor On Thu, Nov 5, 2009 at 4:12 AM, Fasiha Ashraf <feehapk@yahoo.co.in> wrote:> Please help me starting profiling my xen3.4.1 with pv kernel 2.6.31.4 on > fedora11 platform. I have confusions in installing and using latest version > of Oprofile with xenoprof. > > Regards, > Fasiha Ashraf > > --- On *Wed, 4/11/09, Dulloor <dulloor@gmail.com>* wrote: > > > From: Dulloor <dulloor@gmail.com> > Subject: Re: [Xen-devel] performance tools on xen > To: "Jeremy Fitzhardinge" <jeremy@goop.org> > Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Santos, Jose Renato G" < > joserenato.santos@hp.com>, "Dante Cinco" <dantecinco@gmail.com> > Date: Wednesday, 4 November, 2009, 5:18 PM > > > I have attached the patch that will apply to the current pvops tree. > Tested both on 32-bit and 64-bit platforms. > > I lost some of the cleanups that I had done to get rid of some > (CONFIG_XEN)ifdefs in a couple of files in oprofile directory. But, I > will work on them incrementally, if this is checked in. > > -dulloor > > On Wed, Nov 4, 2009 at 12:46 AM, Dulloor <dulloor@gmail.com<http://mc/compose?to=dulloor@gmail.com>> > wrote: > > Jeremy, I thought you were able to access my git repo (per your last > > mail). I should be having the patches somewhere around. Will send them > > over soon. > > > > -dulloor > > > > On Mon, Nov 2, 2009 at 1:47 PM, Jeremy Fitzhardinge <jeremy@goop.org<http://mc/compose?to=jeremy@goop.org>> > wrote: > >> On 11/02/09 09:56, Dante Cinco wrote: > >>> Jeremy, > >>> > >>> I searched Mark Mail for "xenoprof pvops" and found this email from > >>> dulloor: > >>> > >>> > http://markmail.org/search/?q=xenoprof+pvops#query:xenoprof%20pvops+page:1+mid:yyzbymymat3rtivo+state:results > >>> > >>> Do you know if dulloor''s patches for xenoprof for linux pvops got > applied? > >> > >> No, they fell through the cracks; I think there was some problem that I > >> could never connect to his git server. > >> > >> Dulloor, do you still have a current set of patched we can try? > >> > >> Thanks, > >> J > >> > > > > -----Inline Attachment Follows----- > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> > http://lists.xensource.com/xen-devel > > > ------------------------------ > Try the new Yahoo! India Homepage. Click here<http://in.rd.yahoo.com/tagline_metro_1/*http://in.yahoo.com/trynew> > . >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Having the Xen passive domain support not integrated into mainline OProfile user level tools is a pain. The problem is that OProfile mantainers are not not happy with the way passive domain samples are stored today (as fake modules named domainX, domainY, etc...) which I agree is ugly . We need to do this properly and separate passive domains samples using OProfile sample directory hierarchy in the same way different CPUs samples are stored. This requires some reasonable amount of work and I don''t have the time to work on this myself. I have been looking for some volunteer to work on that for a while but nobody had taken that task yet. I would be happy to help anyone who is willing to work on that. Any volunteers?:) Renato ________________________________ From: Dulloor [mailto:dulloor@gmail.com] Sent: Thursday, November 05, 2009 1:21 AM To: Fasiha Ashraf Cc: Jeremy Fitzhardinge; Xen-devel; Santos, Jose Renato G; Dante Cinco Subject: Re: [Xen-devel] performance tools on xen Even the latest version of oprofile doesn''t have the passive-domain profiling option, which I personally prefer. You could get the patches from http://xenoprof.sourceforge.net A useful guide for xenoprof is http://xen.org/files/summit_3/xenoprof_tutorial.pdf Maybe it''s time those changes are checked-in too (into oprofile). But, Jose knows better. -dulloor On Thu, Nov 5, 2009 at 4:12 AM, Fasiha Ashraf <feehapk@yahoo.co.in<mailto:feehapk@yahoo.co.in>> wrote: Please help me starting profiling my xen3.4.1 with pv kernel 2.6.31.4 on fedora11 platform. I have confusions in installing and using latest version of Oprofile with xenoprof. Regards, Fasiha Ashraf --- On Wed, 4/11/09, Dulloor <dulloor@gmail.com<mailto:dulloor@gmail.com>> wrote: From: Dulloor <dulloor@gmail.com<mailto:dulloor@gmail.com>> Subject: Re: [Xen-devel] performance tools on xen To: "Jeremy Fitzhardinge" <jeremy@goop.org<mailto:jeremy@goop.org>> Cc: "Xen-devel" <xen-devel@lists.xensource.com<mailto:xen-devel@lists.xensource.com>>, "Santos, Jose Renato G" <joserenato.santos@hp.com<mailto:joserenato.santos@hp.com>>, "Dante Cinco" <dantecinco@gmail.com<mailto:dantecinco@gmail.com>> Date: Wednesday, 4 November, 2009, 5:18 PM I have attached the patch that will apply to the current pvops tree. Tested both on 32-bit and 64-bit platforms. I lost some of the cleanups that I had done to get rid of some (CONFIG_XEN)ifdefs in a couple of files in oprofile directory. But, I will work on them incrementally, if this is checked in. -dulloor On Wed, Nov 4, 2009 at 12:46 AM, Dulloor <dulloor@gmail.com<http://mc/compose?to=dulloor@gmail.com>> wrote:> Jeremy, I thought you were able to access my git repo (per your last > mail). I should be having the patches somewhere around. Will send them > over soon. > > -dulloor > > On Mon, Nov 2, 2009 at 1:47 PM, Jeremy Fitzhardinge <jeremy@goop.org<http://mc/compose?to=jeremy@goop.org>> wrote: >> On 11/02/09 09:56, Dante Cinco wrote: >>> Jeremy, >>> >>> I searched Mark Mail for "xenoprof pvops" and found this email from >>> dulloor: >>> >>> http://markmail.org/search/?q=xenoprof+pvops#query:xenoprof%20pvops+page:1+mid:yyzbymymat3rtivo+state:results >>> >>> Do you know if dulloor''s patches for xenoprof for linux pvops got applied? >> >> No, they fell through the cracks; I think there was some problem that I >> could never connect to his git server. >> >> Dulloor, do you still have a current set of patched we can try? >> >> Thanks, >> J >> >-----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> http://lists.xensource.com/xen-devel ________________________________ Try the new Yahoo! India Homepage. Click here<http://in.rd.yahoo.com/tagline_metro_1/*http://in.yahoo.com/trynew>. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel