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-users

Re: [Xen-users] Improve speed virtual machine

To: Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Improve speed virtual machine
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Mon, 29 Aug 2011 19:59:47 +0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 29 Aug 2011 10:03:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <p06240845ca7fae94af09@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <CAMdBd2CyB5urszDxTkToakuUvPso8Erznk=3G+pzCYfa-tds-Q@xxxxxxxxxxxxxx> <p06240845ca7fae94af09@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Sun, Aug 28, 2011 at 09:38:47AM +0100, Simon Hobson wrote:
> Bruno Steven wrote:
>
>> I have XEN 3.3 on Centos 5.4, my network interface have link 1 Gbps I 
>> want improve speed of network interface on virtual machine, from  
>> 100Mbps to 1Gpbs.
>
> AFAIK there is no 100Mbps limit on DomU virtual NICs. They may show up in 
> DomU as 100M but that's just an emulated NIC and not real hardware. I 
> think the only limit is the speed of the real NICs and the ability of 
> Dom0 to process packets.
>
> I think this latter bit is the most likely. I believe the code is single 
> threaded and there have been lots of threads on this list over the years 
> about poor network performance in DomUs
>

Yep, sounds like you're using the emulated realtek rtl8139 nic in the VM.
It reports 100 Mbps but it's NOT limited to 100 Mbps, because it's virtual nic.

Then again rtl8139 is quite crappy, even when emulated, so you might want to
switch to intel e1000 vnic (model=e1000). It's the fastest emulated nic.

Even better is of course to use Xen PVHVM drivers (PV-on-HVM),
where you don't have any kind of emulation, just straight PV drivers talking
directly to Xen.

-- Pasi


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

<Prev in Thread] Current Thread [Next in Thread>