WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Low Network Throughput between HVM Guests

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] Low Network Throughput between HVM Guests
From: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
Date: Sat, 7 Nov 2009 23:53:31 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, space.time.universe@xxxxxxxxx
Delivery-date: Sat, 07 Nov 2009 07:54:15 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=xaB9WUooTvbSdto5obuWbclNYSWudO/9oRhHsQWwkQE=; b=M5gdYAmdLBPVg9eMM6U4hUo2BT0LR2/07dUwSVwW86DDBzh8D3toMOc0qCfQIVkySX qxhf3nw3FZh9goQuMtltDugejkkFyRsVXYu5gRqHnPDpAVAFbUNOxo1GnexndaoLibP4 X2ueS94Wg3rwKVnSutrZAPdvqGYBq3mpy5D8c=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Y5UxSlaqf9f8RRqV7DjVbRsdhG5YMC/e5fvSItBdF5jd6qCwTaXMT4pcfaMpRzeDmW LcnjDfSEc7m0IFtd0Mq4RTihGZO2QN/d8ZwEag9ayVypU8384vYLG6vhDAskwLjIm5qV eqK+rK3xRvPBL7tBN0YmaUr9E57qNFeC/i3vE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f712b9cf0911070740t6c6ae8bbh7f43939f562692e3@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <f712b9cf0911062110rd500b3fle285c33bb6278519@xxxxxxxxxxxxxx> <20091107111723.GC1434@xxxxxxxxxxx> <f712b9cf0911070323s75a54889leabf585c83ebb735@xxxxxxxxxxxxxx> <20091107131540.GD1434@xxxxxxxxxxx> <f712b9cf0911070730g343183dag7616b633a74b29dd@xxxxxxxxxxxxxx> <f712b9cf0911070740t6c6ae8bbh7f43939f562692e3@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

C.1 e100 And e1000 Network Device Emulators

You can use the network device emulators for the Intel 8255x 10/100 Mbps Ethernet controller (the e100 controller) and the Intel 82540EM Gigabit Ethernet controller (the e1000 controller) for hardware virtualized guests. The e1000 controller is a Gigabit Ethernet controller and increases the network throughput when compared to the default Ethernet controller.

To use these network device emulators, install the network device driver on the guest, then modify the guest configuration file to specify the controller model type: either e100; or e1000. For example, to use the e1000 controller, set model=e1000 in the vif entry in the guest configuration file:

vif = [ 'type=ioemu, mac=00:16:3e:09:bb:c6, bridge=xenbr2, model=e1000']

Create the guest again using the xm create command. The guest now uses the faster e1000 controller.

*****************************************************************************

Previously I thought QEMU only supports emulated Realtek Fast Ethernet 100 Mb/s controllers.

--
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@xxxxxxxxx
Mobile Phone (Starhub Prepaid): +65-8369-2618
Street: Bedok Reservoir Road
Country: Singapore



On Sat, Nov 7, 2009 at 11:40 PM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@xxxxxxxxx> wrote:
Hi Pasi,

Yay!!!! My Rocks HPC Cluster 5.1 x86-64 first compute node is finally installing!!! The emulated Realtek Fast Ethernet 100 Mb/s network card is really wasting a lot of my time. Thanks for pointing me to e1000!!! Now I get upgraded Gigabit network card speed!

Thanks so much Pasi!!!


--
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@xxxxxxxxx
Mobile Phone (Starhub Prepaid): +65-8369-2618
Street: Bedok Reservoir Road
Country: Singapore

On Sat, Nov 7, 2009 at 11:30 PM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@xxxxxxxxx> wrote:
Hi Pasi,

I have added 'type=ioemu' and 'model=e1000' to vif in my HVM configuration files. Now the Rocks HPC Cluster 5.1 x86-64 Frontend node detected two Intel 82540 Gigabit Ethernet controllers. Hopefully this will speed up my compute node installation with the upgraded gigabit speed.


--
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@xxxxxxxxx
Mobile Phone (Starhub Prepaid): +65-8369-2618
Street: Bedok Reservoir Road
Country: Singapore

On Sat, Nov 7, 2009 at 9:15 PM, Pasi Kärkkäinen <pasik@xxxxxx> 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 model
>    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 the
realtek nic reports 100 Mbit/sec speed, it can go faster.

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

Qemu e1000 emulation is faster than realtek emulation.. so that should be better.

-- Pasi













_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>