xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Xenoprof on Xen-4.1.2
@ 2012-05-29  5:38 suixiufeng
  2012-05-29 15:29 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 6+ messages in thread
From: suixiufeng @ 2012-05-29  5:38 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 587 bytes --]

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. *

[-- Attachment #1.2: Type: text/html, Size: 728 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Xenoprof on Xen-4.1.2
  2012-05-29  5:38 Xenoprof on Xen-4.1.2 suixiufeng
@ 2012-05-29 15:29 ` Konrad Rzeszutek Wilk
  2012-05-29 16:41   ` Malcolm Crossley
  2012-05-30  0:14   ` suixiufeng
  0 siblings, 2 replies; 6+ messages in thread
From: Konrad Rzeszutek Wilk @ 2012-05-29 15:29 UTC (permalink / raw)
  To: suixiufeng; +Cc: 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Xenoprof on Xen-4.1.2
  2012-05-29 15:29 ` Konrad Rzeszutek Wilk
@ 2012-05-29 16:41   ` Malcolm Crossley
  2012-05-30  0:13     ` suixiufeng
  2012-05-30  0:20     ` suixiufeng
  2012-05-30  0:14   ` suixiufeng
  1 sibling, 2 replies; 6+ messages in thread
From: Malcolm Crossley @ 2012-05-29 16:41 UTC (permalink / raw)
  To: 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Xenoprof on Xen-4.1.2
  2012-05-29 16:41   ` Malcolm Crossley
@ 2012-05-30  0:13     ` suixiufeng
  2012-05-30  0:20     ` suixiufeng
  1 sibling, 0 replies; 6+ messages in thread
From: suixiufeng @ 2012-05-30  0:13 UTC (permalink / raw)
  To: Malcolm Crossley; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2078 bytes --]

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
>

[-- Attachment #1.2: Type: text/html, Size: 3490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Xenoprof on Xen-4.1.2
  2012-05-29 15:29 ` Konrad Rzeszutek Wilk
  2012-05-29 16:41   ` Malcolm Crossley
@ 2012-05-30  0:14   ` suixiufeng
  1 sibling, 0 replies; 6+ messages in thread
From: suixiufeng @ 2012-05-30  0:14 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1154 bytes --]

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
>
>

[-- Attachment #1.2: Type: text/html, Size: 1903 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Xenoprof on Xen-4.1.2
  2012-05-29 16:41   ` Malcolm Crossley
  2012-05-30  0:13     ` suixiufeng
@ 2012-05-30  0:20     ` suixiufeng
  1 sibling, 0 replies; 6+ messages in thread
From: suixiufeng @ 2012-05-30  0:20 UTC (permalink / raw)
  To: Malcolm Crossley; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2178 bytes --]

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
>

[-- Attachment #1.2: Type: text/html, Size: 3602 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-05-30  0:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-29  5:38 Xenoprof on Xen-4.1.2 suixiufeng
2012-05-29 15:29 ` Konrad Rzeszutek Wilk
2012-05-29 16:41   ` Malcolm Crossley
2012-05-30  0:13     ` suixiufeng
2012-05-30  0:20     ` suixiufeng
2012-05-30  0:14   ` suixiufeng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).