[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] Xenoprof: Enabling performance profiling in Xen
On Friday 08 April 2005 22:10, Santos, Jose Renato G (Jose Renato Santos) wrote: > I am posting patches for xenoprof in the next three messages > (one patch file in each message). > > These patches enable system-wide statistical profiling > in Xen environments. Xenoprof was developed at HP Labs by > modifying and extending the original OProfile code for linux > > The 3 patch files are: > > 1) xenoprof-1.0-xen-2.0.5.patch: > - Patch for Xen > 2) xenoprof-1.0-xenolinux-2.6.10.patch > - Patch for the linux sparse tree in Xen source tree (2.6.10) > 3) xenoprof-1.0-oprofile-0.8.1 > - Patch for Oprofile 0.8.1 > > The attached file provides an overview of Xenoprof > and how to use it. Thanks very much; this will come in very handy. A few questions: 1) When should the --xen option be specified? My quick testing shows that only when combining with the --start option does opcontrol process the --xen option fully. For example, running "opcontrol --vmlinux=yyy --xen=zzz; opcontrol --start" does not work, but "opcontrol --vmlinux=xxx; opcontrol --start --xen=zzz" does work for me. 2) So far I have been able to profile domain0 (running SDET) with nothing else running, but I can't seem to account for another domain running at the same time. For example, I create a domU (dom id 1) running a cpu bound task, I start oprofile with --passive-domains=1, but I do not get any ticks representing time spent in dom1 (all I want is coarse grain here). In the sequence of commands to start oprofile, is there a particular invocation of opcontrol to specify the --passive-domains option? So far I have been doing "oprofile --vmlinux=xxx; oprofile --start --xen=zzz --passive-domains=1" 3) So far I cannot get an samples in domains other than domain0. Most likely user error here. Can a domU be an initiator? For example, if I have two domains, dom0 and dom1, can dom1 do "everything" while leaving dom0 totally uninvolved? Thanks very much! -Andrew Theurer _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |