netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jim Gettys <jg-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org>
To: "John W. Linville" <linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
Cc: "Luis R. Rodriguez"
	<mcgrof-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Andrew McGregor
	<andrewmcgr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Adrian Chadd <adrian-h+KGxgPPiopAfugRpC6u6w@public.gmane.org>,
	Tom Herbert <therbert-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>,
	Dave Taht <dave.taht-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	linux-wireless
	<linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Matt Smith <smithm-A+ZNKFmMK5xy9aJCnZT0Uw@public.gmane.org>,
	Kevin Hayes <hayes-A+ZNKFmMK5xy9aJCnZT0Uw@public.gmane.org>,
	Derek Smithies <derek-Rd3uoDiDeHXJKwlM9GxbOw@public.gmane.org>,
	netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: BQL crap and wireless
Date: Thu, 01 Sep 2011 11:08:10 -0400	[thread overview]
Message-ID: <4E5F9FDA.3020901@freedesktop.org> (raw)
In-Reply-To: <20110901141304.GA2580-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>

On 09/01/2011 10:13 AM, John W. Linville wrote:
> On Wed, Aug 31, 2011 at 01:50:48PM -0700, Luis R. Rodriguez wrote:
>> On Wed, Aug 31, 2011 at 6:28 AM, Jim Gettys <jg-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org> wrote:
>> such as wireless, or even possibly modern broadband with
>> PowerBoost, classic RED or similar algorithms that do not take the
>> buffer drain rate cannot possibly hack it properly.
>> Understood, just curious if anyone has tried a Minstrel approach.
> FWIW, eBDP and the related algorithms from Tianji Li's paper are
> philosophically similar to minstrel.  They depend on measuring recent
> conditions and modifying the current queue length accordingly.
>
> 	http://www.hamilton.ie/tianji_li/buffersizing.pdf
>
> The hack I added in debloat-testing is based on my understanding
> of eBDP.  It timestamps the SKBs when they are handed to the driver
> for Tx and then checks the timestamp when the SKB is orphaned.  It is
> a bit crude and is an abuse of the skb_orphan API.  Also while it
> accounts for the 802.11e queues separately, it doesn't account for
> 802.11n aggregation.  Still, it seems to improve latency w/o hugely
> impacting throughput in at least some environments -- YMMV!
>
Certainly eBDP *sort of* works for me; I see somewhat more variation
(jitter) than I'd like, but at least latencies are at least somewhat
controlled and I've not seen performance (throughput) problems.  This is
on an Intel chipset.

Tanji Li's work and eBDP came to our attention after a conversation I
had with Van at the beginning of this year; Van send me a pointer to it
with the comments:

"As I said on the phone I think there's an easier, more robust way to accomplish the same
thing but they have running code and I don't."


But we've not had time to do any systematic testing on eBDP yet and the
implementation needs more work before it should go upstream.

About the time we were thinking of starting that testing, it became
clear that getting aggregation working better was pretty essential to
validating any results.  I'm looking forward to trying eBDP with the
revised Ath9k driver as soon as they get put into a single pool.  And if
Kathleen and Van can get a "RED Light" they are happy with, that will be
fun to try as well.
                                - Jim






--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2011-09-01 15:08 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-26 23:27 BQL crap and wireless Luis R. Rodriguez
     [not found] ` <CAB=NE6VuP=AvYiJsYn_Noc1u0Q=jvQPutHRANdSiLP2v48ogfg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-08-29 21:02   ` Luis R. Rodriguez
2011-08-29 21:10     ` Luis R. Rodriguez
2011-08-29 22:45       ` Dave Taht
     [not found]         ` <CAA93jw5pTHpUOX=iUnck8Eun2iNqkuKwG-Jd0X1oNxD_s9_prA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-08-29 22:54           ` Luis R. Rodriguez
     [not found]             ` <CAB=NE6V7jFgtK4HmkUnfY5MuWCJoTyo83p9KMVTvmXTsrGoTew-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-08-29 23:10               ` Dave Taht
2011-08-29 23:15                 ` Luis R. Rodriguez
2011-08-30  0:24     ` Dave Taht
     [not found]       ` <CAA93jw7c+Nxc6ZbWZWsQ+F78AoPWU=quSRaOUpT0yRcwJOXsGQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-08-30  1:22         ` Jim Gettys
2011-08-30  1:44           ` Adrian Chadd
2011-08-30  1:48             ` Adrian Chadd
     [not found]           ` <4E5C3B47.1050809-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org>
2011-08-30  1:59             ` Andrew McGregor
2011-08-30  2:12               ` Jim Gettys
2011-08-30  3:34           ` Tom Herbert
     [not found]             ` <CA+mtBx-j_+mrNpntR7CfYOromDnM-ZGzvebpUCjC8Qf14X6u9g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-08-30  3:42               ` Adrian Chadd
     [not found]                 ` <CAJ-Vmonwur-SXddNwjPEidCMqes+PwbRWFBddfdwTp2jOMu64g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-08-30  4:23                   ` Andrew McGregor
2011-08-30 13:58                   ` Jim Gettys
     [not found]                     ` <4E5CEC79.3090802-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org>
2011-08-30 21:47                       ` Andrew McGregor
2011-08-31 13:28                         ` Jim Gettys
     [not found]                           ` <4E5E36EE.8080501-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org>
2011-08-31 20:50                             ` Luis R. Rodriguez
2011-09-01  2:44                               ` Adrian Chadd
     [not found]                               ` <CAB=NE6Wj4BxSjZmTOg9EFMcJ+H0RBZE4q8+6DB3x8qP=r42yNQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-01 14:13                                 ` John W. Linville
     [not found]                                   ` <20110901141304.GA2580-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
2011-09-01 15:08                                     ` Jim Gettys [this message]
2011-09-02 22:03                                     ` Luis R. Rodriguez
     [not found]                               ` <4E5FA74D.5000705@freedesktop.org>
     [not found]                                 ` <4E5FA74D.5000705-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org>
2011-09-02 21:59                                   ` Luis R. Rodriguez
     [not found]                                     ` <CAB=NE6V-GtHAiaqCqzgo5JSgYT55S2LARr+_NQv3D6WjgvqE7w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-03  3:01                                       ` Jim Gettys
     [not found]     ` <CAB=NE6VwWu5+Hk7=3ghkgiXss9kCqGyS-RWPYtyHRhDsx5r2rA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-08-29 23:18       ` Andrew McGregor
2011-08-30  1:08       ` Dave Taht
2011-08-31 19:48 ` John W. Linville

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=4E5F9FDA.3020901@freedesktop.org \
    --to=jg-cc+yj3umiyqdupfqwhejaq@public.gmane.org \
    --cc=adrian-h+KGxgPPiopAfugRpC6u6w@public.gmane.org \
    --cc=andrewmcgr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=dave.taht-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=derek-Rd3uoDiDeHXJKwlM9GxbOw@public.gmane.org \
    --cc=hayes-A+ZNKFmMK5xy9aJCnZT0Uw@public.gmane.org \
    --cc=linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org \
    --cc=mcgrof-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=smithm-A+ZNKFmMK5xy9aJCnZT0Uw@public.gmane.org \
    --cc=therbert-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.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).