From: Christian Lamparter <chunkeey@googlemail.com>
To: Felix Fietkau <nbd@openwrt.org>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
"Derek Smithies" <derek@indranet.co.nz>,
"Benoit PAPILLAULT" <benoit.papillault@free.fr>,
"Luis R. Rodriguez" <lrodriguez@atheros.com>,
"Björn Smedman" <bjorn.smedman@venatech.se>,
"Bob Copeland" <me@bobcopeland.com>
Subject: Re: [RFC v2] minstrel_ht: new rate control module for 802.11n
Date: Mon, 8 Mar 2010 15:31:31 +0100 [thread overview]
Message-ID: <201003081531.31358.chunkeey@googlemail.com> (raw)
In-Reply-To: <4B93F109.2000607@openwrt.org>
On Sunday 07 March 2010 19:31:37 Felix Fietkau wrote:
> On 2010-03-07 6:59 PM, Christian Lamparter wrote:
> > On Sunday 07 March 2010 17:39:47 Felix Fietkau wrote:
> >> here is an updated version of my minstrel_ht code. Since the last
> >> version, I've added the following improvements:
> >>
> >> - Use accurate A-MPDU statistics from tx feedback
> >> - Rewrite the sampling algorithm to optimize for good A-MPDU lengths
> >> and faster throughput recovery
> >> - Implement .rate_update to handle changes in HT capabilities or
> >> channel bandwidth
> >> - Remove the private tx flags hack
> >>
> >> With the new version, performance has improved visibly for HT40 in all
> >> of my tests. I think it's getting closer to being ready for inclusion.
> >> ---
> > Just released carl9170 1.0.3.1 which now uses minstrel_ht.
> >
> > I found a few things, not sure if they are bugs in the driver
> > or minstrel_ht code. (Patch attached, but added the comments
> > as a response to the code)
> Thanks. How well does it perform in your tests compared to the old rc?
Hard to see any big difference under real life conditions.
But there are some "gains" with _synthetic_ benchmarks.
most notably: uni-directional UDP traffic now suffers much less from
package loss (old rc: ~ 3 - 7%, compared to minstrel: 0.0001% - 0.01%).
The throughput is not affected, It levels out at around ~130Mbits/s
in both tests.
> > on startup, carl9170 complains about non-aggregated
> > (CTL_AMPDU not set) MCS frames. I had to add an
> > alternative path for these _early_ frames. They are
> > now send with the "lowest" legacy rate and aren't
> > rejected by the driver/HW.
> Why does it complain - is that a driver thing or does the hardware
> really refuse it? I didn't see anything in the standard that mandates
> the use of A-MPDU with MCS rates.
WARN_ON in the driver. But yeah, on a second look:
It's just some old code from my own minstrel_ht (back in October 2009)
On a third look: The original vendor driver logic almost _forces_
the A-MPDU-bit upon HT frames. I can't tell for sure, if the
"other" mode actually works or just served as a testbed for development?!
So let's try: carl9170 1.0.3.2
Regards,
Chr
prev parent reply other threads:[~2010-03-08 14:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-07 16:39 [RFC v2] minstrel_ht: new rate control module for 802.11n Felix Fietkau
2010-03-07 17:59 ` Christian Lamparter
2010-03-07 18:31 ` Felix Fietkau
2010-03-08 14:31 ` Christian Lamparter [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=201003081531.31358.chunkeey@googlemail.com \
--to=chunkeey@googlemail.com \
--cc=benoit.papillault@free.fr \
--cc=bjorn.smedman@venatech.se \
--cc=derek@indranet.co.nz \
--cc=linux-wireless@vger.kernel.org \
--cc=lrodriguez@atheros.com \
--cc=me@bobcopeland.com \
--cc=nbd@openwrt.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).