From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from kara.rubysoft.com ([64.34.171.174]:41220 "EHLO kara.rubysoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751595AbZE0Ei1 (ORCPT ); Wed, 27 May 2009 00:38:27 -0400 Date: Tue, 26 May 2009 22:27:57 -0600 (MDT) From: Jeff Hansen Reply-To: Jeff Hansen To: Jouni Malinen cc: Luis Rodriguez , Johannes Berg , "ath9k-devel@lists.ath9k.org" , "linux-wireless@vger.kernel.org" Subject: Re: [ath9k-devel] WMM settings and AP performance In-Reply-To: <1243362167.2923.17.camel@jm-desktop> Message-ID: References: <20090526174640.GC9370@tesla> <1243361510.2923.10.camel@jm-desktop> <1243362167.2923.17.camel@jm-desktop> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: Jouni, I re-submitted all of my patches, including a patch that fixes this problem. I also tried the settings below, and got comparable performance. -Jeff --------------------------------------------------- "If someone's gotta do it, it might as well be me." x@jeffhansen.com On Tue, 26 May 2009, Jouni Malinen wrote: > On Tue, 2009-05-26 at 11:11 -0700, Jouni Malinen wrote: >> On Tue, 2009-05-26 at 10:46 -0700, Luis Rodriguez wrote: >>> On Mon, May 25, 2009 at 06:52:41PM -0700, Jeff Hansen wrote: > >> That 25/30 Mbps to 2 Mbps is quite a huge difference and in order for >> QoS parameters to cause something like this, they would need to be >> seriously wrong.. > > And well, it turns out that the values are indeed seriously wrong.. cw > min and max values are swapped by > b4af0b7ffa5f448bd12f81d2539ee2155919d493. > > Jeff: if you have a chance, you could try swapping the cw_max = aCWmin > and cw_min = aCWmax value to actually set cw_max = aCWmax and cw_min = > aCWmin.. In addition to this, I would actually recommend adding the > explicit tx_queue_data* parameters into hostapd.conf even if you are not > using WMM. This should work around the current bug and it will also set > the parameters in a way which are more suitable for an AP (the defaults > set in mac80211 are for station mode). In other words, add following > into hostapd.conf: > > tx_queue_data3_aifs=7 > tx_queue_data3_cwmin=15 > tx_queue_data3_cwmax=1023 > tx_queue_data3_burst=0 > > tx_queue_data2_aifs=3 > tx_queue_data2_cwmin=15 > tx_queue_data2_cwmax=63 > tx_queue_data2_burst=0 > > tx_queue_data1_aifs=1 > tx_queue_data1_cwmin=7 > tx_queue_data1_cwmax=15 > tx_queue_data1_burst=3.0 > > tx_queue_data0_aifs=1 > tx_queue_data0_cwmin=3 > tx_queue_data0_cwmax=7 > tx_queue_data0_burst=1.5 > > - Jouni > > > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Hansen Date: Tue, 26 May 2009 22:27:57 -0600 (MDT) Subject: [ath9k-devel] WMM settings and AP performance In-Reply-To: <1243362167.2923.17.camel@jm-desktop> References: <20090526174640.GC9370@tesla> <1243361510.2923.10.camel@jm-desktop> <1243362167.2923.17.camel@jm-desktop> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Jouni, I re-submitted all of my patches, including a patch that fixes this problem. I also tried the settings below, and got comparable performance. -Jeff --------------------------------------------------- "If someone's gotta do it, it might as well be me." x at jeffhansen.com On Tue, 26 May 2009, Jouni Malinen wrote: > On Tue, 2009-05-26 at 11:11 -0700, Jouni Malinen wrote: >> On Tue, 2009-05-26 at 10:46 -0700, Luis Rodriguez wrote: >>> On Mon, May 25, 2009 at 06:52:41PM -0700, Jeff Hansen wrote: > >> That 25/30 Mbps to 2 Mbps is quite a huge difference and in order for >> QoS parameters to cause something like this, they would need to be >> seriously wrong.. > > And well, it turns out that the values are indeed seriously wrong.. cw > min and max values are swapped by > b4af0b7ffa5f448bd12f81d2539ee2155919d493. > > Jeff: if you have a chance, you could try swapping the cw_max = aCWmin > and cw_min = aCWmax value to actually set cw_max = aCWmax and cw_min = > aCWmin.. In addition to this, I would actually recommend adding the > explicit tx_queue_data* parameters into hostapd.conf even if you are not > using WMM. This should work around the current bug and it will also set > the parameters in a way which are more suitable for an AP (the defaults > set in mac80211 are for station mode). In other words, add following > into hostapd.conf: > > tx_queue_data3_aifs=7 > tx_queue_data3_cwmin=15 > tx_queue_data3_cwmax=1023 > tx_queue_data3_burst=0 > > tx_queue_data2_aifs=3 > tx_queue_data2_cwmin=15 > tx_queue_data2_cwmax=63 > tx_queue_data2_burst=0 > > tx_queue_data1_aifs=1 > tx_queue_data1_cwmin=7 > tx_queue_data1_cwmax=15 > tx_queue_data1_burst=3.0 > > tx_queue_data0_aifs=1 > tx_queue_data0_cwmin=3 > tx_queue_data0_cwmax=7 > tx_queue_data0_burst=1.5 > > - Jouni > > >