linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Derek Smithies <derek@indranet.co.nz>
To: Bruno Randolf <br1@einfach.org>
Cc: "Luis R. Rodriguez" <lrodriguez@atheros.com>,
	"bob@bobcopeland.com" <bob@bobcopeland.com>,
	"ath5k-devel@lists.ath5k.org" <ath5k-devel@lists.ath5k.org>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [ath5k-devel] [PATCH 00/10] ANI for ath5k
Date: Sat, 27 Mar 2010 09:34:21 +1300 (NZDT)	[thread overview]
Message-ID: <alpine.DEB.2.00.1003270913310.3025@monster> (raw)
In-Reply-To: <201003261046.10755.br1@einfach.org>


On Fri, 26 Mar 2010, Bruno Randolf wrote:
>
> yeah, we all know how great minstrel is... really.
Thanks for the praise on Minstrel.
Felix has done, and is doing, some good work on getting it into the 
kernel. And of course, his current work with minstrel in 802.11 N

>
> i said in most *standard* cases - the standard case for IBSS is still 3 or 5
> guys sitting in a room, or close by, wanting to exchange some data. we should
> have good performance for that, therefore ANI on by default.
It is, essentially,  wishful thinking to assume one can have automatic ANI 
in IBSS mode.

Given that we are designing a code base to have general use, we have to 
design code that will work for the most number of people "out of the box", 
and they tune it for their situation.
  To get IBSS to work best "out of the box" (i.e. with no tuning) for the 
most number of people you have to have ANI off

I had a siution with a IBSS network I am running here, with nodes all 
indoors. OK, they are all madwifi based, but that simply means they have 
an ANI algorithm.
  At one end of the building, there were four nodes. At the far end of 
the building, there was one node.
When the remote node talked to the any of the other four, rates were 
always asymmetrical. TCP throughput in one direction was half of TCP
throughput in the other direction.
  Why the assymmetry? Cause the four nodes had wound their ANI levels down. 
By copying sensitivity setting  code from the open sourced HAL, and with
ANI off, the measured TCP throughput rates became much more symmetrical 
(same in both directions).

I have used madwifi for a number of years now. In networks installed 
outdoors, everything worked fine (initially). As the days went by, 
measured throughputs dropped.
  The drop in throughput was sometimes caused by ramping,
      (ticket 1154, also known as transmission delay)
   sometimes by the rate algorithm failing (sample etc is quite poor)
   but also by the nodes lowering sensitivy levels.
   There was sometimes a considerable delay before nodes would join and
   communicate on a network (this could have net80211 code, or ani, or ??)

> again - i'm not willing to discuss this based on guesses and assumptions.
Me too. asumptions are bad - code based on assumptions is bad.

So the question is then:
  What is the evidence for ANI helping in IBSS mode?
    - only when all nodes are an equal distance away from each other - you
      have a very small network (probably 2 nodes, ANI will be great here)

> if you have test results showing that a specific ANI setting actually
> prevented a node from joining an IBSS, i'm happy to resume this discussion.
Ok, I don't (definatively) have proof of this.
  I do have proof that automatic ANI in an IBSS network will lead to
  assymetric TCP throughputs.

Derek.
-- 
Derek Smithies Ph.D.
IndraNet Technologies Ltd.
Email: derek@indranet.co.nz
ph +64 3 365 6485
Web: http://www.indranet-technologies.com/


  reply	other threads:[~2010-03-26 20:34 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-25  5:48 [PATCH 00/10] ANI for ath5k Bruno Randolf
2010-03-25  5:49 ` [PATCH 01/10] ath5k: remove static calibration interval variable Bruno Randolf
2010-03-25  5:49 ` [PATCH 02/10] ath5k: remove the use of SWI interrupt Bruno Randolf
2010-03-25  5:49 ` [PATCH 03/10] ath5k: optimize ath5k_hw_calibration_poll Bruno Randolf
2010-03-25  5:49 ` [PATCH 04/10] ath5k: move ath5k_hw_calibration_poll to base.c Bruno Randolf
2010-03-25  5:49 ` [PATCH 05/10] ath5k: keep beacon RSSI average Bruno Randolf
2010-03-25  5:49 ` [PATCH 06/10] ath5k: initialize default noise floor Bruno Randolf
2010-03-25  5:49 ` [PATCH 07/10] ath5k: simplify MIB counters Bruno Randolf
2010-03-25  5:49 ` [PATCH 08/10] ath5k: update phy errors codes Bruno Randolf
2010-03-25  5:49 ` [PATCH 09/10] ath5k: add capability flag for phyerror counters Bruno Randolf
2010-03-25  5:49 ` [PATCH 10/10] ath5k: Adaptive Noise Immunity (ANI) Implementation Bruno Randolf
2010-03-25 10:59   ` Joerg Pommnitz
2010-03-26  0:18     ` Bruno Randolf
2010-03-29  2:02   ` [ath5k-devel] " Bob Copeland
2010-03-29  2:26     ` Bruno Randolf
2010-03-25 21:10 ` [ath5k-devel] [PATCH 00/10] ANI for ath5k Derek Smithies
2010-03-25 21:13   ` Luis R. Rodriguez
2010-03-26  0:27     ` Bruno Randolf
2010-03-26  0:44       ` Luis R. Rodriguez
2010-03-26  0:53         ` Bruno Randolf
2010-03-26  1:06           ` Luis R. Rodriguez
2010-03-26  1:21       ` Derek Smithies
2010-03-26  1:32         ` Luis R. Rodriguez
2010-03-26  1:46         ` Bruno Randolf
2010-03-26 20:34           ` Derek Smithies [this message]
2010-03-27  5:18             ` Bruno Randolf

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=alpine.DEB.2.00.1003270913310.3025@monster \
    --to=derek@indranet.co.nz \
    --cc=ath5k-devel@lists.ath5k.org \
    --cc=bob@bobcopeland.com \
    --cc=br1@einfach.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lrodriguez@atheros.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).