diff options
author | hiren <hiren@FreeBSD.org> | 2015-10-27 09:43:05 +0000 |
---|---|---|
committer | hiren <hiren@FreeBSD.org> | 2015-10-27 09:43:05 +0000 |
commit | 9d3e0245b758d8331d329301421f2d1a1e67e5ae (patch) | |
tree | 80647440e6b13448008e102ff521d010be8ddd31 /share | |
parent | 569bd9e319e6a1f05c1451df58af6729a7582b02 (diff) | |
download | FreeBSD-src-9d3e0245b758d8331d329301421f2d1a1e67e5ae.zip FreeBSD-src-9d3e0245b758d8331d329301421f2d1a1e67e5ae.tar.gz |
Add sysctl tunable net.inet.tcp.initcwnd_segments to specify initial congestion
window in number of segments on fly. It is set to 10 segments by default.
Remove net.inet.tcp.experimental.initcwnd10 which is now redundant. Also remove
the parent node net.inet.tcp.experimental as it's not needed anymore and also
because it was not well thought out.
Differential Revision: https://reviews.freebsd.org/D3858
In collaboration with: lstewart
Reviewed by: gnn (prev version), rwatson, allanjude, wblock (man page)
MFC after: 2 weeks
Relnotes: yes
Sponsored by: Limelight Networks
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/tcp.4 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4 index 351e4b4..8c5887f 100644 --- a/share/man/man4/tcp.4 +++ b/share/man/man4/tcp.4 @@ -34,7 +34,7 @@ .\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93 .\" $FreeBSD$ .\" -.Dd October 13, 2014 +.Dd October 27, 2015 .Dt TCP 4 .Os .Sh NAME @@ -454,6 +454,17 @@ code. For this reason, we use 200ms of slop and a near-0 minimum, which gives us an effective minimum of 200ms (similar to .Tn Linux ) . +.It Va initcwnd_segments +Enable the ability to specify initial congestion window in number of segments. +The default value is 10 as suggested by RFC 6928. +Changing the value on fly would not affect connections using congestion window +from the hostcache. +Caution: +This regulates the burst of packets allowed to be sent in the first RTT. +The value should be relative to the link capacity. +Start with small values for lower-capacity links. +Large bursts can cause buffer overruns and packet drops if routers have small +buffers or the link is experiencing congestion. .It Va rfc3042 Enable the Limited Transmit algorithm as described in RFC 3042. It helps avoid timeouts on lossy links and also when the congestion window |