Re: [omega-g1:11110] Re: [PATCH] net: configurable sysctlparameter "net.core.tcp_lowat" for sk_stream_min_wspace()

From: David Miller
Date: Thu Sep 08 2011 - 22:18:08 EST


From: "Jun.Kondo" <jun.kondo@xxxxxxxxxxx>
Date: Fri, 09 Sep 2011 10:33:58 +0900

> - In normal situation, acquire large default transmission
> buffer value, and ensure high throughput from the
> beginning of tcp connection

You should never do this. You should use the default buffer sizes and
as a result the kernel's TCP stack automatically adjusts the send and
receive buffers in response to the link characteristics.

When you set explicit buffer sizes, this turns off the TCP stack's
auto-tuning mechanism.

Every argument made in support of your proposed feature is based upon
a false premise of one kind of another, and this is yet another example
of this.
--
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/