* [PATCH 2/2] Update documented default values for various TCP/UDP tunables
@ 2011-06-22 7:18 ` Max Matveev
0 siblings, 0 replies; 6+ messages in thread
From: Max Matveev @ 2011-06-22 7:18 UTC (permalink / raw)
To: linux-sctp; +Cc: netdev
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.
Signed-off-by: Max Matveev <makc@redhat.com>
---
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 f37d374..387ee53 100644
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-sysctl.txt
@@ -394,7 +394,7 @@ tcp_rmem - vector of 3 INTEGERs: min, default, max
min: Minimal size of receive buffer used by TCP sockets.
It is guaranteed to each TCP socket, even under moderate memory
pressure.
- Default: 8K
+ Default: 1 page
default: initial size of receive buffer used by TCP sockets.
This value overrides net.core.rmem_default used by other protocols.
@@ -483,7 +483,7 @@ tcp_window_scaling - BOOLEAN
tcp_wmem - vector of 3 INTEGERs: min, default, max
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.
- Default: 4K
+ Default: 1 page
default: initial size of send buffer used by TCP sockets. This
value overrides net.core.wmem_default used by other protocols.
@@ -553,13 +553,13 @@ udp_rmem_min - INTEGER
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
total pages of UDP sockets exceed udp_mem pressure. The unit is byte.
- Default: 4096
+ Default: 1 page
udp_wmem_min - INTEGER
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
total pages of UDP sockets exceed udp_mem pressure. The unit is byte.
- Default: 4096
+ Default: 1 page
CIPSOv4 Variables:
--
1.7.3.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] Update documented default values for various TCP/UDP tunables
@ 2011-06-22 7:18 ` Max Matveev
0 siblings, 0 replies; 6+ messages in thread
From: Max Matveev @ 2011-06-22 7:18 UTC (permalink / raw)
To: linux-sctp; +Cc: netdev
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.
Signed-off-by: Max Matveev <makc@redhat.com>
---
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 f37d374..387ee53 100644
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-sysctl.txt
@@ -394,7 +394,7 @@ tcp_rmem - vector of 3 INTEGERs: min, default, max
min: Minimal size of receive buffer used by TCP sockets.
It is guaranteed to each TCP socket, even under moderate memory
pressure.
- Default: 8K
+ Default: 1 page
default: initial size of receive buffer used by TCP sockets.
This value overrides net.core.rmem_default used by other protocols.
@@ -483,7 +483,7 @@ tcp_window_scaling - BOOLEAN
tcp_wmem - vector of 3 INTEGERs: min, default, max
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.
- Default: 4K
+ Default: 1 page
default: initial size of send buffer used by TCP sockets. This
value overrides net.core.wmem_default used by other protocols.
@@ -553,13 +553,13 @@ udp_rmem_min - INTEGER
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
total pages of UDP sockets exceed udp_mem pressure. The unit is byte.
- Default: 4096
+ Default: 1 page
udp_wmem_min - INTEGER
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
total pages of UDP sockets exceed udp_mem pressure. The unit is byte.
- Default: 4096
+ Default: 1 page
CIPSOv4 Variables:
--
1.7.3.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] Update documented default values for various TCP/UDP tunables
2011-06-22 7:18 ` Max Matveev
@ 2011-07-04 14:58 ` Neil Horman
-1 siblings, 0 replies; 6+ messages in thread
From: Neil Horman @ 2011-07-04 14:58 UTC (permalink / raw)
To: Max Matveev; +Cc: linux-sctp, netdev
On Wed, Jun 22, 2011 at 05:18:13PM +1000, Max Matveev wrote:
> 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.
>
> Signed-off-by: Max Matveev <makc@redhat.com>
> ---
> 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 f37d374..387ee53 100644
> --- a/Documentation/networking/ip-sysctl.txt
> +++ b/Documentation/networking/ip-sysctl.txt
> @@ -394,7 +394,7 @@ tcp_rmem - vector of 3 INTEGERs: min, default, max
> min: Minimal size of receive buffer used by TCP sockets.
> It is guaranteed to each TCP socket, even under moderate memory
> pressure.
> - Default: 8K
> + Default: 1 page
>
> default: initial size of receive buffer used by TCP sockets.
> This value overrides net.core.rmem_default used by other protocols.
> @@ -483,7 +483,7 @@ tcp_window_scaling - BOOLEAN
> tcp_wmem - vector of 3 INTEGERs: min, default, max
> 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.
> - Default: 4K
> + Default: 1 page
>
> default: initial size of send buffer used by TCP sockets. This
> value overrides net.core.wmem_default used by other protocols.
> @@ -553,13 +553,13 @@ udp_rmem_min - INTEGER
> 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
> total pages of UDP sockets exceed udp_mem pressure. The unit is byte.
> - Default: 4096
> + Default: 1 page
>
> udp_wmem_min - INTEGER
> 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
> total pages of UDP sockets exceed udp_mem pressure. The unit is byte.
> - Default: 4096
> + Default: 1 page
>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] Update documented default values for various TCP/UDP
@ 2011-07-04 14:58 ` Neil Horman
0 siblings, 0 replies; 6+ messages in thread
From: Neil Horman @ 2011-07-04 14:58 UTC (permalink / raw)
To: Max Matveev; +Cc: linux-sctp, netdev
On Wed, Jun 22, 2011 at 05:18:13PM +1000, Max Matveev wrote:
> 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.
>
> Signed-off-by: Max Matveev <makc@redhat.com>
> ---
> 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 f37d374..387ee53 100644
> --- a/Documentation/networking/ip-sysctl.txt
> +++ b/Documentation/networking/ip-sysctl.txt
> @@ -394,7 +394,7 @@ tcp_rmem - vector of 3 INTEGERs: min, default, max
> min: Minimal size of receive buffer used by TCP sockets.
> It is guaranteed to each TCP socket, even under moderate memory
> pressure.
> - Default: 8K
> + Default: 1 page
>
> default: initial size of receive buffer used by TCP sockets.
> This value overrides net.core.rmem_default used by other protocols.
> @@ -483,7 +483,7 @@ tcp_window_scaling - BOOLEAN
> tcp_wmem - vector of 3 INTEGERs: min, default, max
> 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.
> - Default: 4K
> + Default: 1 page
>
> default: initial size of send buffer used by TCP sockets. This
> value overrides net.core.wmem_default used by other protocols.
> @@ -553,13 +553,13 @@ udp_rmem_min - INTEGER
> 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
> total pages of UDP sockets exceed udp_mem pressure. The unit is byte.
> - Default: 4096
> + Default: 1 page
>
> udp_wmem_min - INTEGER
> 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
> total pages of UDP sockets exceed udp_mem pressure. The unit is byte.
> - Default: 4096
> + Default: 1 page
>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] Update documented default values for various TCP/UDP tunables
2011-06-22 7:18 ` Max Matveev
@ 2011-07-05 1:36 ` Shan Wei
-1 siblings, 0 replies; 6+ messages in thread
From: Shan Wei @ 2011-07-05 1:36 UTC (permalink / raw)
To: Max Matveev; +Cc: linux-sctp, netdev
Max Matveev wrote, at 06/22/2011 03:18 PM:
> 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.
>
> Signed-off-by: Max Matveev <makc@redhat.com>
Reviewed-by: Shan Wei <shanwei@cn.fujitsu.com>
--
Best Regards
-----
Shan Wei
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] Update documented default values for various TCP/UDP
@ 2011-07-05 1:36 ` Shan Wei
0 siblings, 0 replies; 6+ messages in thread
From: Shan Wei @ 2011-07-05 1:36 UTC (permalink / raw)
To: Max Matveev; +Cc: linux-sctp, netdev
Max Matveev wrote, at 06/22/2011 03:18 PM:
> 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.
>
> Signed-off-by: Max Matveev <makc@redhat.com>
Reviewed-by: Shan Wei <shanwei@cn.fujitsu.com>
--
Best Regards
-----
Shan Wei
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-07-05 1:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-22 7:18 [PATCH 2/2] Update documented default values for various TCP/UDP tunables Max Matveev
2011-06-22 7:18 ` Max Matveev
2011-07-04 14:58 ` Neil Horman
2011-07-04 14:58 ` [PATCH 2/2] Update documented default values for various TCP/UDP Neil Horman
2011-07-05 1:36 ` [PATCH 2/2] Update documented default values for various TCP/UDP tunables Shan Wei
2011-07-05 1:36 ` [PATCH 2/2] Update documented default values for various TCP/UDP Shan Wei
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.