* Upgrage PV domU kernel?
@ 2009-03-25 0:58 zyshao.maillist
2009-03-25 17:55 ` Thiago Camargo Martins Cordeiro
0 siblings, 1 reply; 7+ messages in thread
From: zyshao.maillist @ 2009-03-25 0:58 UTC (permalink / raw)
To: xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 735 bytes --]
hi pals,
I need to run some HPC applications on the PV Guest (configured with multiple VCPUs and the application invokes also multiple processes to communicate with each other during the lifetime), and found that in some overcommitted cases, the application's performance degrades drastically. I got a Xen installation with both Dom0 and DomU running "vmlinuz-2.6.18.8-xen" kernel, i.e., the default configuration.
I am wondering if I can Upgrade the kernel of the PV Guest, i.e., domU, to run other alternative kernel, such as latest stable linux kernel, 2.6.28.8? By this way, it may be possible to avoid the performance sacrifice resulted by spin-lock problem.
Thanks in advance for any suggestions!
Zhiyuan Shao
2009-03-25
[-- Attachment #1.2: Type: text/html, Size: 1534 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Upgrage PV domU kernel?
2009-03-25 0:58 Upgrage PV domU kernel? zyshao.maillist
@ 2009-03-25 17:55 ` Thiago Camargo Martins Cordeiro
2009-03-26 0:55 ` Zhiyuan Shao
0 siblings, 1 reply; 7+ messages in thread
From: Thiago Camargo Martins Cordeiro @ 2009-03-25 17:55 UTC (permalink / raw)
To: zyshao.maillist; +Cc: xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 1233 bytes --]
Hi Zyshao,
You can download the latest kernel from
http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2 within your
domU, compile it as usual, copy vmlinuz (and initramdisk) to your dom0 (if
you dont use PyGRUB) and start it!
Good luck!
Thiago
2009/3/24 zyshao.maillist <zyshao.maillist@gmail.com>
> hi pals,
>
> I need to run some HPC applications on the PV Guest (configured with
> multiple VCPUs and the application invokes also multiple processes to
> communicate with each other during the lifetime), and found that in some
> overcommitted cases, the application's performance degrades drastically. I
> got a Xen installation with both Dom0 and DomU running
> "vmlinuz-2.6.18.8-xen" kernel, i.e., the default configuration.
>
> I am wondering if I can Upgrade the kernel of the PV Guest, i.e., domU, to
> run other alternative kernel, such as latest stable linux kernel, 2.6.28.8?
> By this way, it may be possible to avoid the performance sacrifice resulted
> by spin-lock problem.
>
> Thanks in advance for any suggestions!
>
> Zhiyuan Shao
>
>
> 2009-03-25
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>
[-- Attachment #1.2: Type: text/html, Size: 2132 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Upgrage PV domU kernel?
2009-03-25 17:55 ` Thiago Camargo Martins Cordeiro
@ 2009-03-26 0:55 ` Zhiyuan Shao
2009-03-30 12:01 ` Zhiyuan Shao
0 siblings, 1 reply; 7+ messages in thread
From: Zhiyuan Shao @ 2009-03-26 0:55 UTC (permalink / raw)
To: Thiago Camargo Martins Cordeiro; +Cc: xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 1516 bytes --]
OK, Thanks a lot, I will try that way.
hoping good luck....
2009-03-26
Zhiyuan Shao
发件人: Thiago Camargo Martins Cordeiro
发送时间: 2009-03-26 01:55:58
收件人: zyshao.maillist
抄送: xen-devel@lists.xensource.com
主题: Re: [Xen-devel] Upgrage PV domU kernel?
Hi Zyshao,
You can download the latest kernel from http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2 within your domU, compile it as usual, copy vmlinuz (and initramdisk) to your dom0 (if you dont use PyGRUB) and start it!
Good luck!
Thiago
2009/3/24 zyshao.maillist <zyshao.maillist@gmail.com>
hi pals,
I need to run some HPC applications on the PV Guest (configured with multiple VCPUs and the application invokes also multiple processes to communicate with each other during the lifetime), and found that in some overcommitted cases, the application's performance degrades drastically. I got a Xen installation with both Dom0 and DomU running "vmlinuz-2.6.18.8-xen" kernel, i.e., the default configuration.
I am wondering if I can Upgrade the kernel of the PV Guest, i.e., domU, to run other alternative kernel, such as latest stable linux kernel, 2.6.28.8? By this way, it may be possible to avoid the performance sacrifice resulted by spin-lock problem.
Thanks in advance for any suggestions!
Zhiyuan Shao
2009-03-25
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
[-- Attachment #1.2: Type: text/html, Size: 5000 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Re: Upgrage PV domU kernel?
2009-03-26 0:55 ` Zhiyuan Shao
@ 2009-03-30 12:01 ` Zhiyuan Shao
2009-03-30 13:22 ` Thiago Camargo Martins Cordeiro
0 siblings, 1 reply; 7+ messages in thread
From: Zhiyuan Shao @ 2009-03-30 12:01 UTC (permalink / raw)
To: Zhiyuan Shao, Thiago Camargo Martins Cordeiro
Cc: xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 2275 bytes --]
I tried this way, but seems it doesnot work.
[root@Dell1 test-pv]# xm cr -c 1-pv.cfg
Using config file "./1-pv.cfg".
Error: (2, 'Invalid kernel', "elf_xen_note_check: ERROR: Not a Xen-ELF image: No ELF notes or '__xen_guest' section found.\n")
The configure file of 1-pv.cfg:
[root@Dell1 test-pv]# cat 1-pv.cfg
#----------------------------------------------------------------------------
# Kernel image file.
kernel = "/boot/vmlinuz-2.6.29"
# Optional ramdisk.
ramdisk = "/boot/initrd-2.6.29.img"
memory = 512
# A name for your domain. All domains must have different names.
name = "test-pv"
vcpus = 2
vif = [ 'ip=192.168.2.101, mac=00:16:3e:00:10:11, bridge=xenbr0' ]
disk = [ 'file:/root/test-pv/vm1disk,sda1,w' ]
# Set root device.
root = "/dev/sda1 ro"
extra = "4"
2009-03-30
Zhiyuan Shao
发件人: Thiago Camargo Martins Cordeiro
发送时间: 2009-03-26 01:55:58
收件人: zyshao.maillist
抄送: xen-devel@lists.xensource.com
主题: Re: [Xen-devel] Upgrage PV domU kernel?
Hi Zyshao,
You can download the latest kernel from http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2 within your domU, compile it as usual, copy vmlinuz (and initramdisk) to your dom0 (if you dont use PyGRUB) and start it!
Good luck!
Thiago
2009/3/24 zyshao.maillist <zyshao.maillist@gmail.com>
hi pals,
I need to run some HPC applications on the PV Guest (configured with multiple VCPUs and the application invokes also multiple processes to communicate with each other during the lifetime), and found that in some overcommitted cases, the application's performance degrades drastically. I got a Xen installation with both Dom0 and DomU running "vmlinuz-2.6.18.8-xen" kernel, i.e., the default configuration.
I am wondering if I can Upgrade the kernel of the PV Guest, i.e., domU, to run other alternative kernel, such as latest stable linux kernel, 2.6.28.8? By this way, it may be possible to avoid the performance sacrifice resulted by spin-lock problem.
Thanks in advance for any suggestions!
Zhiyuan Shao
2009-03-25
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
[-- Attachment #1.2: Type: text/html, Size: 5918 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Re: Upgrage PV domU kernel?
2009-03-30 12:01 ` Zhiyuan Shao
@ 2009-03-30 13:22 ` Thiago Camargo Martins Cordeiro
2009-03-30 13:38 ` Zhiyuan Shao
0 siblings, 1 reply; 7+ messages in thread
From: Thiago Camargo Martins Cordeiro @ 2009-03-30 13:22 UTC (permalink / raw)
To: Zhiyuan Shao; +Cc: xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 2714 bytes --]
Have you enabled this options:
CONFIG_PARAVIRT_GUEST=y
CONFIG_XEN=y
CONFIG_HIGHMEM64G=y
...in your domU's config kernel?
Good luck!
Thiago
2009/3/30 Zhiyuan Shao <zyshao.maillist@gmail.com>
> I tried this way, but seems it doesnot work.
>
> [root@Dell1 test-pv]# xm cr -c 1-pv.cfg
> Using config file "./1-pv.cfg".
> Error: (2, 'Invalid kernel', "elf_xen_note_check: ERROR: Not a Xen-ELF
> image: No ELF notes or '__xen_guest' section found.\n")
> The configure file of 1-pv.cfg:
>
> [root@Dell1 test-pv]# cat 1-pv.cfg
>
> #----------------------------------------------------------------------------
> # Kernel image file.
> kernel = "/boot/vmlinuz-2.6.29"
>
> # Optional ramdisk.
> ramdisk = "/boot/initrd-2.6.29.img"
>
> memory = 512
>
> # A name for your domain. All domains must have different names.
> name = "test-pv"
>
> vcpus = 2
>
> vif = [ 'ip=192.168.2.101, mac=00:16:3e:00:10:11, bridge=xenbr0' ]
>
> disk = [ 'file:/root/test-pv/vm1disk,sda1,w' ]
>
> # Set root device.
> root = "/dev/sda1 ro"
>
> extra = "4"
>
>
> 2009-03-30
> ------------------------------
> Zhiyuan Shao
> ------------------------------
> *发件人:* Thiago Camargo Martins Cordeiro
> *发送时间:* 2009-03-26 01:55:58
> *收件人:* zyshao.maillist
> *抄送:* xen-devel@lists.xensource.com
> *主题:* Re: [Xen-devel] Upgrage PV domU kernel?
> Hi Zyshao,
>
> You can download the latest kernel from
> http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2 within your
> domU, compile it as usual, copy vmlinuz (and initramdisk) to your dom0 (if
> you dont use PyGRUB) and start it!
>
> Good luck!
> Thiago
>
> 2009/3/24 zyshao.maillist <zyshao.maillist@gmail.com>
>
>> hi pals,
>>
>> I need to run some HPC applications on the PV Guest (configured with
>> multiple VCPUs and the application invokes also multiple processes to
>> communicate with each other during the lifetime), and found that in some
>> overcommitted cases, the application's performance degrades drastically. I
>> got a Xen installation with both Dom0 and DomU running
>> "vmlinuz-2.6.18.8-xen" kernel, i.e., the default configuration.
>>
>> I am wondering if I can Upgrade the kernel of the PV Guest, i.e., domU, to
>> run other alternative kernel, such as latest stable linux kernel, 2.6.28.8?
>> By this way, it may be possible to avoid the performance sacrifice resulted
>> by spin-lock problem.
>>
>> Thanks in advance for any suggestions!
>>
>> Zhiyuan Shao
>>
>>
>> 2009-03-25
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>>
>>
>
[-- Attachment #1.2: Type: text/html, Size: 5193 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Re: Upgrage PV domU kernel?
2009-03-30 13:22 ` Thiago Camargo Martins Cordeiro
@ 2009-03-30 13:38 ` Zhiyuan Shao
2009-03-30 14:01 ` Thiago Camargo Martins Cordeiro
0 siblings, 1 reply; 7+ messages in thread
From: Zhiyuan Shao @ 2009-03-30 13:38 UTC (permalink / raw)
To: Thiago Camargo Martins Cordeiro; +Cc: xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 2798 bytes --]
Using the default settings always when make (kernel) asks?
Thanks,
2009-03-30
Zhiyuan Shao
发件人: Thiago Camargo Martins Cordeiro
发送时间: 2009-03-30 21:22:05
收件人: Zhiyuan Shao
抄送: xen-devel@lists.xensource.com
主题: Re: Re: Re: [Xen-devel] Upgrage PV domU kernel?
Have you enabled this options:
CONFIG_PARAVIRT_GUEST=y
CONFIG_XEN=y
CONFIG_HIGHMEM64G=y
...in your domU's config kernel?
Good luck!
Thiago
2009/3/30 Zhiyuan Shao <zyshao.maillist@gmail.com>
I tried this way, but seems it doesnot work.
[root@Dell1 test-pv]# xm cr -c 1-pv.cfg
Using config file "./1-pv.cfg".
Error: (2, 'Invalid kernel', "elf_xen_note_check: ERROR: Not a Xen-ELF image: No ELF notes or '__xen_guest' section found.\n")
The configure file of 1-pv.cfg:
[root@Dell1 test-pv]# cat 1-pv.cfg
#----------------------------------------------------------------------------
# Kernel image file.
kernel = "/boot/vmlinuz-2.6.29"
# Optional ramdisk.
ramdisk = "/boot/initrd-2.6.29.img"
memory = 512
# A name for your domain. All domains must have different names.
name = "test-pv"
vcpus = 2
vif = [ 'ip=192.168.2.101, mac=00:16:3e:00:10:11, bridge=xenbr0' ]
disk = [ 'file:/root/test-pv/vm1disk,sda1,w' ]
# Set root device.
root = "/dev/sda1 ro"
extra = "4"
2009-03-30
Zhiyuan Shao
发件人: Thiago Camargo Martins Cordeiro
发送时间: 2009-03-26 01:55:58
收件人: zyshao.maillist
抄送: xen-devel@lists.xensource.com
主题: Re: [Xen-devel] Upgrage PV domU kernel?
Hi Zyshao,
You can download the latest kernel from http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2 within your domU, compile it as usual, copy vmlinuz (and initramdisk) to your dom0 (if you dont use PyGRUB) and start it!
Good luck!
Thiago
2009/3/24 zyshao.maillist <zyshao.maillist@gmail.com>
hi pals,
I need to run some HPC applications on the PV Guest (configured with multiple VCPUs and the application invokes also multiple processes to communicate with each other during the lifetime), and found that in some overcommitted cases, the application's performance degrades drastically. I got a Xen installation with both Dom0 and DomU running "vmlinuz-2.6.18.8-xen" kernel, i.e., the default configuration.
I am wondering if I can Upgrade the kernel of the PV Guest, i.e., domU, to run other alternative kernel, such as latest stable linux kernel, 2.6.28.8? By this way, it may be possible to avoid the performance sacrifice resulted by spin-lock problem.
Thanks in advance for any suggestions!
Zhiyuan Shao
2009-03-25
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
[-- Attachment #1.2: Type: text/html, Size: 7940 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Re: Upgrage PV domU kernel?
2009-03-30 13:38 ` Zhiyuan Shao
@ 2009-03-30 14:01 ` Thiago Camargo Martins Cordeiro
0 siblings, 0 replies; 7+ messages in thread
From: Thiago Camargo Martins Cordeiro @ 2009-03-30 14:01 UTC (permalink / raw)
To: Zhiyuan Shao; +Cc: xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 3924 bytes --]
No, when you download your kernel source within your domU, you must:
tar xjf linux-2.6.29.tar.bz2<http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2>
cd linux-2.6.29
make defconfig
make menuconfig
--- Enable HIGHMEM64G, PARAVIRT_GUEST and XEN (only domU are available for
2.6.29) options and save it ---
make targz-pkg # So you can copy the generated kernel package to other
domUs and/or to dom0...
You can make a initramdisk, if you wish (If on Debian)
depmod 2.6.29
update-initramfs -k 2.6.29 -c
And copy your domU /boot/initrd.img-2.6.29 to your dom0 together your new
compiled kernel.
Good luck!
Thiago
2009/3/30 Zhiyuan Shao <zyshao.maillist@gmail.com>
> Using the default settings always when make (kernel) asks?
>
> Thanks,
>
> 2009-03-30
> ------------------------------
> Zhiyuan Shao
> ------------------------------
> *发件人:* Thiago Camargo Martins Cordeiro
> *发送时间:* 2009-03-30 21:22:05
> *收件人:* Zhiyuan Shao
> *抄送:* xen-devel@lists.xensource.com
> *主题:* Re: Re: Re: [Xen-devel] Upgrage PV domU kernel?
> Have you enabled this options:
>
> CONFIG_PARAVIRT_GUEST=y
> CONFIG_XEN=y
> CONFIG_HIGHMEM64G=y
>
> ...in your domU's config kernel?
>
> Good luck!
> Thiago
>
> 2009/3/30 Zhiyuan Shao <zyshao.maillist@gmail.com>
>
>> I tried this way, but seems it doesnot work.
>>
>> [root@Dell1 test-pv]# xm cr -c 1-pv.cfg
>> Using config file "./1-pv.cfg".
>> Error: (2, 'Invalid kernel', "elf_xen_note_check: ERROR: Not a Xen-ELF
>> image: No ELF notes or '__xen_guest' section found.\n")
>> The configure file of 1-pv.cfg:
>>
>> [root@Dell1 test-pv]# cat 1-pv.cfg
>>
>> #----------------------------------------------------------------------------
>> # Kernel image file.
>> kernel = "/boot/vmlinuz-2.6.29"
>>
>> # Optional ramdisk.
>> ramdisk = "/boot/initrd-2.6.29.img"
>>
>> memory = 512
>>
>> # A name for your domain. All domains must have different names.
>> name = "test-pv"
>>
>> vcpus = 2
>>
>> vif = [ 'ip=192.168.2.101, mac=00:16:3e:00:10:11, bridge=xenbr0' ]
>>
>> disk = [ 'file:/root/test-pv/vm1disk,sda1,w' ]
>>
>> # Set root device.
>> root = "/dev/sda1 ro"
>>
>> extra = "4"
>>
>>
>> 2009-03-30
>> ------------------------------
>> Zhiyuan Shao
>> ------------------------------
>> *发件人:* Thiago Camargo Martins Cordeiro
>> *发送时间:* 2009-03-26 01:55:58
>> *收件人:* zyshao.maillist
>> *抄送:* xen-devel@lists.xensource.com
>> *主题:* Re: [Xen-devel] Upgrage PV domU kernel?
>> Hi Zyshao,
>>
>> You can download the latest kernel from
>> http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2 within your
>> domU, compile it as usual, copy vmlinuz (and initramdisk) to your dom0 (if
>> you dont use PyGRUB) and start it!
>>
>> Good luck!
>> Thiago
>>
>> 2009/3/24 zyshao.maillist <zyshao.maillist@gmail.com>
>>
>>> hi pals,
>>>
>>> I need to run some HPC applications on the PV Guest (configured with
>>> multiple VCPUs and the application invokes also multiple processes to
>>> communicate with each other during the lifetime), and found that in some
>>> overcommitted cases, the application's performance degrades drastically. I
>>> got a Xen installation with both Dom0 and DomU running
>>> "vmlinuz-2.6.18.8-xen" kernel, i.e., the default configuration.
>>>
>>> I am wondering if I can Upgrade the kernel of the PV Guest, i.e., domU,
>>> to run other alternative kernel, such as latest stable linux kernel,
>>> 2.6.28.8? By this way, it may be possible to avoid the performance sacrifice
>>> resulted by spin-lock problem.
>>>
>>> Thanks in advance for any suggestions!
>>>
>>> Zhiyuan Shao
>>>
>>>
>>> 2009-03-25
>>>
>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@lists.xensource.com
>>> http://lists.xensource.com/xen-devel
>>>
>>>
>>
>
[-- Attachment #1.2: Type: text/html, Size: 7951 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-03-30 14:01 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-25 0:58 Upgrage PV domU kernel? zyshao.maillist
2009-03-25 17:55 ` Thiago Camargo Martins Cordeiro
2009-03-26 0:55 ` Zhiyuan Shao
2009-03-30 12:01 ` Zhiyuan Shao
2009-03-30 13:22 ` Thiago Camargo Martins Cordeiro
2009-03-30 13:38 ` Zhiyuan Shao
2009-03-30 14:01 ` Thiago Camargo Martins Cordeiro
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.