diff options
Diffstat (limited to 'Documentation/networking/ip-sysctl.txt')
-rw-r--r-- | Documentation/networking/ip-sysctl.txt | 53 |
1 files changed, 13 insertions, 40 deletions
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt index dc2dc87d2557..f98ca633b528 100644 --- a/Documentation/networking/ip-sysctl.txt +++ b/Documentation/networking/ip-sysctl.txt | |||
@@ -29,7 +29,7 @@ route/max_size - INTEGER | |||
29 | neigh/default/gc_thresh1 - INTEGER | 29 | neigh/default/gc_thresh1 - INTEGER |
30 | Minimum number of entries to keep. Garbage collector will not | 30 | Minimum number of entries to keep. Garbage collector will not |
31 | purge entries if there are fewer than this number. | 31 | purge entries if there are fewer than this number. |
32 | Default: 256 | 32 | Default: 128 |
33 | 33 | ||
34 | neigh/default/gc_thresh3 - INTEGER | 34 | neigh/default/gc_thresh3 - INTEGER |
35 | Maximum number of neighbor entries allowed. Increase this | 35 | Maximum number of neighbor entries allowed. Increase this |
@@ -175,14 +175,6 @@ tcp_congestion_control - STRING | |||
175 | is inherited. | 175 | is inherited. |
176 | [see setsockopt(listenfd, SOL_TCP, TCP_CONGESTION, "name" ...) ] | 176 | [see setsockopt(listenfd, SOL_TCP, TCP_CONGESTION, "name" ...) ] |
177 | 177 | ||
178 | tcp_cookie_size - INTEGER | ||
179 | Default size of TCP Cookie Transactions (TCPCT) option, that may be | ||
180 | overridden on a per socket basis by the TCPCT socket option. | ||
181 | Values greater than the maximum (16) are interpreted as the maximum. | ||
182 | Values greater than zero and less than the minimum (8) are interpreted | ||
183 | as the minimum. Odd values are interpreted as the next even value. | ||
184 | Default: 0 (off). | ||
185 | |||
186 | tcp_dsack - BOOLEAN | 178 | tcp_dsack - BOOLEAN |
187 | Allows TCP to send "duplicate" SACKs. | 179 | Allows TCP to send "duplicate" SACKs. |
188 | 180 | ||
@@ -190,7 +182,9 @@ tcp_early_retrans - INTEGER | |||
190 | Enable Early Retransmit (ER), per RFC 5827. ER lowers the threshold | 182 | Enable Early Retransmit (ER), per RFC 5827. ER lowers the threshold |
191 | for triggering fast retransmit when the amount of outstanding data is | 183 | for triggering fast retransmit when the amount of outstanding data is |
192 | small and when no previously unsent data can be transmitted (such | 184 | small and when no previously unsent data can be transmitted (such |
193 | that limited transmit could be used). | 185 | that limited transmit could be used). Also controls the use of |
186 | Tail loss probe (TLP) that converts RTOs occuring due to tail | ||
187 | losses into fast recovery (draft-dukkipati-tcpm-tcp-loss-probe-01). | ||
194 | Possible values: | 188 | Possible values: |
195 | 0 disables ER | 189 | 0 disables ER |
196 | 1 enables ER | 190 | 1 enables ER |
@@ -198,7 +192,9 @@ tcp_early_retrans - INTEGER | |||
198 | by a fourth of RTT. This mitigates connection falsely | 192 | by a fourth of RTT. This mitigates connection falsely |
199 | recovers when network has a small degree of reordering | 193 | recovers when network has a small degree of reordering |
200 | (less than 3 packets). | 194 | (less than 3 packets). |
201 | Default: 2 | 195 | 3 enables delayed ER and TLP. |
196 | 4 enables TLP only. | ||
197 | Default: 3 | ||
202 | 198 | ||
203 | tcp_ecn - INTEGER | 199 | tcp_ecn - INTEGER |
204 | Control use of Explicit Congestion Notification (ECN) by TCP. | 200 | Control use of Explicit Congestion Notification (ECN) by TCP. |
@@ -229,36 +225,13 @@ tcp_fin_timeout - INTEGER | |||
229 | Default: 60 seconds | 225 | Default: 60 seconds |
230 | 226 | ||
231 | tcp_frto - INTEGER | 227 | tcp_frto - INTEGER |
232 | Enables Forward RTO-Recovery (F-RTO) defined in RFC4138. | 228 | Enables Forward RTO-Recovery (F-RTO) defined in RFC5682. |
233 | F-RTO is an enhanced recovery algorithm for TCP retransmission | 229 | F-RTO is an enhanced recovery algorithm for TCP retransmission |
234 | timeouts. It is particularly beneficial in wireless environments | 230 | timeouts. It is particularly beneficial in networks where the |
235 | where packet loss is typically due to random radio interference | 231 | RTT fluctuates (e.g., wireless). F-RTO is sender-side only |
236 | rather than intermediate router congestion. F-RTO is sender-side | 232 | modification. It does not require any support from the peer. |
237 | only modification. Therefore it does not require any support from | 233 | |
238 | the peer. | 234 | By default it's enabled with a non-zero value. 0 disables F-RTO. |
239 | |||
240 | If set to 1, basic version is enabled. 2 enables SACK enhanced | ||
241 | F-RTO if flow uses SACK. The basic version can be used also when | ||
242 | SACK is in use though scenario(s) with it exists where F-RTO | ||
243 | interacts badly with the packet counting of the SACK enabled TCP | ||
244 | flow. | ||
245 | |||
246 | tcp_frto_response - INTEGER | ||
247 | When F-RTO has detected that a TCP retransmission timeout was | ||
248 | spurious (i.e, the timeout would have been avoided had TCP set a | ||
249 | longer retransmission timeout), TCP has several options what to do | ||
250 | next. Possible values are: | ||
251 | 0 Rate halving based; a smooth and conservative response, | ||
252 | results in halved cwnd and ssthresh after one RTT | ||
253 | 1 Very conservative response; not recommended because even | ||
254 | though being valid, it interacts poorly with the rest of | ||
255 | Linux TCP, halves cwnd and ssthresh immediately | ||
256 | 2 Aggressive response; undoes congestion control measures | ||
257 | that are now known to be unnecessary (ignoring the | ||
258 | possibility of a lost retransmission that would require | ||
259 | TCP to be more cautious), cwnd and ssthresh are restored | ||
260 | to the values prior timeout | ||
261 | Default: 0 (rate halving based) | ||
262 | 235 | ||
263 | tcp_keepalive_time - INTEGER | 236 | tcp_keepalive_time - INTEGER |
264 | How often TCP sends out keepalive messages when keepalive is enabled. | 237 | How often TCP sends out keepalive messages when keepalive is enabled. |