Re: Auto adjust send buffer size to congention window

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Radosław Smogura <rsmogura(at)softperience(dot)eu>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Auto adjust send buffer size to congention window
Date: 2011-06-06 02:07:41
Message-ID: 1489.1307326061@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

=?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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2011-06-06 02:13:21 Re: SIREAD lock versus ACCESS EXCLUSIVE lock
Previous Message Noah Misch 2011-06-06 00:26:07 Re: Assert failure when rechecking an exclusion constraint