Re: tcp_window_scaling degrades performance

From: Andi Kleen
Date: Thu Jul 15 2004 - 13:01:18 EST


Maciej Soltysiak <solt@xxxxxxxxxxxxxxxxx> writes:


> I have been experiencied weird problems with network throughput
> lately and I after experimenting with /proc/sys/net/ipv4 knobs
> I found that when I have tcp_window_scaling 0 I can
> get throughput from a distant server of about 600kB/s (well, 200kB/s
> is fast enough)

It's pretty easy for you to find out. Do a tcpdump -v or ethereal -v
from both the side of a host you download from and from the linux side.
Then compare all packets. If they don't match the firewall is
doing something bad. Especially check window values and TCP options
in the SYN packets

It is very very likely the firewall, window scaling works for a lot
of people.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/