From owner-freebsd-wireless@FreeBSD.ORG Thu Apr 14 10:07:32 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3BA8106566B for ; Thu, 14 Apr 2011 10:07:32 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 600938FC20 for ; Thu, 14 Apr 2011 10:07:32 +0000 (UTC) Received: by wwc33 with SMTP id 33so1678623wwc.31 for ; Thu, 14 Apr 2011 03:07:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=u0q9uJFTwlkyPWATngv+V+JkzmLuLeAQ+/q9Fr1yBjA=; b=LvrLduemOuecBimPEjIUWr7RfSgRhvK/6myNHB0V5kWC2/3Jcs3yhazdFumSV0ycWg 7vMLAiGEVD6I8N4t8xqI0iDNRdWDUltIVM9wLvKt5Qt8QOWfvquohU8eUMExrfk7Ozjt tz7qH7ziEmUh63MaoDmRI6cei4UyUDyA+XoOI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=mXGguFh08byWx7k0a6vLyAP4g5yrd8XYCq9LNSOQMYWEX99TERp3J+N7JGNp1E4/b+ gHk7z2YrwBF5pQaRkXUbJN7LV1WMwBBqWxLHIKFsp3MbLJbuBKa4pHYfNM9Mfjnwhoeg gahLvzDfQWgQ7i9WbSlTZLUCHq9GstP0EnTxY= MIME-Version: 1.0 Received: by 10.227.202.139 with SMTP id fe11mr589119wbb.169.1302775651139; Thu, 14 Apr 2011 03:07:31 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.227.174.13 with HTTP; Thu, 14 Apr 2011 03:07:31 -0700 (PDT) In-Reply-To: References: Date: Thu, 14 Apr 2011 18:07:31 +0800 X-Google-Sender-Auth: 1bmHObgIusJC2rJ4tGKgvoBseuQ Message-ID: From: Adrian Chadd To: Peter Lai Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-wireless@freebsd.org Subject: Re: uplink bandwidth < 1/3 downlink bandwidth? X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 10:07:32 -0000 In my home testing environment w/ 11g, and the AR5212 (but with different radio PHYs), I get the full ~ 25-28mbit TCP you'd expect with 11g, in both directions. The first thing I'd check is the results from the TX rate control module. Try "sysctl dev.ath.0.sample_stats=1" as root and check dmesg. Paste that here. That's going to be a good start. Poor TX performance can be for a variety of reasons. Let's see if we can figure it out. I'd also suggest they do this: * add the diagnostic options to the kernel and rebuild options IEEE80211_DEBUG options ATH_DEBUG options ATH_DIAGAPI options AH_DEBUG options AH_DEBUG_ALQ options ALQ * once this is done, compile/install the tools in /usr/src/tools/tools/ath/, which include athstats which is a very useful tool for debugging this kind of thing. * then compile/install /usr/src/tools/tools/net80211/wlanstats/ , it's similarly useful. (I don't have any Aruba hardware, nor do I have access to any, so I can't duplicate your environment.) adrian On 14 April 2011 17:35, Peter Lai wrote: > This is probably more of a layer1/2/management issue, but someone in > IRC told me to ask the mailinglist about it so here it goes: > > On a client running AR2413 hardware, the uplink > bandwith appears to be very bad compared to the downlink. The downlink > I can get almost theoretical-real speed, 19Mbps/1.9Mib/s from an Aruba > centralized wifi net with WPA2, but uplink to the same AP runs at > barely 3Mbps/300Kib/s. I have a passive 9dbi duck antenna connected to > my pci card and I get s/n of 82/96 according to ifconfig wlan0 list > scan and I have set the transmitter to txpower 30 and ifconfig reports > OFDM capable at 54Mbps. Again, I can pull downlink pretty fast, and > even when I'm pulling this traffic I am pretty lag free (simultaneous > ping from the client to the aggregation router only increases by 50ms > at most), but when I upload my ping goes through the roof (up to > 3000ms) and it looks like my uplink bandwidth is overutilized. The > speeds are measured by dd at the client. Any 802.11 gurus know what > might be up with this? I'm pretty sure it's not FreeBSD specific but > maybe I can still be pointed in a direction (maybe it's a traffic > shaping policy on the AP or something). > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org > " >