Tcp Tuning for boardband ?
Hal Burgiss
hal at burgiss.net
Tue Nov 20 11:31:24 UTC 2007
On Mon, Nov 19, 2007 at 11:36:47PM -0500, Richard wrote:
>
> # Tweaks for faster broadband...
> 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
> net.ipv4.tcp_rfc1337 = 1
> net.ipv4.ip_no_pmtu_disc = 0
> net.ipv4.tcp_sack = 1
> net.ipv4.tcp_fack = 1
> net.ipv4.tcp_window_scaling = 1
> net.ipv4.tcp_timestamps = 1
> net.ipv4.tcp_ecn = 0
> net.ipv4.route.flush = 1
Some of those are the defaults anyway (visible with sysctl -a). You
can always enable them, find a speed test site do a before/after test.
--
Hal
More information about the ubuntu-users
mailing list