diff options
author | silby <silby@FreeBSD.org> | 2001-12-14 18:26:52 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2001-12-14 18:26:52 +0000 |
commit | 1b6efabb9089079541ab9a7a4cfa29b4549d39b8 (patch) | |
tree | 9458910530be66ff976d7e17e5491b813e4b85a5 /sys/netinet | |
parent | f8ad22919e217e5aa0f3f7a246fc37aaee182364 (diff) | |
download | FreeBSD-src-1b6efabb9089079541ab9a7a4cfa29b4549d39b8.zip FreeBSD-src-1b6efabb9089079541ab9a7a4cfa29b4549d39b8.tar.gz |
Reduce the local network slowstart flightsize from infinity to 4 packets.
Now that we've increased the size of our send / receive buffers, bursting
an entire window onto the network may cause congestion. As a result,
we will slow start beginning with a flightsize of 4 packets.
Problem reported by: Thomas Zenker <thz@Lennartz-electronic.de>
MFC after: 3 days
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/tcp_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index 9d3dac1..40ed7ee 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -91,7 +91,7 @@ int ss_fltsz = 1; SYSCTL_INT(_net_inet_tcp, OID_AUTO, slowstart_flightsize, CTLFLAG_RW, &ss_fltsz, 1, "Slow start flight size"); -int ss_fltsz_local = TCP_MAXWIN; /* something large */ +int ss_fltsz_local = 4; SYSCTL_INT(_net_inet_tcp, OID_AUTO, local_slowstart_flightsize, CTLFLAG_RW, &ss_fltsz_local, 1, "Slow start flight size for local networks"); |