summaryrefslogtreecommitdiff
path: root/net/rds/tcp_send.c
diff options
context:
space:
mode:
authorSowmini Varadhan <sowmini.varadhan@oracle.com>2015-09-30 23:54:08 +0300
committerDavid S. Miller <davem@davemloft.net>2015-10-05 13:34:53 +0300
commit1edd6a14d24f21b8b478970c63a243a08e2b55b0 (patch)
tree69b0d3d0619f70911f9dee2b98bbc9072fc14b50 /net/rds/tcp_send.c
parent3b20fc389705a4c959adebc494578cb99bb8be9e (diff)
downloadlinux-1edd6a14d24f21b8b478970c63a243a08e2b55b0.tar.xz
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>
Diffstat (limited to 'net/rds/tcp_send.c')
0 files changed, 0 insertions, 0 deletions