All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pasi Kärkkäinen" <pasik@iki.fi>
To: Nathan Stratton <nathan@robotics.net>
Cc: Xen-devel <xen-devel@lists.xensource.com>
Subject: Re: HVM dropped packets
Date: Tue, 25 Aug 2009 22:10:57 +0300	[thread overview]
Message-ID: <20090825191057.GD19938@edu.joroinen.fi> (raw)
In-Reply-To: <alpine.LFD.2.00.0908251322270.17195@bart.robotics.net>

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@lists.xensource.com
> http://lists.xensource.com/xen-devel

  reply	other threads:[~2009-08-25 19:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-25 18:30 HVM dropped packets Nathan Stratton
2009-08-25 19:10 ` Pasi Kärkkäinen [this message]
2009-08-25 19:49   ` Nathan Stratton
2009-08-25 20:16     ` Pasi Kärkkäinen
2009-08-25 20:52       ` Nathan Stratton
2009-08-26  5:52         ` Pasi Kärkkäinen
2009-08-26  7:45           ` Nathan Stratton
2009-08-26  7:53             ` Keir Fraser
2009-08-26  9:29               ` Stefano Stabellini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090825191057.GD19938@edu.joroinen.fi \
    --to=pasik@iki.fi \
    --cc=nathan@robotics.net \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.