From: d@taht.net (Dave Täht)
To: sedat.dilek@gmail.com
Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org,
bloat-devel@lists.bufferbloat.net, linux-kernel@vger.kernel.org
Subject: Re: ANNOUNCE: debloat-testing kernel git tree
Date: Sun, 27 Feb 2011 09:25:56 -0700 [thread overview]
Message-ID: <87tyfph2az.fsf@cruithne.co.teklibre.org> (raw)
In-Reply-To: <AANLkTi=Cp7N4xqPyU6KWF6DOzFytxaA2BeoXhnhsZ6dp@mail.gmail.com> (Sedat Dilek's message of "Sun, 27 Feb 2011 17:01:27 +0100")
Sedat Dilek <sedat.dilek@googlemail.com> writes:
> On Sun, Feb 27, 2011 at 4:56 PM, Dave Täht <d@taht.net> wrote:
>> Sedat Dilek <sedat.dilek@googlemail.com> writes:
>>
>>> On Sun, Feb 27, 2011 at 4:31 PM, Dave Täht <d@taht.net> wrote:
>>>>
>>>> Sedat Dilek <sedat.dilek@googlemail.com> writes:
>>
>>> Are you planning debloat feature for 2.6.39?
>>
>> Depends on how many testers we get and what the results are.
>>
>> I feel the eBDP stuff will not be ready during this release cycle. SFB
>> and CHOKe are in net-next, so, probably. Various driver patches -
>> particularly those that increase the available dynamic range via
>> ethtool, (e.g lowering the bottommost TX queue limit to, like, 4,
>> especially for home gateways) may make it out if people look harder into
>> the issue.
>
> OK, thanks for the explanations.
>
> Concerning "more drivers":
> What would I have to do to modify ath5k?
> I looked into the ath9k patch in debloat-testing GIT and it was to mod
> some (TX/BUF) values only.
Yes, reducing your TX buffer size greatly is the first, best, and
easiest patch.
For wireless routers and cable home gateways especially, this research
shows that the total un-managed buffers in your system should be less
than 32.
http://www.cs.clemson.edu/~jmarty/papers/PID1154937.pdf
I found their data convincing, and there are dozens of other papers that
we are sorting out on the bufferbloat.net web site.
(PLEASE Note the key word there is un-managed)
0 would be the best value. :/
In the case of wireless, you also have retries to take into account.
I'd argue in those cases, that what I say above is that the number
should be FAR less than 32.
Now, whether there is a good compromise between throughput and latency
in that range in a DMA TX queue + TXQUEUE, remains to be seen.
> Not sure if ath9k is/was "well" prepared or only a good choice by the
> testers/committers as they own such a device.
My test network is mostly ath9k - the nanostation M5s and the WNDR5700
router described here:
http://www.bufferbloat.net/projects/bloat/wiki/Experiment_-_Bloated_LAGN_vs_debloated_WNDR5700
There are people looking into the ath6kl, but you're the first to step
up with the ath5k. :) Maybe the folk over at #ath6kl on irc can help.
The ath9k patch improves latency under load enormously - I can run voip
over it AND do big transfers and stream audio via samba... Which I
couldn't before - and DNS, ND, NTP, babel, etc behave much better, but
the currently hard coded nature of the TX queue limit does put an upper
limit on packet aggregation that the eBDP folk are trying to resolve
more generically.
In practice, at "normal" 180Mbit rates, with the new queue depth of 3, I
get most of the benefits of packet aggregation without the lag.
I do see higher packet loss than I would like, at present.
>
> - Sedat -
--
Dave Taht
http://nex-6.taht.net
next prev parent reply other threads:[~2011-02-27 16:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-25 22:22 John W. Linville
2011-02-27 15:23 ` Sedat Dilek
2011-02-27 15:31 ` Dave Täht
2011-02-27 15:38 ` Sedat Dilek
2011-02-27 15:56 ` Dave Täht
2011-02-27 16:01 ` Sedat Dilek
2011-02-27 16:25 ` Dave Täht [this message]
2011-03-03 18:16 ` Rick Jones
2011-03-03 18:19 ` John W. Linville
2011-03-03 19:45 ` Tianji Li
2011-03-03 22:33 ` Rick Jones
2011-03-08 6:58 ` Pavel Machek
2011-03-08 18:48 ` Rick Jones
2011-03-13 10:27 ` Pavel Machek
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=87tyfph2az.fsf@cruithne.co.teklibre.org \
--to=d@taht.net \
--cc=bloat-devel@lists.bufferbloat.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sedat.dilek@gmail.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