Lets make wifi fast again!
 help / color / mirror / Atom feed
From: Bob McMahon <bob.mcmahon@broadcom.com>
To: Dave Taht <dave@taht.net>
Cc: "Toke Høiland-Jørgensen" <toke@toke.dk>,
	make-wifi-fast@lists.bufferbloat.net,
	bloat <bloat@lists.bufferbloat.net>
Subject: Re: [Make-wifi-fast] [Bloat] benefits of ack filtering
Date: Fri, 1 Dec 2017 13:17:59 -0800	[thread overview]
Message-ID: <CAHb6LvpfeLXZKXVmA279jNQY5ECvwmrVrzqYkwYRogX0vsZTsQ@mail.gmail.com> (raw)
In-Reply-To: <87po7ygxai.fsf@nemesis.taht.net>

[-- Attachment #1: Type: text/plain, Size: 2518 bytes --]

802.11 acks are packet or ampdu driven while tcp, being a byte protocol,
acks bytes.  Aligning these may not be straightforward.  We test with
different read() rates on the wifi clients as TCP is supposed to flow
control the source's writes() as well.  Wifi clients are starting to align
their sleep cycles with "natural" periodicity in traffic so having larger
aggregates can help both peak average throughput as well as power
consumption.  It's not obvious with Wifi that a faster RTT is always
better.  (Reminds me of the early days of NASA where many designed to
reduce weight without keeping in account structural integrity, shave a few
grams and lose a rocket.)

Bob

On Fri, Dec 1, 2017 at 9:42 AM, Dave Taht <dave@taht.net> wrote:

> Toke Høiland-Jørgensen <toke@toke.dk> writes:
>
> > Luca Muscariello <luca.muscariello@gmail.com> writes:
> >
> >> If I understand the text right, FastACK runs in the AP and generates an
> ACK
> >> on behalf (or despite) of the TCP client end.
> >> Then, it decimates dupACKs.
> >>
> >> This means that there is a stateful connection tracker in the AP. Not so
> >> simple.
> >> It's almost, not entirely though, a TCP proxy doing Split TCP.
> >
> > Yeah, it's very much stateful, and tied closely to both TCP and the MAC
> > layer. So it has all the usual middlebox issues as far as that is
> > concerned... Also, APs need to transfer state between each other when
> > the client roams.
> >
> > It does increase single-flow TCP throughput by up to a factor of two,
> > though... Which everyone knows is the most important benchmark number ;)
>
> Were you always as cynical as I am?
>
> I'd like to compare (eventually) what we are trying with cake's new ack
> filter here, which at least doesn't lie to the endpoint.
>
> my guess, however, would be that the media access negotiation will
> dominate the cost, and savings from (say) reducing 10 acks to 1 would
> only be somewhere in the 5-20% range, for simple benchmarks.
>
> I think we might get a better rrul result, however, as we'd be able to
> pack more big flows into a given aggregate, with less acks there.
>
> >
> > -Toke
> > _______________________________________________
> > Bloat mailing list
> > Bloat@lists.bufferbloat.net
> > https://lists.bufferbloat.net/listinfo/bloat
> _______________________________________________
> Make-wifi-fast mailing list
> Make-wifi-fast@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/make-wifi-fast
>

[-- Attachment #2: Type: text/html, Size: 3532 bytes --]

      parent reply	other threads:[~2017-12-01 21:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAA93jw47ZAXAJmiOVCb2NR3JRcCfmX0TLr+55O0G+J6HCW5bVQ@mail.gmail.com>
     [not found] ` <alpine.DEB.2.20.1711290655590.32099@uplift.swm.pp.se>
     [not found]   ` <4D0E907C-E15D-437C-B6F7-FF348346D615@gmx.de>
     [not found]     ` <alpine.DEB.2.20.1711291347050.32099@uplift.swm.pp.se>
     [not found]       ` <CAHx=1M7=ig-S-iQ_Fj2f-KMoa-QUVu1DZ4HyfWybvQiGeBb1GQ@mail.gmail.com>
     [not found]         ` <alpine.DEB.2.20.1711291528260.32099@uplift.swm.pp.se>
     [not found]           ` <CAHx=1M77XYX9t6J_zG1oArOze1-nTRPB9bNQLRfwFRZjH3mQjQ@mail.gmail.com>
     [not found]             ` <7B92DF4D-B6B5-4A64-9E10-119DCA2D4A6F@ifi.uio.no>
     [not found]               ` <CAJq5cE36bErJGDQQutpFgbENmiN9SvSc+bVXJ-BmZ9S_Jv3joA@mail.gmail.com>
     [not found]                 ` <1512037480.19682.10.camel@gmail.com>
     [not found]                   ` <alpine.DEB.2.20.1711301343320.32099@uplift.swm.pp.se>
     [not found]                     ` <alpine.DEB.2.02.1711301623270.2950@nftneq.ynat.uz>
     [not found]                       ` <6b494910-1373-afb0-5b93-99b725391fb3@gmail.com>
2017-12-01 12:53                         ` Toke Høiland-Jørgensen
2017-12-01 13:13                           ` Кирилл Луконин
2017-12-01 13:22                             ` Luca Muscariello
2017-12-11 17:42                             ` Simon Barber
2017-12-01 13:17                           ` Luca Muscariello
2017-12-01 13:40                             ` Toke Høiland-Jørgensen
2017-12-01 17:42                               ` Dave Taht
2017-12-01 20:39                                 ` Juliusz Chroboczek
2017-12-03  5:20                                   ` Bob McMahon
2017-12-03 10:35                                     ` Juliusz Chroboczek
2017-12-03 19:04                                       ` Bob McMahon
2017-12-01 21:17                                 ` Bob McMahon [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

  List information: https://lists.bufferbloat.net/postorius/lists/make-wifi-fast.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHb6LvpfeLXZKXVmA279jNQY5ECvwmrVrzqYkwYRogX0vsZTsQ@mail.gmail.com \
    --to=bob.mcmahon@broadcom.com \
    --cc=bloat@lists.bufferbloat.net \
    --cc=dave@taht.net \
    --cc=make-wifi-fast@lists.bufferbloat.net \
    --cc=toke@toke.dk \
    /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