Lv, Hui
2011-May-30 03:25 UTC
[Xen-devel] About the oprofile tools and related profiling tools
Hi, list I found the oprofile tools were not supported in PVOPS domain0(from jeremy''s tree). Someone has made the patch to enable it. When I applied such patch, xenoprofile can work. But the results were not trusted. (I think, part of this reason was due to xen, which changed the NMI handling way, but did not update the xenoprofile part) So my question is that, does anyone still maintain this tools? Or, do xen guys have a plan to enable more powerful profiling tools like ''perf'' in native Linux or something else. One of my basic feeling about xen''s performance profiling tools is that the functional level profiling tools like oprofile were neglected recently. Best regards! Lv,hui _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
George Dunlap
2011-May-31 09:44 UTC
Re: [Xen-devel] About the oprofile tools and related profiling tools
On Mon, May 30, 2011 at 4:25 AM, Lv, Hui <hui.lv@intel.com> wrote:> I found the oprofile tools were not supported in PVOPS domain0(from jeremy’s > tree). Someone has made the patch to enable it. When I applied such patch, > xenoprofile can work. But the results were not trusted. (I think, part of > this reason was due to xen, which changed the NMI handling way, but did not > update the xenoprofile part) > > So my question is that, does anyone still maintain this tools? Or, do xen > guys have a plan to enable more powerful profiling tools like ‘perf’ in > native Linux or something else. > > One of my basic feeling about xen’s performance profiling tools is that the > functional level profiling tools like oprofile were neglected recently.Indeed, they have rather been. I''d love xenoprofile to be in a better working state, but unfortunately I simply don''t have the time to work on it. But I''d be willing to do what I could to help someone who did step up to make things work. -George _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2011-May-31 14:35 UTC
Re: [Xen-devel] About the oprofile tools and related profiling tools
On Mon, May 30, 2011 at 11:25:10AM +0800, Lv, Hui wrote:> Hi, list > > I found the oprofile tools were not supported in PVOPS domain0(from jeremy''s tree). Someone has made the patch to enable it. When I applied such patch, xenoprofile can work. But the results were not trusted. (I think, part of this reason was due to xen, which changed the NMI handling way, but did not update the xenoprofile part)Hm, I don''t think the Jeremy''s tree had support for it. Mike Petullo wrote a patch for the oprofile support and Xen for 2.6.39 kernels. If you want to try it out, I would suggest you play with devel/next-2.6.39 in my git tree git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git.> So my question is that, does anyone still maintain this tools? Or, do xen guys have a plan to enable more powerful profiling tools like ''perf'' in native Linux or something else.Would love to, except that I don''t think anybody has signed up for that yet.> One of my basic feeling about xen''s performance profiling tools is that the functional level profiling tools like oprofile were neglected recently. > > Best regards! > Lv,hui >> _______________________________________________ > 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
Lv, Hui
2011-May-31 15:42 UTC
RE: [Xen-devel] About the oprofile tools and related profiling tools
Thanks Konrad and George! I have tried Mike Petullo''s patched pvops domain0 and xenoprofile on it can work. But I did not get the right sample results of HVM guest (No samples obtained). So I guess, something should be wrong from hypervisor part in profiling HVM guest. So did anyone successfully profile the HVM based guest using this patch? Anyway, this patch is very useful. Thanks Mike Petullo''s work. :) Best regards, Lv, Hui -----Original Message----- From: Konrad Rzeszutek Wilk [mailto:konrad.wilk@oracle.com] Sent: Tuesday, May 31, 2011 10:36 PM To: Lv, Hui Cc: xen-devel@lists.xensource.com Subject: Re: [Xen-devel] About the oprofile tools and related profiling tools On Mon, May 30, 2011 at 11:25:10AM +0800, Lv, Hui wrote:> Hi, list > > I found the oprofile tools were not supported in PVOPS domain0(from jeremy''s tree). Someone has made the patch to enable it. When I applied such patch, xenoprofile can work. But the results were not trusted. (I think, part of this reason was due to xen, which changed the NMI handling way, but did not update the xenoprofile part)Hm, I don''t think the Jeremy''s tree had support for it. Mike Petullo wrote a patch for the oprofile support and Xen for 2.6.39 kernels. If you want to try it out, I would suggest you play with devel/next-2.6.39 in my git tree git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git.> So my question is that, does anyone still maintain this tools? Or, do xen guys have a plan to enable more powerful profiling tools like ''perf'' in native Linux or something else.Would love to, except that I don''t think anybody has signed up for that yet.> One of my basic feeling about xen''s performance profiling tools is that the functional level profiling tools like oprofile were neglected recently. > > Best regards! > Lv,hui >> _______________________________________________ > 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
Konrad Rzeszutek Wilk
2011-May-31 16:02 UTC
Re: [Xen-devel] About the oprofile tools and related profiling tools
On Tue, May 31, 2011 at 11:42:38PM +0800, Lv, Hui wrote:> Thanks Konrad and George! > > I have tried Mike Petullo''s patched pvops domain0 and xenoprofile on it can work. > > But I did not get the right sample results of HVM guest (No samples obtained). So I guess, something should be wrong from hypervisor part in profiling HVM guest. > > So did anyone successfully profile the HVM based guest using this patch?You might want to email Mike to ask that.> > Anyway, this patch is very useful. Thanks Mike Petullo''s work. :)_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
W. Michael Petullo
2011-May-31 16:21 UTC
Re: [Xen-devel] About the oprofile tools and related profiling tools
>> Thanks Konrad and George! >> >> I have tried Mike Petullo''s patched pvops domain0 and xenoprofile on it can work. >> >> But I did not get the right sample results of HVM guest (No samples >> obtained). So I guess, something should be wrong from hypervisor part >> in profiling HVM guest. >> >> So did anyone successfully profile the HVM based guest using this patch?> You might want to email Mike to ask that.I have only used my variation of the 2.6.39 OProfile patch to passively profile a PV kernel. Note that most of the work was done previously; all I did was port it to Linux 2.6.39. I have not tried it on a HVM kernel. My latest 2.6.39 patch is at: http://www.flyn.org/patches/linux-xen-passive-oprofile/linux-2.6.39.rc5.git5-xen-passive-oprofile.patch.gz -- Mike :wq _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Lv, Hui
2011-Jun-01 00:16 UTC
RE: [Xen-devel] About the oprofile tools and related profiling tools
Thanks Mike. I can try you latest patch and see what happened to HVM guest:) -----Original Message----- From: W. Michael Petullo [mailto:mike@flyn.org] Sent: Wednesday, June 01, 2011 12:21 AM To: Konrad Rzeszutek Wilk Cc: Lv, Hui; George Dunlap; dunlapg@gmail.com; xen-devel@lists.xensource.com Subject: Re: [Xen-devel] About the oprofile tools and related profiling tools>> Thanks Konrad and George! >> >> I have tried Mike Petullo''s patched pvops domain0 and xenoprofile on it can work. >> >> But I did not get the right sample results of HVM guest (No samples >> obtained). So I guess, something should be wrong from hypervisor part >> in profiling HVM guest. >> >> So did anyone successfully profile the HVM based guest using this patch?> You might want to email Mike to ask that.I have only used my variation of the 2.6.39 OProfile patch to passively profile a PV kernel. Note that most of the work was done previously; all I did was port it to Linux 2.6.39. I have not tried it on a HVM kernel. My latest 2.6.39 patch is at: http://www.flyn.org/patches/linux-xen-passive-oprofile/linux-2.6.39.rc5.git5-xen-passive-oprofile.patch.gz -- Mike :wq _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel