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] [PATCH] Xenoprof patches for xen-unstable

To: "Santos, Jose Renato G" <joserenato.santos@xxxxxx>
Subject: Re: [Xen-devel] [PATCH] Xenoprof patches for xen-unstable
From: Andrew Theurer <habanero@xxxxxxxxxx>
Date: Tue, 31 May 2005 12:37:42 -0500
Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 31 May 2005 17:37:22 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6C21311CEE34E049B74CC0EF339464B924B3B1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <6C21311CEE34E049B74CC0EF339464B924B3B1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.8 (Windows/20040913)
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