From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: HVM dropped packets Date: Tue, 25 Aug 2009 23:16:27 +0300 Message-ID: <20090825201627.GE19938@edu.joroinen.fi> References: <20090825191057.GD19938@edu.joroinen.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Nathan Stratton Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org On Tue, Aug 25, 2009 at 02:49:40PM -0500, Nathan Stratton wrote: > On Tue, 25 Aug 2009, Pasi K=E4rkk=E4inen wrote: >=20 > >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 dropp= ed > >>packets. > > > >Try changing the Qemu emulated NIC to Intel e1000. Maybe that helps wi= th=20 > >the > >performance. >=20 > Same >=20 > >Or then use PV drivers in the guest. >=20 > Can't, its a HVM guest that I don't have control over. > Well I guess then your only option is to use stubdoms. Beware there's a bug (qemu memleak) in xen 3.4.1 related to stubdoms and = heavy io=20 on hvm guests in general: http://lists.xensource.com/archives/html/xen-de= vel/2009-08/msg00335.html -- Pasi =20 > >-- 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 hav= e 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 =3D os.uname()[4] > >>if re.search('64', arch): > >> arch_libdir =3D 'lib64' > >>else: > >> arch_libdir =3D 'lib' > >> > >>kernel =3D "/usr/lib/xen/boot/hvmloader" > >> > >>builder=3D'hvm' > >> > >>name =3D "proxy0.hou" > >>memory =3D 2048 > >>vcpus=3D4 > >> > >>disk =3D [ 'file:/share/xen/images/proxy0.hou.img,xvda,w', ] > >>vif =3D [ 'mac=3D00:11:25:00:1E:01, type=3Dioemu, bridge=3Dprivate= ', > >> 'mac=3D00:11:25:00:1E:02, type=3Dioemu, bridge=3Dpublic' ] > >> > >>uuid =3D '00000014-1111-2222-3333-200809231904' > >> > >>device_model =3D '/usr/' + arch_libdir + '/xen/bin/qemu-dm' > >> > >>sdl=3D0 > >>opengl=3D1 > >>vnc=3D1 > >>vncpasswd=3D'' > >>stdvga=3D0 > >>serial=3D'pty' > >> > >> > >> > >>><> > >>Nathan Stratton CTO, BlinkMind, Inc. > >>nathan at robotics.net nathan at blinkmind.co= m > >>http://www.robotics.net http://www.blinkmind.c= om > >> > >>_______________________________________________ > >>Xen-devel mailing list > >>Xen-devel@lists.xensource.com > >>http://lists.xensource.com/xen-devel > >