[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Xenoprof patches for xen-unstable



Santos, Jose Renato G wrote:

 Andrew,

 Could you please send me the commands you are using
 to run oprofile?

Sure, I use:

opcontrol --vmlinux=/boot/vmlinux-`uname -r` --xen=/boot/xen-unstable-syms
opcontrol --init

opcontrol --start

<benchmark>

opcontrol --stop

opreport -l


**I changed opcontrol to echo XENIMAGE and XEN_RANGE to ~/.oprofile/daemonrc so they are picked up by oprofiled.

oprofiled cmd line looks like:

oprofiled --separate-lib=0 --separate-kernel=0 --spearate-thread=0 --separate-thread=0 --spearate-cpu=0 --events=GLOBAL_POWER_EVENTS:29:0:100000:1:1:1, --vmlinux=/boot/2.6.11-xen0-up --kernel-range=c01000000,c03ed2ae --xen-image=/boot/xen-unstable-syms --xen-range=c01000000,c03fc45e

 Thanks

 Renato

-----Original Message-----
From: Santos, Jose Renato G Sent: Tuesday, May 31, 2005 9:35 AM
To: 'Andrew Theurer'
Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] [PATCH] Xenoprof patches for xen-unstable



 Andrew

This is weird. Something seems wrong. I am not familiar with the benchmark you are
 running. Is this something easy to try?
 If you could send me the code and some instructions on
 how to use it, I can try running the same benchmark
 in my environment.
 I will also spend sometime looking more carefully
 at xenoprof and my tests to see if I find anything wrong

 Renato

-----Original Message-----
From: Andrew Theurer [mailto:habanero@xxxxxxxxxx]
Sent: Tuesday, May 31, 2005 9:08 AM
To: Santos, Jose Renato G
Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH] Xenoprof patches for xen-unstable


On Wednesday 25 May 2005 14:10, Santos, Jose Renato G wrote:
 hi,

 I have attached patches for enabling system wide profiling
 using oprofile for xen unstable.
 The patches were generated against change-set 1.1507 (May 22).
 The 4 attached files are

 1) xenoprof.txt:
         - xenoprof overview and user guide
 2) xenoprof-1.1-xen-3.0-devel.patch:
      - patch for xen
 3) xenoprof-1.1-linux-2.6.11:
      - patch for linux. Note that this needs to be applied
        twice, once to linux-2.6.11-xen0 and once to
        linux-2.6.11-xenU. (This is different than the last
        patch which was created against the linux sparse tree).
 4) xenoprof-1.1-oprofile-0.8.2:
      - patch for oprofile version 0.8.2
Thanks very much for these; this is going to be extremly
helpful. I am using these on xen-unstable-bk-1.1518 currently. One problem: so far I have not observed any ticks in xen-syms. I have tried SDET benchmark, which on your previous patches (for xen-2.0-testing), I would get about 12% of ticks in xen-syms.

This is on a single cpu xen0 domain with no other domains
running. I verified that the XENIMAGE and XEN_RANGE were getting passed to oprofiled correctly. I do not specify any active or
passive domains
since this is the only domain running. Any ideas why I would not get any ticks for xen-syms?

Has anyone else tried xenoprofile?

Thanks,

-Andrew


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




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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.