[PATCH] tcp_mem initialization

2007-03-14 Thread John Heffner
The current tcp_mem initialization gives values that are really too small for systems with ~256-768 MB of memory, and also for systems with larger page sizes (ia64). This patch gives an alternate method of initialization that doesn't depend on the cache allocation functions, but I think should

Re: [PATCH] tcp_mem initialization

2007-03-15 Thread David Miller
From: John Heffner <[EMAIL PROTECTED]> Date: Wed, 14 Mar 2007 17:25:22 -0400 > The current tcp_mem initialization gives values that are really too > small for systems with ~256-768 MB of memory, and also for systems with > larger page sizes (ia64). This patch gives an alternate method of > ini

Re: [PATCH] tcp_mem initialization

2007-03-15 Thread John Heffner
David Miller wrote: From: John Heffner <[EMAIL PROTECTED]> Date: Wed, 14 Mar 2007 17:25:22 -0400 The current tcp_mem initialization gives values that are really too small for systems with ~256-768 MB of memory, and also for systems with larger page sizes (ia64). This patch gives an alternate

Re: [PATCH] tcp_mem initialization

2007-03-15 Thread David Miller
From: John Heffner <[EMAIL PROTECTED]> Date: Thu, 15 Mar 2007 14:39:29 -0400 > The way it's coded is somewhat opaque since it has to be done with > 32-bit integer arithmetic. These plots might help make the motivation > behind the code a little clearer. Thanks John. I was going to write a lit