increasing Networkspeed

Peter Garrett peter.garrett at optusnet.com.au
Mon Aug 28 08:39:51 UTC 2006


On Sun, 27 Aug 2006 19:45:19 +0200
Thilo Six <T.Six at gmx.de> wrote:

> 
> Vincent Trouilliez wrote the following on 27.08.2006 18:31:
> 
> <snip>
> > Of course I am interested.. who wouldn't ?? :-)


Hi Thilo and Vince :) 

I'm interested too - and did a bit of googling about
sysctl.conf settings for adsl2 - 2+  etc. ( see below )

> 
> OK now that you have asked... ;)
> 
> 1. /etc/sysctl.conf
> =======================================================================
> With this file you can edit your kernel directly. We want to edit the
> TCP-Buffers. per default it is quite small, which is bad for throughput.
> 
> <-----------------------------------------------
> # increase TCP max buffer size
> net.core.rmem_max = 4194304
> net.core.wmem_max = 4194304
> # increase Linux autotuning TCP buffer limits
> # min, default, and max number of bytes to use
> net.ipv4.tcp_rmem = 4096 87380 4194304
> net.ipv4.tcp_wmem = 4096 87380 4194304
> - ----------------------------------------------->

The URL I post below seems to take the view that only the receive max
actually needs changing, since the wmem appears to refer to the upstream,
which is typically much less on adsl ( the writer thinks the default here
is enough, apparently - don't ask me, I know very little about adsl... but
it made sense to me. )
> 
> you can play with this settings, just make sure the number of
> net.core.rmem_max / net.core.wmem_max and the last number in
> net.ipv4.tcp_rmem / net.ipv4.tcp_wmem are the same!

I'm not sure if this is right, according to the page I link below. See
what you think ...


http://www.aarnet.edu.au/~gdt/articles/adsl2/

Care to comment on this URL ? ( Vince might find it interesting too )
So far, I've tried the settings from that page - can't say I've noticed any
dramatic difference though ;-) (My actual downstream sync speed is usually
around 15-15.5 Mbits/sec here,, with upstream usually 831 KB/s )

Peter







More information about the ubuntu-users mailing list