From: Bruno Randolf <randolf.bruno@googlemail.com>
To: ath5k-devel@lists.ath5k.org
Cc: Derek Smithies <derek@indranet.co.nz>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"bob@bobcopeland.com" <bob@bobcopeland.com>
Subject: Re: [ath5k-devel] [PATCH 00/10] ANI for ath5k
Date: Sat, 27 Mar 2010 14:18:26 +0900 [thread overview]
Message-ID: <201003271418.26630.randolf.bruno@gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1003270913310.3025@monster>
On Saturday 27 March 2010 05:34:21 Derek Smithies wrote:
> 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.
still i think that you are too fast in your conclusion that ANI needs to be
completely disabled for IBSS mode in ath5k - based on some strange experience
you had with madwifi. madwifi and the HAL do a lot of crazy things, and we
don't even know how ANI was implemented exactly in the HAL you used for
testing (was it the same like the open source version? was there a bug?).
* maybe thruput would be good enough if we considered the minimum beacon
RSSI?
* maybe we should avoid to tune one specific parameter in IBSS? (like AP for
example, only changes noise immunity level, firstep level and spur level)
* maybe there would be another way to improve or fix the algorithm?
would it be possible that you could reproduce this situation with ath5k? if
yes, could you find out which ANI parameter you had to change to improve
thruput?
bruno
prev parent reply other threads:[~2010-03-27 5:18 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
2010-03-27 5:18 ` Bruno Randolf [this message]
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=201003271418.26630.randolf.bruno@gmail.com \
--to=randolf.bruno@googlemail.com \
--cc=ath5k-devel@lists.ath5k.org \
--cc=bob@bobcopeland.com \
--cc=derek@indranet.co.nz \
--cc=linux-wireless@vger.kernel.org \
/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).