mbox series

[mptcp-next,0/2] mptcp: add receive buffer auto-tuning

Message ID 20200528130239.16498-1-fw@strlen.de
Headers show
Series mptcp: add receive buffer auto-tuning | expand

Message

Florian Westphal May 28, 2020, 1:02 p.m. UTC
This patch adds rx buffer auto-tuning.
In oder to better test this, the first patch extends the test script
so it can be run multiple times with identical file size.

Furthermore, the new '-t' switch allows to always to tcp fallback and
even tcp <-> tcp tests.  The expectation here is that there is little
to no difference in transfer time between mptcp <-> mptcp and tcp-only
transfers.

Without the second patch, there is significant difference when delay
is used due to the missing rx autotuning.

The new mptcp tune function is very similar to the tcp one, except that
it uses the highest rtt of any subflow.

Its also needed to adjust the subflow rcvbuf: if that is not done, there
are backlog drops at the subflow level (default rx buffer on my vm is
only 128kb, which doesn't provide enough 'cushion' until work queue can
drain the ssk queue).