From: Boris Derzhavets Subject: RE: [Xen-devel] RE: How to: Improve Network Throughput of a XEN kernel? Date: Mon, 1 Mar 2010 17:23:53 -0800 (PST) Message-ID: <948726.15803.qm@web56105.mail.re3.yahoo.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1723808323==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: Mike Viau Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1723808323== Content-Type: multipart/alternative; boundary="0-1240589177-1267493033=:15803" --0-1240589177-1267493033=:15803 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > Lastly, out of curiosity, what (or what kind) of commands cannot be passe= d with GRUB2? Any just first argument dummy=3Ddummy should on kenel line. Read Wiki one more time. It works. Boris. --- On Mon, 3/1/10, Mike Viau wrote: From: Mike Viau Subject: RE: [Xen-devel] RE: [Xen-users] How to: Improve Network Throughput= of a XEN kernel? To: bderzhavets@yahoo.com Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com Date: Monday, March 1, 2010, 2:52 PM =0A=0A=0AWhy using grub2 vs grub is baffling am not sure.... I think I'd prefer to use the kernel command line in grub2 so that the opti= ons may be changed easier laster on. However I still have been having so su= ccess with boot XEN with Ubuntu's grub2 boot loader. Am I correct to conclude CONFIG_CMDLINE_BOL must =3D N to allow GRUB2 to pa= ss kernel options? http://cateee.net/lkddb/web-lkddb/CMDLINE_BOOL.html I have read through the Wiki page at http://wiki.xensource.com/xenwiki/XenC= ommonProblems. I am running a 64-bit Xen Hypervisor. Thus far I have been having no success with using the example entry found a= t http://old.nabble.com/Strange-interaction-from-grub2-and-XEN-td26464067.h= tml A question regarding that entry is what would be the root device when there= are separate /boot and root partitions? I am using the partition with the = /boot (grub2) as my 'set root' device right? I am also using the dummy=3Ddummy as the first option on the first module l= ine, again as discovered on the wiki. Additionally posted on another thread here in the Xen mailing list was: > On 1 March 2010 08:09, Luke Carrier wrote: >> >> Not sure about Debian, but I know Ubuntu isn=E2=80=99t ideal for Xen any= more >> because of the presence of GRUB2 =E2=80=93 the new boot loader doesn=E2= =80=99t support >> passing certain command lines and the current multiboot implementation >> breaks the method Xen uses to load the Dom0 kernel =E2=80=93 you can=E2= =80=99t use Ubuntu >> 9.10 Server with Xen. I am confused now because Boris clearly created a wordpress.com weblog in w= here Ubuntu 9.10 Server was used with XEN. Lastly, out of curiosity, what (or what kind) of commands cannot be passed = with GRUB2? ThX! =C2=A0 =0A-M Date: Sat, 27 Feb 2010 11:20:31 -0800 From: bderzhavets@yahoo.com Subject: Re: [Xen-devel] RE: [Xen-users] How to: Improve Network Throughput= of=09a XEN kernel? To: mike.viau@sheridanc.on.ca CC: xen-devel@lists.xensource.com; xen-users@lists.xensource.com In Xen Wiki is mentioned , that parameters for kernel may be set via comman= d line as follows:- ***************************************************************************= ********************************* module (hd1,10)/vmlinuz-2.6.31.8=C2=A0 dummy=3Ddummy=C2=A0 root=3D/dev/sda7= ro console=3Dtty0 ***************************************************************************= ********************************* # cat /proc/cmdline shows that GRUB2 skips first argument, what causes problem. Compiling built-in CMD_LINE is just an option. Read all Wiki written by Pasi and=C2=A0 you would never be surprised ;) > P.S: What is=0Ayour feeling on using a recent Ubuntu system with=20 > grub-legacy as the boot=0Aloader? I noticed that Squeeze has adopted grub= 2 > package as well too... I have development Xen 3.4.3 instance on top Ubuntu 9.10 Server with GRUB2 = ( baremetall) loading any from 3 mentioned bellow kernels under Xen 3.4.3 1.)=C2=A0 2.6.32.9 PVOPS 2.)=C2=A0 2.6.31.6 PVOPS 3.)=C2=A0 2.6.31.12 xenified with no problems with dummy=3Ddummy as first parameter ( thanks Pasi). It may also may be done via compiling kernels with built-in CMD_LINE. It works fine as well. Boris. --- On Sat, 2/27/10, Mike Viau wrote: From: Mike Viau Subject: [Xen-devel] RE: [Xen-users] How to: Improve Network Throughput of = a XEN kernel? To: bderzhavets@yahoo.com Cc: xen-devel@lists.xensource.com,=0A xen-users@lists.xensource.com Date: Saturday, February 27, 2010, 12:03 PM =0A=0A=0A#yiv1136322760 .ExternalClass #ecxyiv1942893395 .ecxhmmessage P=0A= {padding:0px;}=0A#yiv1136322760 .ExternalClass #ecxyiv1942893395 .ecxhmmess= age=0A{font-size:10pt;font-family:Verdana;}=0A=0A=0A#yiv1136322760 .Externa= lClass #ecxyiv1942893395 =0A ecx_filtered #ecxyiv1942893395=0A{font-family= :'Cambria Math';panose-1:2 4 5 3 5 4 6 3 2 4;}=0A#yiv1136322760 .ExternalCl= ass ecx_filtered #ecxyiv1942893395=0A{font-family:Calibri;panose-1:2 15 5 2= 2 2 4 3 2 4;}=0A#yiv1136322760 .ExternalClass #ecxyiv1942893395 =0A#ecxyi= v1942893395 p.ecxMsoNormal, #yiv1136322760 .ExternalClass #ecxyiv1942893395= li.ecxMsoNormal, #yiv1136322760 .ExternalClass #ecxyiv1942893395 div.ecxMs= oNormal=0A{margin-right:0cm;margin-bottom:10.0pt;margin-left:0cm;line-heigh= t:115%;font-size:11.0pt;font-family:'sans-serif';}=0A#yiv1136322760 .Extern= alClass #ecxyiv1942893395 .ecxMsoChpDefault=0A{}=0A#yiv1136322760 .External= Class #ecxyiv1942893395 .ecxMsoPapDefault=0A{margin-bottom:10.0pt;line-heig= ht:115%;}=0A#yiv1136322760 .ExternalClass ecx_filtered #ecxyiv1942893395=0A= {}=0A#yiv1136322760 .ExternalClass #ecxyiv1942893395 div.ecxSection1=0A{}= =0A=0A#yiv1136322760 .ExternalClass #ecxyiv1942893395 =0A ecx_filtered #ec= xyiv1942893395=0A{font-family:'Cambria Math';panose-1:2 4 5 3 5 4 6 3 2 4;}= =0A#yiv1136322760 .ExternalClass ecx_filtered #ecxyiv1942893395=0A{font-fam= ily:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}=0A#yiv1136322760 .ExternalClass= #ecxyiv1942893395 =0A#ecxyiv1942893395 p.ecxMsoNormal, #yiv1136322760 .Ex= ternalClass #ecxyiv1942893395 li.ecxMsoNormal, #yiv1136322760 .ExternalClas= s #ecxyiv1942893395 div.ecxMsoNormal=0A{margin-right:0cm;margin-bottom:10.0= pt;margin-left:0cm;line-height:115%;font-size:11.0pt;font-family:'sans-seri= f';}=0A#yiv1136322760 .ExternalClass #ecxyiv1942893395 .ecxMsoChpDefault=0A= {}=0A#yiv1136322760 .ExternalClass #ecxyiv1942893395 .ecxMsoPapDefault=0A{m= argin-bottom:10.0pt;line-height:115%;}=0A#yiv1136322760 .ExternalClass ecx_= filtered #ecxyiv1942893395=0A{}=0A#yiv1136322760 .ExternalClass #ecxyiv1942= 893395 div.ecxSection1=0A{}=0A=0A=0AYes,=0Athank you Boris for pointing tha= t out. I found that was defiantly true. The 3.2.1 xen=0Ahypervisor could on= ly boot the 2.6.26-2 xen kernel and the xenified 2.6.31.12. =0A =0AAdditionally I found that: =0A =0A =0A=0AXend does=0Anot start when using pv_ops dom0 kernel? =0A=0AIn=0AD= ecember 2009 pv_ops dom0 kernel modules were renamed to have a=0A"xen-" pre= fix in them, ie. "evtchn.ko" became=0A"xen-evtchn.ko". =0A=0AThis=0Amakes = Xen 3.4.x xend fail to start, because it tried to load=0A"evtchn.ko", but t= hat doesn't exist. You need to load=0A"xen-evtchn.ko" and then start xend. = Fedora 12 xen-3.4.2-2 rpms have=0Athis problem fixed. =0A=0AAlso make=0Asu= re you have xenfs mounted to "/proc/xen", that's needed aswell.=20 =0A =0A[Source: http://wiki.xensource.com/xenwiki/XenParavirtOps] =0A =0AAnd it appears the Debian xen-3.4.2-2 debs (in squeeze) have not fixed= =0Athis problem. =0A =0ALastly I am still doing some reading on the grub2 package and how to con= figure it. It turns out=0Athat I have been using grub-legacy (or just good = old grub) for so long that=0Aconfiguring the grub2 boot loader is turning o= ut to be my own personal=0Akryptonite. =0A=0A =C2=A0 =0A=0AI am=0Astill wor= king on getting the hypervisor to load the dom0 kernel in a Ubuntu system. = =0A=0A =C2=A0 =0A=0AI have=0Anoticed an example in your wordpress @ Set up = Xen 3.4.3-rc2 & Libvirt 0.7.0 Dom0 (with 2.6.31.8=0Axenified aka Suse kerne= l) on top of Ubuntu 9.10=C2=A0Server =0A=0A =C2=A0 =0A=0AWith=0ACONFIG_CMDL= INE=3D"root=3D/dev/sdb11 ro console=3Dtty0" =0A=0A =C2=A0 =0A=0Amenuentry "= Xen 3.4 / Ubuntu 9.10 kernel 2.6.31.8 xenified" { =0Ainsmod ext2 =0Aset root=3D(hd1,10) =0Amultiboot (hd1,10)/xen-3.4.gz =0Amodule (hd1,10)/vmlinuz-2.6.31.8 =0Amodule (hd1,10)/initrd-2.6.31.8.img =0A} =0A=0A =C2=A0 =0A=0AI am sure=0Ayou wouldn't of mentioned the CONFIG_C= MDLINE kernel option is it was not=0Aimportant for using with grub2 right? = I have not have to compile a kernel with the command line previous as I was= just able to supply the arguments on the kernel line of my menu.lst (grub = configuration file). =0A=0A =0A=0AP.S: What is=0Ayour feeling on using a recent Ubuntu system with gru= b-legacy as the boot=0Aloader? I noticed that Squeeze has adopted grub2 pac= kage as well too... =0A=0A =C2=A0=0A=0A =0A-M Date: Sat, 27 Feb 2010 04:32:59 -0800 From: bderzhavets@yahoo.com Subject: Re: FW: [Xen-users] How to: Improve Network Throughput of a XEN=09= kernel? To: jbeulich@novell.com; mike.viau@sheridanc.on.ca CC: xen-devel@lists.xensource.com; xen-users@lists.xensource.com You cannot load pvops kernel under xen-hypervisor 3.2.1=C2=A0 ( >=3D3.4.0 i= n general) Boris. --- On Fri, 2/26/10, Mike Viau wrote: From: Mike Viau Subject: FW: [Xen-users] How to: Improve Network Throughput of a XEN=0A ker= nel? To: bderzhavets@yahoo.com, jbeulich@novell.com Cc: xen-users@lists.xensource.com, xen-devel@lists.xensource.com Date: Friday, February 26, 2010, 3:19 PM =0A=0A=0A#yiv1136322760 .ExternalClass #ecxyiv1942893395 .ecxExternalClass = #ecxecxyiv1124046979 .ecxecxhmmessage P=0A{padding:0px;}=0A#yiv1136322760 .= ExternalClass #ecxyiv1942893395 .ecxExternalClass #ecxecxyiv1124046979 .ecx= ecxhmmessage=0A{font-size:10pt;font-family:Verdana;}=0A=0AHello again, Just a quick update... I was really hoping it was just going to be an issue with the kernel .confi= g, however I copied exact configuration from the working Debain 2.6.26-2-xe= n-amd64 kernel and used a make oldconfig but the end result was the same. After booting the xenified (2.6.31.12) or pvops kernel (2.6.31.6) via both = xen-hypervisor 3.2.1 or xen-hypervisor 3.4.2 the maximum data transfer to/f= rom the Dom0 (Xen host) is ~1MB/s. Next I plan on re-trying my efforts on a Ubuntu system to see if same netwo= rk bottlenecking is present. =09=09 =09 =09=09 =20 Date: Fri, 26 Feb 2010 09:16:59 -0800 From: bderzhavets@yahoo.com Subject: Re: [Xen-users] How to: Improve Network Throughput of a XEN kernel= ? To: xen-users@lists.xensource.com; viaum@sheridanc.on.ca Would escalate to xen-devel.=C2=A0 2.6.31.8 (12) aka Suse xenified=C2=A0 wa= s Jan Beulich stuff. He might have an answer. Boris. --- On Fri, 2/26/10, Mike Viau wrote: From: Mike Viau Subject: [Xen-users] How to: Improve Network Throughput of a XEN kernel? To: xen-users@lists.xensource.com Cc: waldi@debian.org Date: Friday, February 26, 2010, 12:09 PM =0A=0A=0A#yiv1136322760 .ExternalClass #ecxyiv1942893395 .ecxExternalClass = #ecxecxyiv1124046979 .ecxecxExternalClass #ecxecxecxyiv1501360283 .ecxecxec= xhmmessage P=0A{padding:0px;}=0A#yiv1136322760 .ExternalClass #ecxyiv194289= 3395 .ecxExternalClass #ecxecxyiv1124046979 .ecxecxExternalClass #ecxecxecx= yiv1501360283 .ecxecxecxhmmessage=0A{font-size:10pt;font-family:Verdana;}= =0A=0A=0A#yiv1136322760 .ExternalClass #ecxyiv1942893395 .ecxExternalClass = #ecxecxyiv1124046979 .ecxecxExternalClass #ecxecxecxyiv1501360283 .ecxecxec= xhmmessage P=0A{padding:0px;}=0A#yiv1136322760 .ExternalClass #ecxyiv194289= 3395 .ecxExternalClass #ecxecxyiv1124046979 .ecxecxExternalClass #ecxecxecx= yiv1501360283 .ecxecxecxhmmessage=0A{font-size:10pt;font-family:Verdana;}= =0A=0A=0A=0A=0A=0A=0A#yiv1136322760 .ExternalClass #ecxyiv1942893395 .ecxEx= ternalClass #ecxecxyiv1124046979 .ecxecxExternalClass #ecxecxecxyiv15013602= 83 .ecxecxecxhmmessage P=0A{padding:0px;}=0A#yiv1136322760 .ExternalClass #= ecxyiv1942893395 .ecxExternalClass #ecxecxyiv1124046979 .ecxecxExternalClas= s #ecxecxecxyiv1501360283 .ecxecxecxhmmessage=0A{font-size:10pt;font-family= :Verdana;}=0A=0A=0A=0A=0A=0A=0A#yiv1136322760 .ExternalClass #ecxyiv1942893= 395 .ecxExternalClass #ecxecxyiv1124046979 .ecxecxExternalClass #ecxecxecxy= iv1501360283 .ecxecxecxhmmessage P=0A{padding:0px;}=0A#yiv1136322760 .Exter= nalClass #ecxyiv1942893395 .ecxExternalClass #ecxecxyiv1124046979 .ecxecxEx= ternalClass #ecxecxecxyiv1501360283 .ecxecxecxhmmessage=0A{font-size:10pt;f= ont-family:Verdana;}=0A=0AHi there, I am starting a new thread to try and solve a problem I am having will slow= network throughput to the XEN host (not to a domU). I have confirmed my problem occurs with PVOPS 'xen/master' kernel as well = using http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.31.6-pvops-= dom0-xen-master-x86_64 as the .config. It also occurs with a forward ported xenified kernel (2.6.31.12) using the = attached config-11-xen (.config). However when using the xen kernel found in debain lenny (2.6.26-2) for the = amd64 architecture I get similiar transfer rates to my Xen host as I do on = a baremetel kernel. Bastian Blank perhaps you could point me in the right direction in regards = to a debian specific customization or patch I should be aware of? Maxium transfer rate (to/from=0A hard disk) using the PVOPS 'xen/master' k= ernel and forward ported xenified kernel (2.6.31.12) is bottlenecking at ~1= MB/s. On the debain lenny xen kernel I am getting ~4.5MB/s. I was=0Ahoping one could suggest options in the .config that might be modif= ied=0Ain order to improve network throughput of a XEN kernel and therefor i= ncrease the data transfer rates over the netowork to and from the Xen host. Thanks alot for any help! As always I will be willing to accept any suggest= ions :) -M =09=09 =09 =09=09 =20 =09=09 =09 =09=09 =20 Not using Hotmail on your phone? Why not? Get it now. =0A =09=09 =09 =09=09 =20 Live connected with Hotmail on your phone. Learn more. =0A -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =09=09 =09 =09=09 =20 All your Hotmail contacts on your phone. Try it now. =0A -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users=0A=0A=0A --0-1240589177-1267493033=:15803 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
> Lastly, out of curiosity, what (or =
what kind) of commands cannot be passed with GRUB2?

Any just first a= rgument dummy=3Ddummy should on kenel line.
Read Wiki one more time. It = works.

Boris.


--- On Mon, 3/1/10, Mike Viau &= lt;viaum@sheridanc.on.ca> wrote:
From: Mike Viau <viaum@sheridanc.on.ca>
Subject: RE: [Xen-devel] = RE: [Xen-users] How to: Improve Network Throughput of a XEN kernel?
To: = bderzhavets@yahoo.com
Cc: xen-devel@lists.xensource.com, xen-users@lists= .xensource.com
Date: Monday, March 1, 2010, 2:52 PM

=0A=0A=0AWhy using grub2 vs grub is baffling am not sur= e....

I think I'd prefer to use the kernel command line in grub2 so = that the options may be changed easier laster on. However I still have been= having so success with boot XEN with Ubuntu's grub2 boot loader.

Am= I correct to conclude CONFIG_CMDLINE_BOL must =3D N to allow GRUB2 to pass= kernel options?
http://cateee.net/lkddb/web-lkd= db/CMDLINE_BOOL.html

I have read through the Wiki page at http://wiki.xensource.com/xenwiki/XenCommonProblems. = I am running a 64-bit Xen Hypervisor.

Thus far I have been having no= success with using the example entry found at http://old.nabble.com/Strange-interaction-from-grub2-and-XEN-td= 26464067.html

