[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Re: [Xen-devel] Upgrage PV domU kernel?


  • To: "Zhiyuan Shao" <zyshao.maillist@xxxxxxxxx>, "Thiago Camargo Martins Cordeiro" <thiagocmartinsc@xxxxxxxxx>
  • From: "Zhiyuan Shao" <zyshao.maillist@xxxxxxxxx>
  • Date: Mon, 30 Mar 2009 20:01:42 +0800
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 30 Mar 2009 05:02:22 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:references:subject:message-id:x-mailer:mime-version :content-type; b=TJKzam1s71y0L/9Pzn3kieUt2qfxeFfTrlZ6WBDhDJJRZXp8kPvGy0g9N0PH0SEbF3 n/vtmq59NYswvdb/dBN/zJhm+TspUrfcjpDHHo6sXKEgm54uhe5clLP+eps4YmDiJthu 3+yLnoZjVXQPgGSUiuLECQCvkXPRoEzzdDzXc=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.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@xxxxxxxxxxxxxxxxxxx
主题: 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@xxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.