You are not logged in.
Pages: 1
recently I've been playing with TCP stack in the kernel, and found an option that could give the same low latency response as in windows (especially if you compare firefox on windows and on linux)
sysctl net.ipv4.tcp_low_latency = 1
now tcp connections seem to be established a bit faster
do you also have some nice tips on tuning the TCP stack?
Offline
I add the following tweaks to my linux boxes:
echo 2097136 > /proc/sys/net/core/rmem_max
echo 2097136 > /proc/sys/net/core/wmem_max
echo 524284 > /proc/sys/net/core/rmem_default
echo 524284 > /proc/sys/net/core/wmem_default
echo "4096 87380 2097136" > /proc/sys/net/ipv4/tcp_rmem
echo "4096 65536 2097136" > /proc/sys/net/ipv4/tcp_wmem
echo 1 > /proc/sys/net/ipv4/tcp_low_latency
Some information about tcp/ip tuning can be found here:
http://www-didc.lbl.gov/TCP-tuning/linux.html
and
http://ipsysctl-tutorial.frozentux.net/ … ables.html
Offline
interesting, i might give these a go too. thx for a good hint on what to do today, hooray!
I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell
Offline
Pages: 1