A question regarding that entry is what would be t= he root device when there are separate /boot and root partitions? I am usin= g the partition with the /boot (grub2) as my 'set root' device right?
I am also using the dummy=3Ddummy as the first option on the first module= line, again as discovered on the wiki.

Additionally posted on anoth= er thread here in the Xen mailing list was:
> On 1 March 2010 08=
:09, Luke Carrier <luke.carrier@xinos.org> wrote:
>>
>= > Not sure about Debian, but I know Ubuntu isn=E2=80=99t ideal for Xen a= ny more
>> because of the presence of GRUB2 =E2=80=93 the new boot= loader doesn=E2=80=99t support
>> passing certain command lines a= nd the current multiboot implementation
>> breaks the method Xen u= ses to load the Dom0 kernel =E2=80=93 you can=E2=80=99t use Ubuntu
>> 9.10 Server= with Xen.

I am confused now because Boris clearly created a wordpre= ss.com weblog in where Ubuntu 9.10 Server was
used with XEN.

Last= ly, out of curiosity, what (or what kind) of commands cannot be passed with= GRUB2?


ThX!
 
=0A-M





Date: Sat, 27 Feb 2010 11:20:31 -0800
From: bderzhavet= s@yahoo.com
Subject: Re: [Xen-devel] RE: [Xen-users] How to: Improve Net= work Throughput of=09a XEN kernel?
To: mike.viau@sheridanc.on.ca
CC: = xen-devel@lists.xensource.com; xen-users@lists.xensource.com


=09=09 =09 =09=09

All your Hotmail contacts on your ph= one. Try it now. =0A
-----Inline Attachment Foll= ows-----

__________________________________= _____________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
In Xen Wiki is mentioned , that= parameters for kernel may be set via command line as follows:-
********= ***************************************************************************= *************************
module (hd1,1= 0)/vmlinuz-2.6.31.8  dummy=3Ddummy  root=3D/dev/sda7 ro console=3Dtty0
********************************************************= ****************************************************
# cat /proc/cmdline=

shows that GRUB2 skips first argument, what causes problem.

= Compiling built-in CMD_LINE is just an option.
Read all Wiki written by = Pasi and  you would never be surprised ;)

> P.S: What is=0Ayour feeling on using a recent Ubuntu syste= m with
> grub-legacy as the boot=0Aloader? I noticed that Squeeze ha= s adopted grub2 > package as well too...


I have developmen= t Xen 3.4.3 instance on top Ubuntu 9.10 Server with GRUB2 ( baremetall) loa= ding any from 3 mentioned bellow kernels under Xen 3.4.3

1.)  2= .6.32.9 PVOPS
2.)  2.6.31.6 PVOPS
3.)  2.6.31.12 xenified
with no problems with dummy=3Ddummy as first parameter ( thanks Pasi)= .
It may also may be done via compiling kernels with built-in CMD_LINE.<= br>It works fine as well.

