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] Wireless device in Xen Guest

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Wireless device in Xen Guest
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=xY/TKFzAsGmdWme5ZB/jpSVNv6HmYA6/GGn4eOmdSUU=; b=kA2To8PrmaCGvh8qrR/mIMxFjiraWrPJ/BrLE73OQ6pv8euYkYmloitGKoSE1ZL3O7 wOXHoGJwjPOisP3BD9LG0P6cdT787i8F6Uy05gnSwspqvWhEB5oS/KPgzyvmZqrB8tYT ZxsTTZ7Jhg8KTaaqocOnZhlS7Wb5kYkVlarnE=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01BB925F@trantor>
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: <AANLkTikot0Drg+W4MM+uvbSCv6wSUfVfOwhRhrJcNUAv@xxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01BB924B@trantor> <AANLkTinVdrhb6PY=s+jdVyEdRveaVtGb00u5UqwaGEz-@xxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01BB925F@trantor>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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.

sincerely,
-Jerry



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.

James

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>