From: Eric Dumazet <eric.dumazet@gmail.com>
To: Dominik Kaspar <dokaspar.ietf@gmail.com>
Cc: Carsten Wolff <carsten@wolffcarsten.de>,
John Heffner <johnwheffner@gmail.com>,
netdev@vger.kernel.org,
Zimmermann Alexander <zimmermann@nets.rwth-aachen.de>,
Lennart Schulte <Lennart.Schulte@comsys.rwth-aachen.de>,
Arnd Hannemann <arnd@arndnet.de>
Subject: Re: Linux TCP's Robustness to Multipath Packet Reordering
Date: Wed, 27 Apr 2011 18:48:47 +0200 [thread overview]
Message-ID: <1303922928.3166.96.camel@edumazet-laptop> (raw)
In-Reply-To: <BANLkTimNC9DgWtkTTtjC_v0FsxzvBMsQGw@mail.gmail.com>
Le mercredi 27 avril 2011 à 18:22 +0200, Dominik Kaspar a écrit :
> Hi Carsten,
>
> Thanks for your feedback. I made some new tests with the same setup of
> packet-based forwarding over two emulated paths (600 KB/s, 10 ms) +
> (400 KB/s, 100 ms). In the first experiments, which showed a step-wise
> adaptation to reordering, SACK, DSACK, and Timestamps were all
> enabled. In the experiments, I individually disabled these three
> mechanisms and saw the following:
>
> - Disabling timestamps causes TCP to never adjust to reordering at all.
> - Disabling SACK allows TCP to adapt very rapidly ("perfect" aggregation!).
> - Disabling DSACK has no obvious impact (still a step-wise throughput).
>
> Is there an explanation for why turning off SACK can be beneficial in
> the presence of packet reordering? That sounds pretty
> counter-intuitive to me... I thought SACK=1 always performs better
> than SACK=0. The results are also illustrated in the following plot.
> For each setting, there are three runs, which all exhibit a similar
> behavior:
>
> http://home.simula.no/~kaspar/static/mptcp-emu-wlan-hspa-02-sack.png
>
SACK is a win in a normal environnement, with few reorders, but some
percents of losses ;)
Given the limit of 3 blocks in SACK option, and your pretty asymetric
paths (10ms and 100ms), SACK is useless and consume 12 bytes per
frame...
You really should add traces to every tp->reordering changes done in our
TCP stack, its a 20 minutes patch, and would help you to understand
where/when its increased/decreased.
next prev parent reply other threads:[~2011-04-27 16:48 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-25 10:37 Linux TCP's Robustness to Multipath Packet Reordering Dominik Kaspar
2011-04-25 11:25 ` Eric Dumazet
2011-04-25 14:35 ` Dominik Kaspar
2011-04-25 15:38 ` Eric Dumazet
2011-04-26 16:58 ` Dominik Kaspar
2011-04-26 17:10 ` Eric Dumazet
2011-04-26 18:00 ` Dominik Kaspar
2011-04-26 20:16 ` John Heffner
2011-04-26 21:27 ` Dominik Kaspar
2011-04-27 9:57 ` Carsten Wolff
2011-04-27 16:22 ` Dominik Kaspar
2011-04-27 16:36 ` Alexander Zimmermann
2011-06-21 11:25 ` Ilpo Järvinen
2011-06-21 11:34 ` Carsten Wolff
2011-06-21 11:46 ` Ilpo Järvinen
2011-04-27 16:48 ` Eric Dumazet [this message]
2011-04-27 17:39 ` Yuchung Cheng
2011-04-27 17:53 ` Alexander Zimmermann
2011-04-27 19:56 ` Dominik Kaspar
2011-04-27 21:41 ` Yuchung Cheng
2011-04-28 6:11 ` Alexander Zimmermann
2011-06-19 15:22 ` Dominik Kaspar
2011-06-19 15:38 ` Alexander Zimmermann
2011-06-19 16:25 ` Dominik Kaspar
2011-06-20 10:42 ` Ilpo Järvinen
2011-06-20 12:52 ` Dominik Kaspar
2011-06-21 11:35 ` Ilpo Järvinen
2011-04-26 20:43 ` Eric Dumazet
2011-04-26 21:04 ` Dominik Kaspar
2011-04-26 21:08 ` Eric Dumazet
2011-04-26 21:16 ` Dominik Kaspar
2011-04-26 21:17 ` Eric Dumazet
2011-04-25 12:59 ` Carsten Wolff
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=1303922928.3166.96.camel@edumazet-laptop \
--to=eric.dumazet@gmail.com \
--cc=Lennart.Schulte@comsys.rwth-aachen.de \
--cc=arnd@arndnet.de \
--cc=carsten@wolffcarsten.de \
--cc=dokaspar.ietf@gmail.com \
--cc=johnwheffner@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=zimmermann@nets.rwth-aachen.de \
/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