From: Stephen Hemminger <stephen@networkplumber.org>
To: "Eric Dumazet" <eric.dumazet@gmail.com>,
"David Miller" <davem@davemloft.net>,
"Dave Täht" <dave.taht@bufferbloat.net>
Cc: netdev@vger.kernel.org
Subject: 16% regression on 10G caused by TCP small queues
Date: Wed, 23 Oct 2013 19:29:54 -0700 [thread overview]
Message-ID: <20131023192954.3dd9c784@nehalam.linuxnetplumber.net> (raw)
In the course of testing routing functionality, I discovered a that the single flow TCP
throughput was much worse than expected. At first, it looked like a router problem,
or maybe because one end was a FreeBSD system (which has noticeably slower TCP performance).
But reducing it down to two systems directly connected over 10G (ixgbe) found the problem.
With a single TCP flow, in 3.5 kernel the performance with iperf is 9.41 Gbit/sec
which is at the link limit for TCP with timestamps etc. But in 3.6 and later the
throughput dropped to 7.9 Gbit/sec which is a regression of 16%.
Doing bisect shows that the commit causing this is:
commit 46d3ceabd8d98ed0ad10f20c595ca784e34786c5
Author: Eric Dumazet <eric.dumazet@gmail.com>
Date: Wed Jul 11 05:50:31 2012 +0000
tcp: TCP Small Queues
This introduce TSQ (TCP Small Queues)
There are several options at this point:
0. Ignore it. Sorry, this is not acceptable.
People do transfer files over 10G and expect line rate!
1. Rip it out. which adds to the buffer bloat.
This is a throughput vs latency tradeoff.
2. Neuter it by making TCP small queues configurable and default off.
Allows people who are willing to sacrifice performance go ahead and
enable it.
3. Tweak it. Make the default queue value in kernel big enough that no loss is
observable.
4. Do something smarter like a dynamic TCP small queue that adapts.
next reply other threads:[~2013-10-24 2:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-24 2:29 Stephen Hemminger [this message]
2013-10-24 2:37 ` 16% regression on 10G caused by TCP small queues Neal Cardwell
2013-10-24 3:09 ` Stephen Hemminger
2013-10-24 3:38 ` David Miller
2013-10-24 4:45 ` Stephen Hemminger
2013-10-24 6:05 ` Eric Dumazet
2013-10-24 6:10 ` Eric Dumazet
2013-10-24 6:19 ` Eric Dumazet
2013-10-24 7:01 ` David Miller
2013-10-27 4:33 ` Dave Taht
2013-10-27 5:07 ` David Miller
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=20131023192954.3dd9c784@nehalam.linuxnetplumber.net \
--to=stephen@networkplumber.org \
--cc=dave.taht@bufferbloat.net \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.