netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "John W. Linville" <linville@tuxdriver.com>
To: "Luis R. Rodriguez" <mcgrof@gmail.com>
Cc: Tom Herbert <therbert@google.com>,
	linux-wireless <linux-wireless@vger.kernel.org>,
	Andrew McGregor <andrewmcgr@gmail.com>,
	Matt Smith <smithm@qca.qualcomm.com>,
	Kevin Hayes <hayes@qca.qualcomm.com>,
	Dave Taht <dave.taht@gmail.com>,
	Derek Smithies <derek@indranet.co.nz>,
	netdev@vger.kernel.org, bloat@bufferbloat.net
Subject: Re: BQL crap and wireless
Date: Wed, 31 Aug 2011 15:48:10 -0400	[thread overview]
Message-ID: <20110831194810.GD2474@tuxdriver.com> (raw)
In-Reply-To: <CAB=NE6VuP=AvYiJsYn_Noc1u0Q=jvQPutHRANdSiLP2v48ogfg@mail.gmail.com>

On Fri, Aug 26, 2011 at 04:27:22PM -0700, Luis R. Rodriguez wrote:
> I've just read this thread:
> 
> http://marc.info/?t=131277868500001&r=1&w=2
> 
> Since its not linux-wireless I'll chime in here. It seems that you are
> trying to write an algorithm that will work for all networking and
> 802.11 devices. For networking is seems tough given driver
> architecture and structure and the hope that all drivers will report
> things in a fairly similar way. For 802.11 it was pointed out how we
> have varying bandwidths and depending on the technology used for
> connection (AP, 802.11s, IBSS) a different number of possible peers
> need to be considered. 802.11 faced similar algorithmic complexities
> with rate control and the way Andrew and Derek resolved this was to
> not assume you could solve this problem and simply test out the water
> by trial and error, that gave birth to the minstrel rate control
> algorithm which Felix later rewrote for mac80211 with 802.11n support
> [1]. Can the BQL algorithm make use of the same trial and error
> mechanism and simply try different values and and use EWMA [2] to pick
> the best size for the queue ?
> 
> [1] http://wireless.kernel.org/en/developers/Documentation/mac80211/RateControl/minstrel
> [2] http://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average
> 
>   Luis

Since Luis has stirred things up, I took the liberty of adding Tom's
BQL series to the debloat-testing tree:

	git://git.infradead.org/debloat-testing.git

I'm not sure how well BQL will interact with my eBDP-inspired hack,
debloat-testing commit d2566a176589775cb3a1de4fade972aa62d551ff
("mac80211: implement eBDP algorithm to fight bufferbloat").  So if
anyone wants to try enabling a wireless driver for BQL, you might
consider reverting that patch or at least testing without it.

<shameless plug>
And, of course, don't forget to come to the Bufferbloat and Networking
track at Linux Plumbers Conference next week in Santa Rosa, CA! :-)
</shameless plug>

John
-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

      parent reply	other threads:[~2011-08-31 20:00 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
     [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-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
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
2011-08-31 19:48 ` John W. Linville [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=20110831194810.GD2474@tuxdriver.com \
    --to=linville@tuxdriver.com \
    --cc=andrewmcgr@gmail.com \
    --cc=bloat@bufferbloat.net \
    --cc=dave.taht@gmail.com \
    --cc=derek@indranet.co.nz \
    --cc=hayes@qca.qualcomm.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mcgrof@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=smithm@qca.qualcomm.com \
    --cc=therbert@google.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;
as well as URLs for NNTP newsgroup(s).