>> Robert Iakobashvili wrote: >> > Vanilla 2.6.18.3 works for me perfectly, whereas 2.6.19.5 and >> > 2.6.20.6 do not. >> > >> > Looking into the tcp /proc entries of 2.6.18.3 versus 2.6.19.5 >> > tcp_rmem and tcp_wmem are the same, whereas tcp_mem are >> > much different: >> > >> > kernel tcp_mem >> > --------------------------------------- >> > 2.6.18.3 12288 16384 24576 >> > 2.6.19.5 3072 4096 6144 > >> Another patch that went in right around that time: >> >> commit 52bf376c63eebe72e862a1a6e713976b038c3f50 >> Author: John Heffner <[EMAIL PROTECTED]> >> Date: Tue Nov 14 20:25:17 2006 -0800 >> >> [TCP]: Fix up sysctl_tcp_mem initialization. >> (This has been changed again for 2.6.21.) >>
Yes, this difference is caused by the commit above. The current net-2.6 (2.6.21) has a redesigned tcp_mem initialization that should give you more appropriate values, something like 45408 60546 90816. For reference: Commit: 53cdcc04c1e85d4e423b2822b66149b6f2e52c2c Author: John Heffner <[EMAIL PROTECTED]> Fri, 16 Mar 2007 15:04:03 -0700 [TCP]: Fix tcp_mem[] initialization. Change tcp_mem initialization function. The fraction of total memory is now a continuous function of memory size, and independent of page size.
Kernels 2.6.19 and 2.6.20 series are effectively broken right now. Don't you wish to patch them? -- Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ................................................................... Navigare necesse est, vivere non est necesse ................................................................... http://curl-loader.sourceforge.net An open-source HTTP/S, FTP/S traffic generating, and web testing tool. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html