Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VoH9F-00086s-0B for pgsql-performance@arkaria.postgresql.org; Wed, 04 Dec 2013 18:26:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VoH9E-0001rG-Fz for pgsql-performance@arkaria.postgresql.org; Wed, 04 Dec 2013 18:26:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VoH9D-0001r3-My; Wed, 04 Dec 2013 18:26:07 +0000 Received: from moutng.kundenserver.de ([212.227.126.171]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VoH9A-0003nV-H7; Wed, 04 Dec 2013 18:26:07 +0000 Received: from anarazel.de (p5DDC5FC6.dip0.t-ipconnect.de [93.220.95.198]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MSa8q-1WDTWo1yQm-00RdLB; Wed, 04 Dec 2013 19:26:02 +0100 Received: by anarazel.de (Postfix, from userid 1000) id D2AB11019EF; Wed, 4 Dec 2013 19:26:01 +0100 (CET) Date: Wed, 4 Dec 2013 19:26:01 +0100 From: Andres Freund To: Metin Doslu Cc: postgres performance list , pgsql-hackers , Amit Kapila , Claudio Freire Subject: Re: [HACKERS] Parallel Select query performance and shared buffers Message-ID: <20131204182601.GF7383@awork2.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Provags-ID: V02:K0:3tsZwUN8dY2vcJsbYHnrniKC3PA1gaeVMUe76zQYxI7 smitVS87sPCekOCQDzIM8wPlWKTbSparH2DEqk3EKl6+CUE1xz WOK8mrNSj0oSiqQa2THFyxDK5OFOVSs4RSc/mhkWwZ+veMqpKT 2k6D1Wp4TaZJFDkug1Psa3Dizu5Bfiknlb04+vqZEfcsLjSc0L QOA3+fhM5Iw6sAfVgaTEuBygnZjxgxrFxnwovQamoYQEjKeC8+ BawU/jXuVgD+oTVw/JPp9nJgPF4m0wmYGoSPTIElamgaMC/L5T Q63Moq1hmEGOM1TcuchoaksQFb/kRiArBZRHUmI7FGzCWd+tw0 Z3SlqPOCokggU31Gt0nMmFkRDY7yvlF2dXdoLuuyl X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org On 2013-12-04 20:19:55 +0200, Metin Doslu wrote: > - When we increased NUM_BUFFER_PARTITIONS to 1024, this problem is > disappeared for 8 core machines and come back with 16 core machines on > Amazon EC2. Would it be related with PostgreSQL locking mechanism? You could try my lwlock-scalability improvement patches - for some workloads here, the improvements have been rather noticeable. Which version are you testing? Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance