From: Johannes Berg <johannes@sipsolutions.net>
To: Felix Fietkau <nbd@openwrt.org>
Cc: Benoit PAPILLAULT <benoit.papillault@free.fr>,
Maxim Levitsky <maximlevitsky@gmail.com>,
Derek Smithies <derek@indranet.co.nz>,
ath5k-devel@venema.h4ckr.net, linux-wireless@vger.kernel.org,
linux-kernel@vger.kernel.org,
ipw3945-devel@lists.sourceforge.net, wally@theblackmoor.net
Subject: Re: [ath5k-devel] Unusually low speeds with ath5k and iwl3945
Date: Mon, 24 Nov 2008 11:34:06 +0100 [thread overview]
Message-ID: <1227522846.3599.61.camel@johannes.berg> (raw)
In-Reply-To: <492A7733.2000205@openwrt.org>
[-- Attachment #1: Type: text/plain, Size: 2150 bytes --]
On Mon, 2008-11-24 at 10:43 +0100, Felix Fietkau wrote:
> Benoit PAPILLAULT wrote:
> > I did a similar test here and results is very strange. AP was my good
> > old linksys WRT54G running an iperf server. Client was a laptop running
> > either ath5k or madwifi/trunk and an iperf client. Channel is 5. Both
> > drivers show the same behaviour.
> >
> > At the beginning, throughput was very low : 500 - 600 kbit/s. Suddenly
> > (after few minutes), it jumps to 15 - 17 Mbit/s and then few minutes
> > later (let's say 10 - 20 minutes maybe), it jumps back to 500 - 600
> > kbit/s. Using a fixed rate has no effect.
> >
> > I used my latest wireless monitoring tools and I did not saw lost of
> > duplicates or lost packets. The only difference was the number of
> > packets sent by seconds....
> >
> > Looking a my syslog, I just saw few messages, unrelated in time with the
> > throughput going up or down. They were:
> > - ath5k : unsupported jumbo
> > - switching to short barker preamble
> > - switching to long barker preamble
> >
> > I can repeat the same test with iwl3945 as well, if needed.
> While reading the code for calculating the frame duration, i noticed
> something odd: It doesn't seem to be taking into account the short
> vs long preamble distinction for ERP rates. IMHO this might be causing
> issues like this. I've seen similar behaviour a long time ago when testing
> iwl3945 against a Broadcom AP with exactly the same throughput drop (500-
> 600 kbits/s).
> When I analyzed the problem with an extra monitor mode card, I found out
> that the throughput drop is caused by a huge number of retransmissions,
> and if I remember correctly (I didn't look for this specifically back then),
> the retransmissions went down the rate scaling table until they hit the
> first non-ERP rate and that one worked on the first try.
>
> Johannes, does that sound like a probable cause? If so, it should be easy
> to fix.
I have no idea. Shouldn't that be easy to tell from the monitor? And if
the short/long switching was _unrelated_ in time it seems like it
wouldn't be a problem?
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2008-11-24 10:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-21 20:28 Maxim Levitsky
2008-11-22 0:52 ` Bob Copeland
2008-11-22 3:46 ` [ath5k-devel] " Derek Smithies
2008-11-22 12:33 ` Maxim Levitsky
2008-11-24 7:34 ` Benoit PAPILLAULT
2008-11-24 9:43 ` Felix Fietkau
2008-11-24 10:34 ` Johannes Berg [this message]
2008-11-25 19:46 ` Benoit PAPILLAULT
2008-11-25 22:47 ` Felix Fietkau
2008-11-22 10:16 ` [ipw3945-devel] " Rafał Miłecki
2008-12-03 16:55 ` reinette chatre
2008-12-03 17:09 ` Maxim Levitsky
2008-12-03 17:36 ` reinette chatre
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=1227522846.3599.61.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=ath5k-devel@venema.h4ckr.net \
--cc=benoit.papillault@free.fr \
--cc=derek@indranet.co.nz \
--cc=ipw3945-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=maximlevitsky@gmail.com \
--cc=nbd@openwrt.org \
--cc=wally@theblackmoor.net \
/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
all inboxes | Powered by JetHome®