Re: [PATCH] set default max TCP buffers from memory pool size

2006-03-25 Thread David S. Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Fri, 24 Mar 2006 09:23:27 -0800 > We should also tag tcp_rmem/tcp_wmem as __read_mostly I've done this, thanks for the suggestion. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] Mo

Re: [PATCH] set default max TCP buffers from memory pool size

2006-03-25 Thread David S. Miller
From: John Heffner <[EMAIL PROTECTED]> Date: Fri, 24 Mar 2006 11:47:29 -0500 > This patch sets the maximum TCP buffer sizes (available to automatic buffer > tuning, not to setsockopt) based on the TCP memory pool size. The maximum > sndbuf and rcvbuf each will be up to 4 MB, but no more than 1/

Re: [PATCH] set default max TCP buffers from memory pool size

2006-03-25 Thread David S. Miller
From: Rick Jones <[EMAIL PROTECTED]> Date: Fri, 24 Mar 2006 09:45:51 -0800 > Stephen Hemminger wrote: > > We should also tag tcp_rmem/tcp_wmem as __read_mostly > > That would apply to just about all the tcp sysctl's yes? Yes, absolutely. - To unsubscribe from this list: send the line "unsubscrib

Re: [PATCH] set default max TCP buffers from memory pool size

2006-03-24 Thread Rick Jones
Stephen Hemminger wrote: On Fri, 24 Mar 2006 11:47:29 -0500 John Heffner <[EMAIL PROTECTED]> wrote: This patch sets the maximum TCP buffer sizes (available to automatic buffer tuning, not to setsockopt) based on the TCP memory pool size. The maximum sndbuf and rcvbuf each will be up to 4 MB,

Re: [PATCH] set default max TCP buffers from memory pool size

2006-03-24 Thread Stephen Hemminger
On Fri, 24 Mar 2006 11:47:29 -0500 John Heffner <[EMAIL PROTECTED]> wrote: > This patch sets the maximum TCP buffer sizes (available to automatic buffer > tuning, not to setsockopt) based on the TCP memory pool size. The maximum > sndbuf and rcvbuf each will be up to 4 MB, but no more than 1/12

[PATCH] set default max TCP buffers from memory pool size

2006-03-24 Thread John Heffner
This patch sets the maximum TCP buffer sizes (available to automatic buffer tuning, not to setsockopt) based on the TCP memory pool size. The maximum sndbuf and rcvbuf each will be up to 4 MB, but no more than 1/128 of the memory pressure threshold. Signed-off-by: John Heffner <[EMAIL PROTECTE