[wellylug] Telstra Clear performance: (WAS: broadband recommendations, etc).
Donald Gordon
don at dis.org.nz
Wed Sep 12 22:03:21 NZST 2007
Bruce Hoult wrote:
> That's about what I get on single streams from the USA (which it
> probably is, given lack of peering .. did you check with mtr?)
>
> I can max my 4 Mbps cable out with international traffic pretty much
> any time I want, if I use 3 or 4 streams.
>
I can do it with one TCP stream (from Missouri), if I tune the TCP
stacks at both ends. Relevant magic is:
donald at pseudopolis:~$ cat /etc/sysctl.conf
# increase TCP max buffer size
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
# increase Linux autotuning TCP buffer limits
# min, default, and max number of bytes to use
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
Then run "sysctl -p". And avoid port 80, as that goes through the evil
transparent proxy which doesn't seem to be able to cope with more than
about 80kbytes/s over that sort of distance. I tell my apache to listen
on a nonstandard port to get around this.
donald
More information about the wellylug
mailing list