diff options
author | Eric Dumazet <edumazet@google.com> | 2012-09-23 22:28:59 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-24 16:23:53 -0400 |
commit | 0cf833aefaa85bbfce3ff70485e5534e09254773 (patch) | |
tree | 5dc45fe287ae2b12c722c207b259725d1f49f8b8 /tools/usb | |
parent | 2a6c8c7998f95b140f3d3c7ac5dce2fbd6d403e3 (diff) |
net: loopback: set default mtu to 64K
loopback current mtu of 16436 bytes allows no more than 3 MSS TCP
segments per frame, or 48 Kbytes. Changing mtu to 64K allows TCP
stack to build large frames and significantly reduces stack overhead.
Performance boost on bulk TCP transferts can be up to 30 %, partly
because we now have one ACK message for two 64KB segments, and a lower
probability of hitting /proc/sys/net/ipv4/tcp_reordering default limit.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/usb')
0 files changed, 0 insertions, 0 deletions