aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2008-07-10 19:47:41 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-10 19:47:41 -0400
commit53025f5efd5a1c14fca75c479b11d97d9dd958a5 (patch)
tree35203f38e84a92db41ba77d92967af4f827c1b98 /Documentation
parent2ddddb98694af847f70463dbdc69aa491d9f477a (diff)
Documentation: clarify tcp_{r,w}mem sysctl docs
Fix some of the defaults and attempt to clarify some language. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/networking/ip-sysctl.txt26
1 files changed, 15 insertions, 11 deletions
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
index 277437951e4d..dc04fdd6af34 100644
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-sysctl.txt
@@ -336,7 +336,7 @@ tcp_rmem - vector of 3 INTEGERs: min, default, max
336 pressure. 336 pressure.
337 Default: 8K 337 Default: 8K
338 338
339 default: default size of receive buffer used by TCP sockets. 339 default: initial size of receive buffer used by TCP sockets.
340 This value overrides net.core.rmem_default used by other protocols. 340 This value overrides net.core.rmem_default used by other protocols.
341 Default: 87380 bytes. This value results in window of 65535 with 341 Default: 87380 bytes. This value results in window of 65535 with
342 default setting of tcp_adv_win_scale and tcp_app_win:0 and a bit 342 default setting of tcp_adv_win_scale and tcp_app_win:0 and a bit
@@ -344,8 +344,10 @@ tcp_rmem - vector of 3 INTEGERs: min, default, max
344 344
345 max: maximal size of receive buffer allowed for automatically 345 max: maximal size of receive buffer allowed for automatically
346 selected receiver buffers for TCP socket. This value does not override 346 selected receiver buffers for TCP socket. This value does not override
347 net.core.rmem_max, "static" selection via SO_RCVBUF does not use this. 347 net.core.rmem_max. Calling setsockopt() with SO_RCVBUF disables
348 Default: 87380*2 bytes. 348 automatic tuning of that socket's receive buffer size, in which
349 case this value is ignored.
350 Default: between 87380B and 4MB, depending on RAM size.
349 351
350tcp_sack - BOOLEAN 352tcp_sack - BOOLEAN
351 Enable select acknowledgments (SACKS). 353 Enable select acknowledgments (SACKS).
@@ -419,19 +421,21 @@ tcp_window_scaling - BOOLEAN
419 Enable window scaling as defined in RFC1323. 421 Enable window scaling as defined in RFC1323.
420 422
421tcp_wmem - vector of 3 INTEGERs: min, default, max 423tcp_wmem - vector of 3 INTEGERs: min, default, max
422 min: Amount of memory reserved for send buffers for TCP socket. 424 min: Amount of memory reserved for send buffers for TCP sockets.
423 Each TCP socket has rights to use it due to fact of its birth. 425 Each TCP socket has rights to use it due to fact of its birth.
424 Default: 4K 426 Default: 4K
425 427
426 default: Amount of memory allowed for send buffers for TCP socket 428 default: initial size of send buffer used by TCP sockets. This
427 by default. This value overrides net.core.wmem_default used 429 value overrides net.core.wmem_default used by other protocols.
428 by other protocols, it is usually lower than net.core.wmem_default. 430 It is usually lower than net.core.wmem_default.
429 Default: 16K 431 Default: 16K
430 432
431 max: Maximal amount of memory allowed for automatically selected 433 max: Maximal amount of memory allowed for automatically tuned
432 send buffers for TCP socket. This value does not override 434 send buffers for TCP sockets. This value does not override
433 net.core.wmem_max, "static" selection via SO_SNDBUF does not use this. 435 net.core.wmem_max. Calling setsockopt() with SO_SNDBUF disables
434 Default: 128K 436 automatic tuning of that socket's send buffer size, in which case
437 this value is ignored.
438 Default: between 64K and 4MB, depending on RAM size.
435 439
436tcp_workaround_signed_windows - BOOLEAN 440tcp_workaround_signed_windows - BOOLEAN
437 If set, assume no receipt of a window scaling option means the 441 If set, assume no receipt of a window scaling option means the