* Re: [Make-wifi-fast] [Bloat] benefits of ack filtering
[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:17 ` Luca Muscariello
0 siblings, 2 replies; 12+ messages in thread
From: Toke Høiland-Jørgensen @ 2017-12-01 12:53 UTC (permalink / raw)
To: Jan Ceuleers, bloat, make-wifi-fast
Jan Ceuleers <jan.ceuleers@gmail.com> writes:
> On 01/12/17 01:28, David Lang wrote:
>> Stop thinking in terms of single-flow benchmarks and near idle
>> 'upstream' paths.
>
> Nobody has said it so I will: on wifi-connected endpoints the upstream
> acks also compete for airtime with the downstream flow.
There's a related discussion going on over on the make-wifi-fast list
related to the FastACK scheme proposed by Meraki at this year's IMC:
https://conferences.sigcomm.org/imc/2017/papers/imc17-final203.pdf
It basically turns link-layer ACKs into upstream TCP ACKs (and handles
some of the corner cases resulting from this) and also seems to contain
an ACK compression component.
-Toke
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] [Bloat] benefits of ack filtering
2017-12-01 12:53 ` [Make-wifi-fast] [Bloat] benefits of ack filtering 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
1 sibling, 2 replies; 12+ messages in thread
From: Кирилл Луконин @ 2017-12-01 13:13 UTC (permalink / raw)
To: Toke Høiland-Jørgensen; +Cc: Jan Ceuleers, bloat, make-wifi-fast
As I noticed from the Meraki document:
"FastACK also relies on packet inspection, and will not work when
payload is encrypted. However, in our networks, we do not currently
see an extensive use of encryption techniques like IPSec."
But what about TLS ?
As for me, this technology will never work in most cases.
Best regards,
Lukonin Kirill.
2017-12-01 17:53 GMT+05:00 Toke Høiland-Jørgensen <toke@toke.dk>:
> Jan Ceuleers <jan.ceuleers@gmail.com> writes:
>
>> On 01/12/17 01:28, David Lang wrote:
>>> Stop thinking in terms of single-flow benchmarks and near idle
>>> 'upstream' paths.
>>
>> Nobody has said it so I will: on wifi-connected endpoints the upstream
>> acks also compete for airtime with the downstream flow.
>
> There's a related discussion going on over on the make-wifi-fast list
> related to the FastACK scheme proposed by Meraki at this year's IMC:
>
> https://conferences.sigcomm.org/imc/2017/papers/imc17-final203.pdf
>
> It basically turns link-layer ACKs into upstream TCP ACKs (and handles
> some of the corner cases resulting from this) and also seems to contain
> an ACK compression component.
>
> -Toke
> _______________________________________________
> Make-wifi-fast mailing list
> Make-wifi-fast@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/make-wifi-fast
--
Best Regards,
Lukonin Kirill
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] [Bloat] benefits of ack filtering
2017-12-01 12:53 ` [Make-wifi-fast] [Bloat] benefits of ack filtering Toke Høiland-Jørgensen
2017-12-01 13:13 ` Кирилл Луконин
@ 2017-12-01 13:17 ` Luca Muscariello
2017-12-01 13:40 ` Toke Høiland-Jørgensen
1 sibling, 1 reply; 12+ messages in thread
From: Luca Muscariello @ 2017-12-01 13:17 UTC (permalink / raw)
To: Toke Høiland-Jørgensen; +Cc: Jan Ceuleers, bloat, make-wifi-fast
[-- Attachment #1: Type: text/plain, Size: 1290 bytes --]
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.
On Fri, Dec 1, 2017 at 1:53 PM, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
> Jan Ceuleers <jan.ceuleers@gmail.com> writes:
>
> > On 01/12/17 01:28, David Lang wrote:
> >> Stop thinking in terms of single-flow benchmarks and near idle
> >> 'upstream' paths.
> >
> > Nobody has said it so I will: on wifi-connected endpoints the upstream
> > acks also compete for airtime with the downstream flow.
>
> There's a related discussion going on over on the make-wifi-fast list
> related to the FastACK scheme proposed by Meraki at this year's IMC:
>
> https://conferences.sigcomm.org/imc/2017/papers/imc17-final203.pdf
>
> It basically turns link-layer ACKs into upstream TCP ACKs (and handles
> some of the corner cases resulting from this) and also seems to contain
> an ACK compression component.
>
> -Toke
> _______________________________________________
> Bloat mailing list
> Bloat@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/bloat
>
[-- Attachment #2: Type: text/html, Size: 2172 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] [Bloat] benefits of ack filtering
2017-12-01 13:13 ` Кирилл Луконин
@ 2017-12-01 13:22 ` Luca Muscariello
2017-12-11 17:42 ` Simon Barber
1 sibling, 0 replies; 12+ messages in thread
From: Luca Muscariello @ 2017-12-01 13:22 UTC (permalink / raw)
To: Кирилл
Луконин
Cc: Toke Høiland-Jørgensen, make-wifi-fast, Jan Ceuleers, bloat
[-- Attachment #1: Type: text/plain, Size: 1803 bytes --]
I think only IPSEC would be a problem for fastACK but not TLS.
On Fri, Dec 1, 2017 at 2:13 PM, Кирилл Луконин <klukonin@gmail.com> wrote:
> As I noticed from the Meraki document:
>
> "FastACK also relies on packet inspection, and will not work when
> payload is encrypted. However, in our networks, we do not currently
> see an extensive use of encryption techniques like IPSec."
>
> But what about TLS ?
> As for me, this technology will never work in most cases.
>
>
> Best regards,
> Lukonin Kirill.
>
> 2017-12-01 17:53 GMT+05:00 Toke Høiland-Jørgensen <toke@toke.dk>:
> > Jan Ceuleers <jan.ceuleers@gmail.com> writes:
> >
> >> On 01/12/17 01:28, David Lang wrote:
> >>> Stop thinking in terms of single-flow benchmarks and near idle
> >>> 'upstream' paths.
> >>
> >> Nobody has said it so I will: on wifi-connected endpoints the upstream
> >> acks also compete for airtime with the downstream flow.
> >
> > There's a related discussion going on over on the make-wifi-fast list
> > related to the FastACK scheme proposed by Meraki at this year's IMC:
> >
> > https://conferences.sigcomm.org/imc/2017/papers/imc17-final203.pdf
> >
> > It basically turns link-layer ACKs into upstream TCP ACKs (and handles
> > some of the corner cases resulting from this) and also seems to contain
> > an ACK compression component.
> >
> > -Toke
> > _______________________________________________
> > Make-wifi-fast mailing list
> > Make-wifi-fast@lists.bufferbloat.net
> > https://lists.bufferbloat.net/listinfo/make-wifi-fast
>
>
>
> --
> Best Regards,
> Lukonin Kirill
> _______________________________________________
> 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: 2948 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] [Bloat] benefits of ack filtering
2017-12-01 13:17 ` Luca Muscariello
@ 2017-12-01 13:40 ` Toke Høiland-Jørgensen
2017-12-01 17:42 ` Dave Taht
0 siblings, 1 reply; 12+ messages in thread
From: Toke Høiland-Jørgensen @ 2017-12-01 13:40 UTC (permalink / raw)
To: Luca Muscariello; +Cc: Jan Ceuleers, bloat, make-wifi-fast
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 ;)
-Toke
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] [Bloat] benefits of ack filtering
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-01 21:17 ` Bob McMahon
0 siblings, 2 replies; 12+ messages in thread
From: Dave Taht @ 2017-12-01 17:42 UTC (permalink / raw)
To: Toke Høiland-Jørgensen; +Cc: Luca Muscariello, make-wifi-fast, bloat
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] [Bloat] benefits of ack filtering
2017-12-01 17:42 ` Dave Taht
@ 2017-12-01 20:39 ` Juliusz Chroboczek
2017-12-03 5:20 ` Bob McMahon
2017-12-01 21:17 ` Bob McMahon
1 sibling, 1 reply; 12+ messages in thread
From: Juliusz Chroboczek @ 2017-12-01 20:39 UTC (permalink / raw)
To: Dave Taht; +Cc: Toke Høiland-Jørgensen, make-wifi-fast, bloat
>> 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?
(Giggle)
Dave, you've always underestimated Toke ;-)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] [Bloat] benefits of ack filtering
2017-12-01 17:42 ` Dave Taht
2017-12-01 20:39 ` Juliusz Chroboczek
@ 2017-12-01 21:17 ` Bob McMahon
1 sibling, 0 replies; 12+ messages in thread
From: Bob McMahon @ 2017-12-01 21:17 UTC (permalink / raw)
To: Dave Taht; +Cc: Toke Høiland-Jørgensen, make-wifi-fast, bloat
[-- 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 --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] [Bloat] benefits of ack filtering
2017-12-01 20:39 ` Juliusz Chroboczek
@ 2017-12-03 5:20 ` Bob McMahon
2017-12-03 10:35 ` Juliusz Chroboczek
0 siblings, 1 reply; 12+ messages in thread
From: Bob McMahon @ 2017-12-03 5:20 UTC (permalink / raw)
To: Juliusz Chroboczek; +Cc: Dave Taht, make-wifi-fast, bloat
[-- Attachment #1: Type: text/plain, Size: 1062 bytes --]
I'm skeptical that this would improve single stream throughput by a factor
of two. The larger RTT would drive larger aggregations and it's
aggregation that scales peak average throughput.
Also, the time difference between the 802.11 ack and the client network
stack writing the TCP ack would probably be in the 100s of microseconds
(mileage will vary.) So it's the client's media access that will drive the
increase in RTT. It might be preferred to modify EDCA parameters to
reduce media access latencies for TCP acks rather than spoof them.
Bob
On Fri, Dec 1, 2017 at 12:39 PM, Juliusz Chroboczek <jch@irif.fr> wrote:
> >> 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?
>
> (Giggle)
>
> Dave, you've always underestimated Toke ;-)
> _______________________________________________
> 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: 1679 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] [Bloat] benefits of ack filtering
2017-12-03 5:20 ` Bob McMahon
@ 2017-12-03 10:35 ` Juliusz Chroboczek
2017-12-03 19:04 ` Bob McMahon
0 siblings, 1 reply; 12+ messages in thread
From: Juliusz Chroboczek @ 2017-12-03 10:35 UTC (permalink / raw)
To: Bob McMahon; +Cc: Dave Taht, make-wifi-fast, bloat
> It might be preferred to modify EDCA parameters to reduce media access
> latencies for TCP acks rather than spoof them.
I'm lost here. What exact problem is the ACK hack supposed to work
around? Ridiculous amount of asymmetry in the last-hop WiFi link, or
outrageous amounts of asymmetry in a transit link beyond the last hop?
-- Juliusz
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] [Bloat] benefits of ack filtering
2017-12-03 10:35 ` Juliusz Chroboczek
@ 2017-12-03 19:04 ` Bob McMahon
0 siblings, 0 replies; 12+ messages in thread
From: Bob McMahon @ 2017-12-03 19:04 UTC (permalink / raw)
To: Juliusz Chroboczek; +Cc: Dave Taht, make-wifi-fast, bloat
[-- Attachment #1: Type: text/plain, Size: 522 bytes --]
My understanding per the thread is a last hop wifi link. I could be wrong
though.
Bob
On Sun, Dec 3, 2017 at 2:35 AM, Juliusz Chroboczek <jch@irif.fr> wrote:
> > It might be preferred to modify EDCA parameters to reduce media access
> > latencies for TCP acks rather than spoof them.
>
> I'm lost here. What exact problem is the ACK hack supposed to work
> around? Ridiculous amount of asymmetry in the last-hop WiFi link, or
> outrageous amounts of asymmetry in a transit link beyond the last hop?
>
> -- Juliusz
>
[-- Attachment #2: Type: text/html, Size: 930 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Make-wifi-fast] [Bloat] benefits of ack filtering
2017-12-01 13:13 ` Кирилл Луконин
2017-12-01 13:22 ` Luca Muscariello
@ 2017-12-11 17:42 ` Simon Barber
1 sibling, 0 replies; 12+ messages in thread
From: Simon Barber @ 2017-12-11 17:42 UTC (permalink / raw)
To: Кирилл
Луконин,
Toke Høiland-Jørgensen
Cc: make-wifi-fast, bloat
TLS works over TCP, so the TCP headers are not encrypted.
Simon
Sent with AquaMail for Android
http://www.aqua-mail.com
On December 11, 2017 8:17:47 AM Кирилл Луконин <klukonin@gmail.com> wrote:
> As I noticed from the Meraki document:
>
> "FastACK also relies on packet inspection, and will not work when
> payload is encrypted. However, in our networks, we do not currently
> see an extensive use of encryption techniques like IPSec."
>
> But what about TLS ?
> As for me, this technology will never work in most cases.
>
>
> Best regards,
> Lukonin Kirill.
>
> 2017-12-01 17:53 GMT+05:00 Toke Høiland-Jørgensen <toke@toke.dk>:
>> Jan Ceuleers <jan.ceuleers@gmail.com> writes:
>>
>>> On 01/12/17 01:28, David Lang wrote:
>>>> Stop thinking in terms of single-flow benchmarks and near idle
>>>> 'upstream' paths.
>>>
>>> Nobody has said it so I will: on wifi-connected endpoints the upstream
>>> acks also compete for airtime with the downstream flow.
>>
>> There's a related discussion going on over on the make-wifi-fast list
>> related to the FastACK scheme proposed by Meraki at this year's IMC:
>>
>> https://conferences.sigcomm.org/imc/2017/papers/imc17-final203.pdf
>>
>> It basically turns link-layer ACKs into upstream TCP ACKs (and handles
>> some of the corner cases resulting from this) and also seems to contain
>> an ACK compression component.
>>
>> -Toke
>> _______________________________________________
>> Make-wifi-fast mailing list
>> Make-wifi-fast@lists.bufferbloat.net
>> https://lists.bufferbloat.net/listinfo/make-wifi-fast
>
>
>
> --
> Best Regards,
> Lukonin Kirill
> _______________________________________________
> Bloat mailing list
> Bloat@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/bloat
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2017-12-11 17:42 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[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 ` [Make-wifi-fast] [Bloat] benefits of ack filtering 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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox