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] HVM dropped packets

To: Nathan Stratton <nathan@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] HVM dropped packets
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Tue, 25 Aug 2009 22:10:57 +0300
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 25 Aug 2009 12:11:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.LFD.2.00.0908251322270.17195@xxxxxxxxxxxxxxxxx>
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: <alpine.LFD.2.00.0908251322270.17195@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Tue, Aug 25, 2009 at 01:30:34PM -0500, Nathan Stratton wrote:
> 
> I am having no issues with para guests, but HVM guests all show dropped 
> packets.
> 

Try changing the Qemu emulated NIC to Intel e1000. Maybe that helps with the
performance.

Or then use PV drivers in the guest.

-- Pasi

> I am runing Xen 3.4.1 on linux 2.6.31-rc6, but also have tried older xen 
> and kernels.
> 
> Also, not sure why I have a vif and a tap for my HVM guests, only have vif 
> for para.
> 
> [root@xen1 config]# ifconfig tap19.0
> tap19.0   Link encap:Ethernet  HWaddr B6:B7:E1:71:09:3C
>           inet6 addr: fe80::b4b7:e1ff:fe71:93c/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:34507 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:43841 errors:0 dropped:0 overruns:645 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:16847714 (16.0 MiB)  TX bytes:22711872 (21.6 MiB)
> 
> [root@xen1 config]# ifconfig tap19.1
> tap19.1   Link encap:Ethernet  HWaddr 76:C7:74:AF:CA:EC
>           inet6 addr: fe80::74c7:74ff:feaf:caec/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:36601 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:36018 errors:0 dropped:0 overruns:457 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:18152679 (17.3 MiB)  TX bytes:17744980 (16.9 MiB)
> 
> [root@xen1 config]# ifconfig vif19.0
> vif19.0   Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:2908 overruns:0 carrier:0
>           collisions:0 txqueuelen:32
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> 
> [root@xen1 config]# ifconfig vif19.1
> vif19.1   Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:181 overruns:0 carrier:0
>           collisions:0 txqueuelen:32
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> 
> 
> [root@xen1 config]# more proxy0.hou-para
> import os, re
> arch = os.uname()[4]
> if re.search('64', arch):
>     arch_libdir = 'lib64'
> else:
>     arch_libdir = 'lib'
> 
> kernel = "/usr/lib/xen/boot/hvmloader"
> 
> builder='hvm'
> 
> name = "proxy0.hou"
> memory = 2048
> vcpus=4
> 
> disk   = [ 'file:/share/xen/images/proxy0.hou.img,xvda,w', ]
> vif    = [ 'mac=00:11:25:00:1E:01, type=ioemu, bridge=private',
>            'mac=00:11:25:00:1E:02, type=ioemu, bridge=public' ]
> 
> uuid   = '00000014-1111-2222-3333-200809231904'
> 
> device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
> 
> sdl=0
> opengl=1
> vnc=1
> vncpasswd=''
> stdvga=0
> serial='pty'
> 
> 
> 
> ><>
> Nathan Stratton                                CTO, BlinkMind, Inc.
> nathan at robotics.net                         nathan at blinkmind.com
> http://www.robotics.net                        http://www.blinkmind.com
> 
> _______________________________________________
> 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

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