From: Michael Wu <flamingice@sourmilk.net>
To: Daniel Drake <dsd@gentoo.org>
Cc: John Linville <linville@tuxdriver.com>,
netdev@vger.kernel.org, Ulrich Kunitz <kune@deine-taler.de>
Subject: Re: d80211-drivers pull request (week-48)
Date: Mon, 11 Dec 2006 23:28:09 -0500 [thread overview]
Message-ID: <200612112328.14286.flamingice@sourmilk.net> (raw)
In-Reply-To: <457E2734.6010700@gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 1828 bytes --]
On Monday 11 December 2006 22:51, Daniel Drake wrote:
> It's ugly, in my mind not necessary, and it will kill performance. We
> haven't had to make such compromises in a long time. We got a large TX
> speed boost when the driver was modified to queue up multiple transmit
> URBs (i.e. don't wait for URB completion of the first) at the same time
> early during driver development. And even with that we're still a fair
> distance from the performance of the vendor driver.
>
Yes, synchronous anything tends to kill performance. I do not see what about
this patch kills performance, however. It merely frees skbs at a later point.
The additional code in the RX path should be negligible. Also, every other
d80211 driver has some sort of similar mechanism, the only difference being
that the one for zd1211rw-d80211 isn't as reliable. I do not think it is
that ugly.
> While the stack isn't so well suited for this device I'd much prefer to
> see a more simplistic workaround. For example, assume all packets were
> successful but then report a failure when an interrupt comes in. Or, if
> the stack won't accept out-of-the-blue notifications like that, then
> maintain a counter which is incremented when a failure is reported, and
> when transmitting the next few frames report them as failed and
> decrement the counter (while counter > 0).
I don't think these solutions are much prettier than a tx_queue.
> Maybe disable rate control
> until we can come up with a nicer solution.
>
I don't think that's gonna happen unless changes are made in the firmware, or
there's some bit somewhere to flip that does exactly what we need. And
surely, having some working rate control is better than requiring manual tx
rate tuning, right? (which isn't an option in d80211 anyway)
-Michael Wu
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-12-12 4:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-11 6:01 d80211-drivers pull request (week-48) Michael Wu
2006-12-12 1:07 ` Daniel Drake
2006-12-12 2:20 ` Michael Wu
2006-12-12 3:51 ` Daniel Drake
2006-12-12 4:28 ` Michael Wu [this message]
2006-12-12 23:39 ` Ulrich Kunitz
2006-12-13 2:35 ` Michael Wu
2006-12-12 9:35 ` Michael Buesch
2006-12-15 5:54 ` Simon Barber
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=200612112328.14286.flamingice@sourmilk.net \
--to=flamingice@sourmilk.net \
--cc=dsd@gentoo.org \
--cc=kune@deine-taler.de \
--cc=linville@tuxdriver.com \
--cc=netdev@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).