From: "Mr. Teo En Ming (Zhang Enming)" Subject: Re: Low Network Throughput between HVM Guests Date: Sat, 7 Nov 2009 23:30:01 +0800 Message-ID: References: <20091107111723.GC1434@reaktio.net> <20091107131540.GD1434@reaktio.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1290485485==" Return-path: In-Reply-To: <20091107131540.GD1434@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: xen-devel@lists.xensource.com, space.time.universe@gmail.com List-Id: xen-devel@lists.xenproject.org --===============1290485485== Content-Type: multipart/alternative; boundary=0016364268734347c30477c9a2d1 --0016364268734347c30477c9a2d1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Pasi, I have added 'type=3Dioemu' and 'model=3De1000' to vif in my HVM configurat= ion files. Now the Rocks HPC Cluster 5.1 x86-64 Frontend node detected two Inte= l 82540 Gigabit Ethernet controllers. Hopefully this will speed up my compute node installation with the upgraded gigabit speed. --=20 Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore My Primary Blog: http://teo-en-ming-aka-zhang-enming.blogspot.com My Secondary Blog: http://enmingteo.wordpress.com My Youtube videos: http://www.youtube.com/user/enmingteo Email: space.time.universe@gmail.com Mobile Phone (Starhub Prepaid): +65-8369-2618 Street: Bedok Reservoir Road Country: Singapore On Sat, Nov 7, 2009 at 9:15 PM, Pasi K=E4rkk=E4inen wrote: > On Sat, Nov 07, 2009 at 07:23:48PM +0800, Mr. Teo En Ming (Zhang Enming) > wrote: > > Hi Pasi, > > > > I am not sure whether I can install PV drivers in Rocks HPC Cluster > > software 5.1 x86-64 (based on CentOS) HVM virtual machines. When I > tried > > to install Rocks 5.1 x86-64 as a PV guest, it complains "invalid > kernel" > > and something about the ELF kernel image. So I guess PV is out for > Rocks. > > > > What complains about invalid kernel? > > I think redhat does ship pv-on-hvm drivers with rhel/centos, so you > could enable those and get paravirtualized disk and network for the HVM > guest. > > > To set e1000 (virtualized Intel Gigabit NIC), I have to use the mode= l > > parameter in vif in HVM config? Will I get gigabit speeds instead of > the > > Fast Ethernet 100Mb/s speed with virtual Realtek NICs? > > > > In a virtual guest those reported speeds don't mean much.. so even when t= he > realtek nic reports 100 Mbit/sec speed, it can go faster. > > But yeah, model=3De1000 and it will be reported as 1Gbit/sec. > > Qemu e1000 emulation is faster than realtek emulation.. so that should be > better. > > -- Pasi > > --0016364268734347c30477c9a2d1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Pasi,

I have added 'type=3Dioemu' and 'model=3De1000&= #39; to vif in my HVM configuration files. Now the Rocks HPC Cluster 5.1 x8= 6-64 Frontend node detected two Intel 82540 Gigabit Ethernet controllers. H= opefully this will speed up my compute node installation with the upgraded = gigabit speed.

--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mech= anical Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) Nat= ional University of Singapore
My Primary Blog: http://teo-en-ming-aka-zhang-enming.blo= gspot.com
My Secondary Blog: http://enming= teo.wordpress.com
My Youtube videos: http://www.youtube.com/user/enmingteo
Email: space.time.universe@gmail.com<= /a>
Mobile Phone (Starhub Prepaid): +65-8369-2618
Street: Bedok Reservoir Ro= ad
Country: Singapore

On Sat, Nov 7, 2= 009 at 9:15 PM, Pasi K=E4rkk=E4inen <pasik@iki.fi> wrote:
On Sat, Nov 07, 2009 at 07:23:48PM +0800, Mr. Teo En Ming (Zhang Enming) w= rote:
> =A0 =A0Hi Pasi,
>
> =A0 =A0I am not sure whether I can install PV drivers in Rocks HPC Clu= ster
> =A0 =A0software 5.1 x86-64 (based on CentOS) HVM virtual machines. Whe= n I tried
> =A0 =A0to install Rocks 5.1 x86-64 as a PV guest, it complains "i= nvalid kernel"
> =A0 =A0and something about the ELF kernel image. So I guess PV is out = for Rocks.
>

What complains about invalid kernel?

I think redhat does ship pv-on-hvm drivers with rhel/centos, so you
could enable those and get paravirtualized disk and network for the HVM
guest.

> =A0 =A0To set e1000 (virtualized Intel Gigabit NIC), I have to use the= model
> =A0 =A0parameter in vif in HVM config? Will I get gigabit speeds inste= ad of the
> =A0 =A0Fast Ethernet 100Mb/s speed with virtual Realtek NICs?
>

In a virtual guest those reported speeds don't mean much.. so eve= n when the
realtek nic reports 100 Mbit/sec speed, it can go faster.

But yeah, model=3De1000 and it will be reported as 1Gbit/sec.

Qemu e1000 emulation is faster than realtek emulation.. so that should be b= etter.

-- Pasi





--0016364268734347c30477c9a2d1-- --===============1290485485== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1290485485==--