Re: 2.6.17 regression: Very slow net transfer from some hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Drake wrote:
Stephen Hemminger wrote:
Turn off TCP window scaling, your performance will be limited but about
as good as you can get with a corrupting firewall in between.

[snip]

For anyone else interested, the ISP is NTL (UK). The fix:

    echo "4096    16384   131072 " > /proc/sys/net/ipv4/tcp_wmem
    echo "4096    87380   174760 " > /proc/sys/net/ipv4/tcp_rmem

For the record, I think Stephen's suggested workaround is better:

echo 0 > /proc/sys/net/ipv4/tcp_window_scaling

It will prevent the other end of the connection from using a window scale, so it "fixes" both directions of the connection, not just receiving.

Thanks,
  -John
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux