dslreports logo
site
spacer

spacer
 
    All FAQs Site FAQ DSL FAQ Cable Tech About DSL Distance DSL Hurdles »»
spc

spacer




how-to block ads



These settings substantially speed up linux as a client to a shared satellite connection.

Two way system:

Place the following in /etc/rc.local or /etc/boot.local depending on your linux distribution.

echo 224360 >> /proc/sys/net/core/rmem_default
echo 224360 >> /proc/sys/net/core/rmem_max
echo 64 >> /proc/sys/net/ipv4/ip_default_ttl
echo 0 >> /proc/sys/net/ipv4/tcp_timestamps
echo 1 >> /proc/sys/net/ipv4/tcp_sack
echo 1 >> /proc/sys/net/ipv4/tcp_window_scaling
ifconfig eth0 mtu 1460

Note:
Try these settings first. If you find that your download speeds are at or over 1,500kbs with these settings, then change 224360 to 474280, so that you can get the full download speed potential available to you. If your speeds are ALWAYS below 1,500kbs, raising your rmem any higher than 224360 won't help, and may actually hurt your connection speed. Some people have also gotten better download speeds with a MTU of 1500 rather than 1460


One way system:

Place the following in /etc/rc.local or /etc/boot.local depending on your linux distribution.

echo 134900 >> /proc/sys/net/core/rmem_default
echo 134900 >> /proc/sys/net/core/rmem_max
echo 64 >> /proc/sys/net/ipv4/ip_default_ttl
echo 0 >> /proc/sys/net/ipv4/tcp_timestamps
echo 1 >> /proc/sys/net/ipv4/tcp_sack
echo 1 >> /proc/sys/net/ipv4/tcp_window_scaling
ifconfig eth0 mtu 1460

Note:
Some people have also gotten better download speeds with a MTU of 1500 rather than 1460


Expand got feedback?

by celtictiger See Profile edited by seagreen See Profile
last modified: 2002-11-26 15:20:45