Hi: I want to use xenoprof (patched oprofile-0.9.5) to profile VM (both HVM and PV) apps and kernel performance based on passive domains. My platform is as follows: CPU:Intel(R) Xeon(R) CPU E5620 @ 2.40GHz Hypervosir: Xen 4.1.2 Dom0 kernel: linux 2.6.38.2 I am not sure whether xenoprof can work on this platform. * As soon as I start xenoprof in passive domain mode, the VM can''t run workload immediately (The VM doesn''t crash. If I ping the VM from other machine, the response time is really high ). I can''t input any commands through the console prompt. * _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
On Tue, May 29, 2012 at 01:38:37PM +0800, suixiufeng wrote:> Hi: > I want to use xenoprof (patched oprofile-0.9.5) to profile VM (both HVM > and PV) apps and kernel performance based on passive domains. My platform > is as follows: > CPU:Intel(R) Xeon(R) CPU E5620 @ 2.40GHz > Hypervosir: Xen 4.1.2 > Dom0 kernel: linux 2.6.38.2 > I am not sure whether xenoprof can work on this platform. > * As soon as I start xenoprof in passive domain mode, the VM can''t run > workload immediately (The VM doesn''t crash. If I ping the VM from other > machine, the response time is really high ). I can''t input any commands > through the console prompt. *Do you have the patches applied to the kernel to use oprofile?> _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel
On 29/05/12 16:29, Konrad Rzeszutek Wilk wrote:> On Tue, May 29, 2012 at 01:38:37PM +0800, suixiufeng wrote: >> Hi: >> I want to use xenoprof (patched oprofile-0.9.5) to profile VM (both HVM >> and PV) apps and kernel performance based on passive domains. My platform >> is as follows: >> CPU:Intel(R) Xeon(R) CPU E5620 @ 2.40GHz >> Hypervosir: Xen 4.1.2 >> Dom0 kernel: linux 2.6.38.2 >> I am not sure whether xenoprof can work on this platform. >> * As soon as I start xenoprof in passive domain mode, the VM can''t run >> workload immediately (The VM doesn''t crash. If I ping the VM from other >> machine, the response time is really high ). I can''t input any commands >> through the console prompt. * > Do you have the patches applied to the kernel to use oprofile? >The Xeon E5620 processor has model number 0x2c (Westmere class), neither the Xen or the latest upstream Linux kernel have oprofile support for this processor. http://lxr.linux.no/linux+*/arch/x86/oprofile/nmi_int.c#L642 http://xenbits.xen.org/hg/xen-unstable.hg/file/52ffce7a036e/xen/arch/x86/oprofile/nmi_int.c#l344>> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xen.org >> http://lists.xen.org/xen-devel > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel
I have already modified the corresponding code you provide. I add "case 44 (or 0x2c)" before the statement "*cpu_type<http://lxr.linux.no/linux+*/arch/x86/oprofile/+code=cpu_type>"i386/core_i7";". Is it enough to make xenoprof work? Thank you! 2012/5/30 Malcolm Crossley <malcolm.crossley@citrix.com>> On 29/05/12 16:29, Konrad Rzeszutek Wilk wrote: > >> On Tue, May 29, 2012 at 01:38:37PM +0800, suixiufeng wrote: >> >>> Hi: >>> I want to use xenoprof (patched oprofile-0.9.5) to profile VM (both >>> HVM >>> and PV) apps and kernel performance based on passive domains. My platform >>> is as follows: >>> CPU:Intel(R) Xeon(R) CPU E5620 @ 2.40GHz >>> Hypervosir: Xen 4.1.2 >>> Dom0 kernel: linux 2.6.38.2 >>> I am not sure whether xenoprof can work on this platform. >>> * As soon as I start xenoprof in passive domain mode, the VM can''t run >>> workload immediately (The VM doesn''t crash. If I ping the VM from other >>> machine, the response time is really high ). I can''t input any commands >>> through the console prompt. * >>> >> Do you have the patches applied to the kernel to use oprofile? >> >> The Xeon E5620 processor has model number 0x2c (Westmere class), neither > the Xen or the latest upstream Linux kernel have oprofile support for this > processor. > > http://lxr.linux.no/linux+*/**arch/x86/oprofile/nmi_int.c#**L642<http://lxr.linux.no/linux+*/arch/x86/oprofile/nmi_int.c#L642> > http://xenbits.xen.org/hg/xen-**unstable.hg/file/52ffce7a036e/** > xen/arch/x86/oprofile/nmi_int.**c#l344<http://xenbits.xen.org/hg/xen-unstable.hg/file/52ffce7a036e/xen/arch/x86/oprofile/nmi_int.c#l344> > > > > ______________________________**_________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xen.org >>> http://lists.xen.org/xen-devel >>> >> >> ______________________________**_________________ >> Xen-devel mailing list >> Xen-devel@lists.xen.org >> http://lists.xen.org/xen-devel >> > > ______________________________**_________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
My dom0 kernel is 2.6.38.2 and I use the xen-patches-2.6.38-2.tar.bz2. ( http://code.google.com/p/gentoo-xen-kernel/downloads/detail?name=xen-patches-2.6.38-2.tar.bz2&can=2&q) 2012/5/29 Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>> On Tue, May 29, 2012 at 01:38:37PM +0800, suixiufeng wrote: > > Hi: > > I want to use xenoprof (patched oprofile-0.9.5) to profile VM (both > HVM > > and PV) apps and kernel performance based on passive domains. My platform > > is as follows: > > CPU:Intel(R) Xeon(R) CPU E5620 @ 2.40GHz > > Hypervosir: Xen 4.1.2 > > Dom0 kernel: linux 2.6.38.2 > > I am not sure whether xenoprof can work on this platform. > > * As soon as I start xenoprof in passive domain mode, the VM can''t run > > workload immediately (The VM doesn''t crash. If I ping the VM from other > > machine, the response time is really high ). I can''t input any commands > > through the console prompt. * > > Do you have the patches applied to the kernel to use oprofile? > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xen.org > > http://lists.xen.org/xen-devel > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
I can use active domains to profile the PVM virtual machines. And I can get some reasonable data. But *As soon as I start xenoprof in passive domain mode, the VM can''t run workload immediately (The VM doesn''t crash. If I ping the VM from other machine, the response time is really high ). I can''t input any commands through the console prompt. * 2012/5/30 Malcolm Crossley <malcolm.crossley@citrix.com>> On 29/05/12 16:29, Konrad Rzeszutek Wilk wrote: > >> On Tue, May 29, 2012 at 01:38:37PM +0800, suixiufeng wrote: >> >>> Hi: >>> I want to use xenoprof (patched oprofile-0.9.5) to profile VM (both >>> HVM >>> and PV) apps and kernel performance based on passive domains. My platform >>> is as follows: >>> CPU:Intel(R) Xeon(R) CPU E5620 @ 2.40GHz >>> Hypervosir: Xen 4.1.2 >>> Dom0 kernel: linux 2.6.38.2 >>> I am not sure whether xenoprof can work on this platform. >>> * As soon as I start xenoprof in passive domain mode, the VM can''t run >>> workload immediately (The VM doesn''t crash. If I ping the VM from other >>> machine, the response time is really high ). I can''t input any commands >>> through the console prompt. * >>> >> Do you have the patches applied to the kernel to use oprofile? >> >> The Xeon E5620 processor has model number 0x2c (Westmere class), neither > the Xen or the latest upstream Linux kernel have oprofile support for this > processor. > > http://lxr.linux.no/linux+*/**arch/x86/oprofile/nmi_int.c#**L642<http://lxr.linux.no/linux+*/arch/x86/oprofile/nmi_int.c#L642> > http://xenbits.xen.org/hg/xen-**unstable.hg/file/52ffce7a036e/** > xen/arch/x86/oprofile/nmi_int.**c#l344<http://xenbits.xen.org/hg/xen-unstable.hg/file/52ffce7a036e/xen/arch/x86/oprofile/nmi_int.c#l344> > > > > ______________________________**_________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xen.org >>> http://lists.xen.org/xen-devel >>> >> >> ______________________________**_________________ >> Xen-devel mailing list >> Xen-devel@lists.xen.org >> http://lists.xen.org/xen-devel >> > > ______________________________**_________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel