Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFUpx-0001T8-N6 for pgsql-hackers@arkaria.postgresql.org; Tue, 30 May 2017 00:16:37 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dFUpx-0001ju-9W for pgsql-hackers@arkaria.postgresql.org; Tue, 30 May 2017 00:16:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dFUoO-0005v8-SS for pgsql-hackers@postgresql.org; Tue, 30 May 2017 00:15:00 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dFUoL-0002AZ-LL for pgsql-hackers@postgresql.org; Tue, 30 May 2017 00:15:00 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v4U0EtX5012782 for ; Mon, 29 May 2017 20:14:55 -0400 From: Tom Lane To: pgsql-hackers@postgresql.org Subject: Re: Receive buffer size for the statistics socket In-reply-to: <27403.1494892641@sss.pgh.pa.us> References: <22173.1494788088@sss.pgh.pa.us> <27403.1494892641@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Mon, 15 May 2017 19:57:21 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12780.1496103295.1@sss.pgh.pa.us> Date: Mon, 29 May 2017 20:14:55 -0400 Message-ID: <12781.1496103295@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org I wrote: >> I propose that it'd be a good idea to try to set the stats socket's >> receive buffer size to be a minimum of, say, 100K on all platforms. >> Code for this would be analogous to what we already have in pqcomm.c >> (circa line 760) for forcing up the send buffer size, but SO_RCVBUF >> not SO_SNDBUF. > I propose committing this (less the debug logging part) to HEAD > once the beta is out, and then back-patching if it doesn't break > anything and seems to improve matters on frogmouth. That went in in 8b0b6303e. frogmouth had failed in 5 of the 23 HEAD runs it made between 4e37b3e15 and 8b0b6303e. Since then, it has shown zero failures in 50 runs. I don't know what confidence a statistician would assign to the proposition that 8b0b6303e improved things, but this is good enough for me. I'm going to go back-patch it. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers