Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id E8C501337B83 for ; Thu, 21 Apr 2011 12:16:43 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 11413-06 for ; Thu, 21 Apr 2011 15:16:26 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from dd2030.kasserver.com (dd2030.kasserver.com [85.13.128.37]) by mail.postgresql.org (Postfix) with ESMTP id CFE891337B82 for ; Thu, 21 Apr 2011 12:16:25 -0300 (ADT) Received: from [172.26.14.62] (exit.credativ.com [87.139.82.80]) by dd2030.kasserver.com (Postfix) with ESMTPA id 47756E0137; Thu, 21 Apr 2011 17:16:24 +0200 (CEST) Date: Thu, 21 Apr 2011 17:16:23 +0200 From: Bernd Helmle To: Kevin Grittner , pgsql-jdbc@postgresql.org Subject: Re: Configurable Send/Receive Buffer Sizes Message-ID: <4367E2F169C261E772635FE8@apophis.local> In-Reply-To: <4DAFFDC2020000250003CB29@gw.wicourts.gov> References: <88D436FBC188677633204A9D@apophis.local> <4DAFFDC2020000250003CB29@gw.wicourts.gov> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201104/83 X-Sequence-Number: 21809 --On 21. April 2011 09:49:54 -0500 Kevin Grittner wrote: > Bernd Helmle wrote: > >> An interesting example is the small test program from >> >> >> >> which could be make working with the appropiate buffer settings. > >> I didn't invest any time on benchmarks, but maybe there's also >> some value in it performance-wise. > > So the primary point is to avoid deadlocks on full network buffers? > Yeah, that was the primary idea...or, well, to workaround them. You could argue that its still possible to run into those issue, but less likely. With the proper settings it didn't occur to me again, though. -- Thanks Bernd