Samstag, 24. Januar 2009

Mandrake 10 Internet very slow (<1kb/sec) while windows got 50k/sec - LinuxQuestions.org

Mandrake 10 Internet very slow (<1kb/sec) while windows got 50k/sec - LinuxQuestions.org: "k, lets see if this will work. It is always worth a try.

Become root or su.
cd into /etc/rc.d
nano, pico, emac, vi. or whatever editor you like to use. Open rc.local

scroll to the bottom of that file. and add below. touch /var/lock/subsys/local

add these lines.

echo 1 > /proc/sys/net/ipv4/tcp_timestamps
echo 1 > /proc/sys/net/ipv4/tcp_window_scaling
echo 1 > /proc/sys/net/ipv4/tcp_sack

echo 8388608 > /proc/sys/net/core/wmem_max
echo 8388608 > /proc/sys/net/core/rmem_max
echo '4096 54419 4194304' > /proc/sys/net/ipv4/tcp_rmem
echo '4096 32575 4194304' > /proc/sys/net/ipv4/tcp_wmem

this works well on the basic adsl. this will give you a RWIN of 39096. 32575 would be better. still 39096 is better then teh default 65536 or what you may have default set. Try it out and post your results

hope it works or helps"