]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS-TCP: Do not bloat sndbuf/rcvbuf in rds_tcp_tune
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Wed, 14 Oct 2015 11:23:20 +0000 (07:23 -0400)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Wed, 21 Oct 2015 16:08:19 +0000 (09:08 -0700)
commit1d5969519ceaabdc65913aee4f1813295299979d
tree88b64b273a46428dd9a3d0c50de5f7b38e619b22
parentc55c91e91fc030ea313b90e0db3b6e91e73d922a
RDS-TCP: Do not bloat sndbuf/rcvbuf in rds_tcp_tune

Orabug: 22012202

Backport of upstream commit 1edd6a14d24f ("RDS-TCP: Do not bloat
sndbuf/rcvbuf in rds_tcp_tune")

Using the value of RDS_TCP_DEFAULT_BUFSIZE (128K)
clobbers efficient use of TSO because it inflates the size_goal
that is computed in tcp_sendmsg/tcp_sendpage and skews packet
latency, and the default values for these parameters actually
results in significantly better performance.

In request-response tests using rds-stress with a packet size of
100K with 16 threads (test parameters -q 100000 -a 256 -t16 -d16)
between a single pair of IP addresses achieves a throughput of
6-8 Gbps. Without this patch, throughput maxes at 2-3 Gbps under
equivalent conditions on these platforms.

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/tcp.c