Originally Posted by sej7278
it's the old tcp window scaling problem again, there's a few threads here about it, but i think this might fix it:
its essentially a bit of a stupid default that got put into the kernel around 2.6.16 (and vista i think) that means it really doesn't work well with certain router/website combinations.
WOW!!!!!! Thanks a lot - this solved the problem
In case someone wants the solution I quote from some of the threads http://inodes.org/blog/2006/09/06/tc...d-kernel-2617/
There are 2 quick fixes. First you can simply turn off windows scaling all together by doing
echo 0 > /proc/sys/net/ipv4/tcp_window_scaling
but that limits your window to 64k. Or you can limit the size of your TCP buffers back to pre 2.6.17 kernel values which means a wscale value of about 2 is used which is acceptable to most broken routers.
echo "4096 16384 131072" > /proc/sys/net/ipv4/tcp_wmem
echo "4096 87380 174760" > /proc/sys/net/ipv4/tcp_rmem
The original values would have had 4MB in the last column above which is what was allowing these massive windows
add the following two lines
net.ipv4.tcp_wmem = 4096 16384 131072
net.ipv4.tcp_rmem = 4096 87380 174760
Left by Murray on November 23rd, 2006