Boris.








=


--- On Sat, 2/27/10, Mike Viau <viaum@sheridanc.on.ca&= gt; wrote:

From: Mike Viau <viaum@sheridanc.on.ca>
Subject: [Xen-de= vel] RE: [Xen-users] How to: Improve Network Throughput of a XEN kernel?To: bderzhavets@yahoo.com
Cc: xen-devel@lists.xensource.com,=0A xen-use= rs@lists.xensource.com
Date: Saturday, February 27, 2010, 12:03 PM
=0A=0A=0A=0A=0A

= Yes,=0Athank you Boris for pointing that out. I found that was defiantly tr= ue. The 3.2.1 xen=0Ahypervisor could only boot the 2.6.26-2 xen kernel and = the xenified 2.6.31.12.
=0A
=0AAdditionally I found that:
=0A
=0A

=0A=0A

Xend does=0An= ot start when using pv_ops dom0 kernel?

=0A=0A

In=0ADecember 2009 pv_ops dom0 ker= nel modules were renamed to have a=0A"xen-" prefix in them, ie. "evtchn.ko"= became=0A"xen-evtchn.ko".

=0A=0A

This=0Amakes Xe= n 3.4.x xend fail to start, because it tried to load=0A"evtchn.ko", but tha= t doesn't exist. You need to load=0A"xen-evtchn.ko" and then start xend. Fe= dora 12 xen-3.4.2-2 rpms have=0Athis problem fixed.

