mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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>
This commit is contained in:
parent
a6e1204b82
commit
6539fefd9b
1 changed files with 4 additions and 4 deletions
|
@ -384,7 +384,7 @@ tcp_rmem - vector of 3 INTEGERs: min, default, max
|
||||||
min: Minimal size of receive buffer used by TCP sockets.
|
min: Minimal size of receive buffer used by TCP sockets.
|
||||||
It is guaranteed to each TCP socket, even under moderate memory
|
It is guaranteed to each TCP socket, even under moderate memory
|
||||||
pressure.
|
pressure.
|
||||||
Default: 8K
|
Default: 1 page
|
||||||
|
|
||||||
default: initial size of receive buffer used by TCP sockets.
|
default: initial size of receive buffer used by TCP sockets.
|
||||||
This value overrides net.core.rmem_default used by other protocols.
|
This value overrides net.core.rmem_default used by other protocols.
|
||||||
|
@ -473,7 +473,7 @@ tcp_window_scaling - BOOLEAN
|
||||||
tcp_wmem - vector of 3 INTEGERs: min, default, max
|
tcp_wmem - vector of 3 INTEGERs: min, default, max
|
||||||
min: Amount of memory reserved for send buffers for TCP sockets.
|
min: Amount of memory reserved for send buffers for TCP sockets.
|
||||||
Each TCP socket has rights to use it due to fact of its birth.
|
Each TCP socket has rights to use it due to fact of its birth.
|
||||||
Default: 4K
|
Default: 1 page
|
||||||
|
|
||||||
default: initial size of send buffer used by TCP sockets. This
|
default: initial size of send buffer used by TCP sockets. This
|
||||||
value overrides net.core.wmem_default used by other protocols.
|
value overrides net.core.wmem_default used by other protocols.
|
||||||
|
@ -543,13 +543,13 @@ udp_rmem_min - INTEGER
|
||||||
Minimal size of receive buffer used by UDP sockets in moderation.
|
Minimal size of receive buffer used by UDP sockets in moderation.
|
||||||
Each UDP socket is able to use the size for receiving data, even if
|
Each UDP socket is able to use the size for receiving data, even if
|
||||||
total pages of UDP sockets exceed udp_mem pressure. The unit is byte.
|
total pages of UDP sockets exceed udp_mem pressure. The unit is byte.
|
||||||
Default: 4096
|
Default: 1 page
|
||||||
|
|
||||||
udp_wmem_min - INTEGER
|
udp_wmem_min - INTEGER
|
||||||
Minimal size of send buffer used by UDP sockets in moderation.
|
Minimal size of send buffer used by UDP sockets in moderation.
|
||||||
Each UDP socket is able to use the size for sending data, even if
|
Each UDP socket is able to use the size for sending data, even if
|
||||||
total pages of UDP sockets exceed udp_mem pressure. The unit is byte.
|
total pages of UDP sockets exceed udp_mem pressure. The unit is byte.
|
||||||
Default: 4096
|
Default: 1 page
|
||||||
|
|
||||||
CIPSOv4 Variables:
|
CIPSOv4 Variables:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue