[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Wireless device in Xen Guest

  • To: James Harper <james.harper@xxxxxxxxxxxxxxxx>
  • From: "Jui-Ting (Jerry) Weng" <jtweng@xxxxxxxxx>
  • Date: Tue, 25 Jan 2011 22:41:19 -0800
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 25 Jan 2011 22:42:37 -0800
  • 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=KoLwQbbE8pVI+lJBWcKYE3C+L5SgmwHaCcJ+bpo/VQPOEiItDb7a/1uQ41WzoIr3eI CG3a8H193SHsQvqyxMs1wW0n6jWIUw58To37lzBOZUbu8DkqFqHikf0YTerMXi7vfb+p 3YHmgeCk+UpR/tGYmkbM8SMMSFaaSUhakK+6M=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I disable all offload from DomU and Dom0. To be more specific, I disable all offload on Dom0 bridge, Dom0 virtual interface, Dom0 physical interface, and DomU virtual interface. The wireless bandwidth on Xen guest is still not compariable to Xen host.

The bandwidth is tested by setting iperf client on a Xen host, and connect to the server on another laptop's Xen host or Xen guest.  When I disable all the offload, the bandwidth slightly increase on Xen host (2.2Mbps -> 2.5Mbps). However, the Xen guest still have the bandwidth at the scale of 100k bps.

Right now I'm trying to understand how long the packet stay at each interface and see where the congestion happens. But I'm curious is it a common case on Xen or I didn't setup my wireless correctly.


On Mon, Jan 24, 2011 at 7:16 PM, James Harper <james.harper@xxxxxxxxxxxxxxxx> wrote:
> I'll double check the NAT configurations.
> Right now I can use wireless in DomU. it is just incredibly slow.
> I perform the following test through Iperf.
> laptop A. Setup an Iperf server at Dom0
> (1)
> laptop B. Setup an Iperf client at Dom0, connect to laptop A.
Throughput is
> 2.2Mbps
> (2)
> laptop B. Setup an Iperf client at DomU, connect to laptop A.
Throughput is
> 90Kbps
> DomU throughput degrade to 1/20 of the Dom0. Since this only happen on
> wireless card, I was wondering if my configuration is wrong.

One thing to try is to use ethtool to disable all forms of offload in
DomU and Dom0 on the bridge, physical, and virtual interfaces. That
should at least confirm that offload is not the cause.

A simple tcpdump might show you some checksum issues (assuming you use
-s0 to grab the whole frame) but it's often hard to tell as packets can
have no checksum while on the bridge.


Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.