=0A=0A

Also make=0Asure you have xenfs mounted to "/proc/xen", that's ne= eded aswell.
=0A
=0A[Source: http://wiki.xensource.com/xenwiki/XenParavirtOps]
= =0A
=0AAnd it appears the Debian xen-3.4.2-2 debs (in squeeze) have n= ot fixed=0Athis problem.
=0A
=0ALastly I am still doing some read= ing on the grub2 package and how to configure it. It turns out=0Athat I hav= e been using grub-legacy (or just good old grub) for so long that=0Aconfigu= ring the grub2 boot loader is turning out to be my own personal=0Akryptonit= e.

=0A=0A

 

=0A=0A

= I am=0Astill working on getting the hypervisor to load the dom0 kernel in a= Ubuntu system.

=0A=0A

 

=0A=0AI have=0Anoticed an example in your wordpress @ Set up Xen 3.= 4.3-rc2 & Libvirt 0.7.0 Dom0 (with 2.6.31.8=0Axenified aka Suse kernel)= on top of Ubuntu 9.10 Server

=0A=0A

 

=0A=0A

With=0ACONFIG_CMDLINE=3D"root=3D= /dev/sdb11 ro console=3Dtty0"

=0A=0A

 

=0A=0A

menuentry "Xen 3.4 / Ubuntu 9.10 kernel 2.6.31.8= xenified" {
=0A
insmod ext2=
=0A
set root=3D(hd1,10)
=0Amultiboot (hd1,10)/xen-3.4.gz=0Amodule (hd1,10)/vmlinuz-2.6.31.= 8
=0A
module (hd1,10)/initrd-2.6.31.8.img
=0A
}

=0A=0A

  =0A=0A

I am sure=0Ayou wouldn't of mentioned the CONFIG_CM= DLINE kernel option is it was not=0Aimportant for using with grub2 right? I= have not have to compile a kernel with the command line previous as I was = just able to supply the arguments on the kernel line of my menu.lst (grub c= onfiguration file).

=0A=0A


=0A=0A<= p class=3D"ecxMsoNormal" style=3D"line-height: normal;">P.S: What is=0Ayour feeling on using a recent Ubuntu system w= ith grub-legacy as the boot=0Aloader? I noticed that Squeeze has adopted gr= ub2 package as well too...

=0A=0A


<= /p> =0A=0A
=0A-M





Date= : Sat, 27 Feb 2010 04:32:59 -0800
From: bderzhavets@yahoo.com
Subject= : Re: FW: [Xen-users] How to: Improve Network Throughput of a XEN=09kernel?=
To: jbeulich@novell.com; mike.viau@sheridanc.on.ca
CC: xen-devel@lis= ts.xensource.com; xen-users@lists.xensource.com

You cannot load pvo= ps kernel under xen-hypervisor 3.2.1  ( >=3D3.4.0 in general)
Boris.

--- On Fri, 2/26/10, Mike Viau <viaum@sheridanc.on= .ca> wrote:

From: Mike Viau <viaum@sheridanc.on.ca>
Subject: FW:= [Xen-users] How to: Improve Network Throughput of a XEN=0A kernel?
To: = bderzhavets@yahoo.com, jbeulich@novell.com
Cc: xen-users@lists.xensource= .com, xen-devel@lists.xensource.com
Date: Friday, February 26, 2010, 3:1= 9 PM

=0A=0A=0AHello again,

Just a quick = update...

I was really hoping it was just going to be an issue with = the kernel .config, however I copied exact configuration from the working D= ebain 2.6.26-2-xen-amd64 kernel and used a make oldconfig but the end resul= t was the same.

After booting the xenified (2.6.31.12) or pvops kern= el (2.6.31.6) via both xen-hypervisor 3.2.1 or xen-hypervisor 3.4.2 the max= imum data transfer to/from the Dom0 (Xen host) is ~1MB/s.

Next I pla= n on re-trying my efforts on a Ubuntu system to see if same network bottlen= ecking is present.
=09=09 =09 =09=09



Date: Fri, 26 F= eb 2010 09:16:59 -0800
From: bderzhavets@yahoo.com
Subject: Re: [Xen-= users] How to: Improve Network Throughput of a XEN kernel?
To: xen-users= @lists.xensource.com; viaum@sheridanc.on.ca

Would escalate to xen-devel.  2.6.31.8 (12) aka Suse xenified&nb= sp; was Jan Beulich stuff.
He might have an answer.
Boris.

---= On Fri, 2/26/10, Mike Viau <viaum@sheridanc.on.ca> wro= te:

From:= Mike Viau <viaum@sheridanc.on.ca>
Subject: [Xen-users] How to: Im= prove Network Throughput of a XEN kernel?
To: xen-users@lists.xensource.= com
Cc: waldi@debian.org
Date: Friday, February 26, 2010, 12:09 PM
=0A=0A=0A= =0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0AHi there,

I am= starting a new thread to try and solve a problem I am having will slow net= work throughput to the XEN host (not to a domU).

I have confirmed my= problem occurs with PVOPS 'xen/master' kernel as well using http://pasik.reaktio.net= /xen/pv_ops-dom0-debug/config-2.6.31.6-pvops-dom0-xen-master-x86_64 as = the .config.

It also occurs with a forward ported xenified kernel (2= .6.31.12) using the attached config-11-xen (.config).

However = when using the xen kernel found in debain lenny (2.6.26-2) for the amd64 ar= chitecture I get similiar transfer rates to my Xen host as I do on a bareme= tel kernel.

Bastian Blank perhaps you could point me in the right di= rection in regards to a debian specific customization or patch I should be = aware of?

Maxium transfer rate (to/from=0A hard disk) using t= he PVOPS 'xen/master' kernel and forward ported xenified kernel (2.6.31.12= ) is bottlenecking at ~1MB/s. On the debain lenny xen kernel I am get= ting ~4.5MB/s.

I was=0Ahoping one could suggest options in th= e .config that might be modified=0Ain order to improve network throughput o= f a XEN kernel and therefor increase the data transfer rates over the netow= ork to and from the Xen host.

Thanks alot for any help! As always I = will be willing to accept any suggestions :)


-M

=09=09 =09 =09=09=
=09=09 =09 =09=09

Not using Hotmail on = your phone? Why not? Get it now. =0A

=09=09 =09 =09=09

Live connected wi= th Hotmail on your phone. Learn more. =0A

-----I= nline Attachment Follows-----

__________= _____________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://li= sts.xensource.com/xen-devel

=0A=0A=0A=0A --0-1240589177-1267493033=:15803-- --===============1723808323== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============1723808323==--