=?utf-8?q?Rados=C5=82aw_Smogura?= <rsmogura(at)softperience(dot)eu> writes:
> I've got idea to auto adjust send buffer size to size of TCP congention
> window. Will this increase performance and in which way. I suppose throughput
> may be increased, but latency decreased. What do You think?
I think if that makes any difference at all, it would be proof that the
TCP stack on your machine was implemented by incompetents. The kernel
should already be handling such considerations.
regards, tom lane