Re: [Nolug] Linux network optimizations

From: Lee S. Whatley <lee_at_whatley.org>
Date: Tue, 25 Jan 2011 20:45:22 -0600
Message-Id: <DFE0CE49-D657-4C74-A31F-3FC9AEF21B9C@whatley.org>

On Jan 25, 2011, at 8:21 PM, Petri Laihonen wrote:
> net.core.rmem_default = 524288
> net.core.rmem_max = 524288
> net.core.wmem_default = 524288
> net.core.wmem_max = 524288
> net.ipv4.tcp_wmem = 4096 87380 524288
> net.ipv4.tcp_rmem = 4096 87380 524288
> net.ipv4.tcp_mem = 524288 524288 524288

I'm curious where you got these numbers from, specifically the 524K
buffer size number. Most of the things I've read on tcp/ip
optimization suggest much larger numbers, like 16 or 32 MB (i.e.
16777216 versus 524288) for your buffer sizes. Of course that is for
1Gb and 10Gb ethernet connections. Are you looking at something like
10/100Mb home networking gear? If so I'd be curious to see the link.

> net.ipv4.tcp_window_scaling = 1

I was under the impression that window scaling was on by default on
all kernels > 2.6.16...

Thanks for passing this along!

-Lee
___________________
Nolug mailing list
nolug@nolug.org
Received on 01/25/11

This archive was generated by hypermail 2.2.0 : 01/28/11 EST