diff options
author | Max Matveev <makc@redhat.com> | 2011-06-21 17:18:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-04 22:14:09 -0400 |
commit | 6539fefd9bec5faf948b03aec9f9078691d0be6b (patch) | |
tree | 0c3f9edbce15ae4b03a975b73e867ac9f0be8cdc /Documentation/networking | |
parent | a6e1204b82d3e8d7ba1baca35bdb595c722105eb (diff) |
Update documented default values for various TCP/UDP tunables
tcp_rmem and tcp_wmem use 1 page as default value for the minimum
amount of memory to be used, same as udp_wmem_min and udp_rmem_min.
Pages are different size on different architectures - use the right
units when describing the defaults.
Reviewed-by: Shan Wei <shanwei@cn.fujitsu.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Max Matveev <makc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/ip-sysctl.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt index 1a6de5b52273..e3df1191e717 100644 --- a/Documentation/networking/ip-sysctl.txt +++ b/Documentation/networking/ip-sysctl.txt | |||
@@ -384,7 +384,7 @@ tcp_rmem - vector of 3 INTEGERs: min, default, max | |||
384 | min: Minimal size of receive buffer used by TCP sockets. | 384 | min: Minimal size of receive buffer used by TCP sockets. |
385 | It is guaranteed to each TCP socket, even under moderate memory | 385 | It is guaranteed to each TCP socket, even under moderate memory |
386 | pressure. | 386 | pressure. |
387 | Default: 8K | 387 | Default: 1 page |
388 | 388 | ||
389 | default: initial size of receive buffer used by TCP sockets. | 389 | default: initial size of receive buffer used by TCP sockets. |
390 | This value overrides net.core.rmem_default used by other protocols. | 390 | This value overrides net.core.rmem_default used by other protocols. |
@@ -473,7 +473,7 @@ tcp_window_scaling - BOOLEAN | |||
473 | tcp_wmem - vector of 3 INTEGERs: min, default, max | 473 | tcp_wmem - vector of 3 INTEGERs: min, default, max |
474 | min: Amount of memory reserved for send buffers for TCP sockets. | 474 | min: Amount of memory reserved for send buffers for TCP sockets. |
475 | Each TCP socket has rights to use it due to fact of its birth. | 475 | Each TCP socket has rights to use it due to fact of its birth. |
476 | Default: 4K | 476 | Default: 1 page |
477 | 477 | ||
478 | default: initial size of send buffer used by TCP sockets. This | 478 | default: initial size of send buffer used by TCP sockets. This |
479 | value overrides net.core.wmem_default used by other protocols. | 479 | value overrides net.core.wmem_default used by other protocols. |
@@ -543,13 +543,13 @@ udp_rmem_min - INTEGER | |||
543 | Minimal size of receive buffer used by UDP sockets in moderation. | 543 | Minimal size of receive buffer used by UDP sockets in moderation. |
544 | Each UDP socket is able to use the size for receiving data, even if | 544 | Each UDP socket is able to use the size for receiving data, even if |
545 | total pages of UDP sockets exceed udp_mem pressure. The unit is byte. | 545 | total pages of UDP sockets exceed udp_mem pressure. The unit is byte. |
546 | Default: 4096 | 546 | Default: 1 page |
547 | 547 | ||
548 | udp_wmem_min - INTEGER | 548 | udp_wmem_min - INTEGER |
549 | Minimal size of send buffer used by UDP sockets in moderation. | 549 | Minimal size of send buffer used by UDP sockets in moderation. |
550 | Each UDP socket is able to use the size for sending data, even if | 550 | Each UDP socket is able to use the size for sending data, even if |
551 | total pages of UDP sockets exceed udp_mem pressure. The unit is byte. | 551 | total pages of UDP sockets exceed udp_mem pressure. The unit is byte. |
552 | Default: 4096 | 552 | Default: 1 page |
553 | 553 | ||
554 | CIPSOv4 Variables: | 554 | CIPSOv4 Variables: |
555 | 555 | ||