From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John W. Linville" Subject: Re: BQL crap and wireless Date: Thu, 1 Sep 2011 10:13:05 -0400 Message-ID: <20110901141304.GA2580@tuxdriver.com> References: <4E5C3B47.1050809@freedesktop.org> <4E5CEC79.3090802@freedesktop.org> <9BB251C1-A211-486D-A717-59149AC3A709@gmail.com> <4E5E36EE.8080501@freedesktop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jim Gettys , Andrew McGregor , Adrian Chadd , Tom Herbert , Dave Taht , linux-wireless , Matt Smith , Kevin Hayes , Derek Smithies , netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Luis R. Rodriguez" Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-wireless-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org 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 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! John -- John W. Linville Someday the world will need a hero, and you linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org might be all we have. Be ready. -- 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