net: TCP thin linear timeouts
authorAndreas Petlund <apetlund@simula.no>
Thu, 18 Feb 2010 02:47:01 +0000 (02:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2010 23:43:08 +0000 (15:43 -0800)
commit36e31b0af58728071e8023cf8e20c5166b700717
tree8b4d251bf78965ac7501bea9011786b8255a3312
parent5aa4b32fc86408705337e941ed716880c63d1590
net: TCP thin linear timeouts

This patch will make TCP use only linear timeouts if the
stream is thin. This will help to avoid the very high latencies
that thin stream suffer because of exponential backoff. This
mechanism is only active if enabled by iocontrol or syscontrol
and the stream is identified as thin. A maximum of 6 linear
timeouts is tried before exponential backoff is resumed.

Signed-off-by: Andreas Petlund <apetlund@simula.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt
include/linux/tcp.h
include/net/tcp.h
net/ipv4/sysctl_net_ipv4.c
net/ipv4/tcp.c
net/ipv4/tcp_timer.c