X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D1D0D5289A for ; Tue, 7 Jun 2005 18:11:33 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 68847-06 for ; Tue, 7 Jun 2005 21:11:28 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 07B5C52899 for ; Tue, 7 Jun 2005 18:11:27 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j57LBTwi018286; Tue, 7 Jun 2005 17:11:29 -0400 (EDT) To: Alvaro Herrera Cc: Donald Courtney , Tom Arthurs , pgsql-performance@postgresql.org Subject: Re: Postgresql on an AMD64 machine In-reply-to: <20050607202755.GA28361@surnet.cl> References: <1118080420.1644.23.camel@penguin1> <42A5F7B6.20502@sun.com> <42A5FB70.8090807@jobflash.com> <42A6014C.30108@sun.com> <20050607202755.GA28361@surnet.cl> Comments: In-reply-to Alvaro Herrera message dated "Tue, 07 Jun 2005 16:27:55 -0400" Date: Tue, 07 Jun 2005 17:11:29 -0400 Message-ID: <18285.1118178689@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/152 X-Sequence-Number: 12789 Alvaro Herrera writes: > This was the standard wisdom with releases previous to 8.0; I'm not sure > if anyone confirmed to still hold after the buffer manager changes in > 8.0 and later in 8.1 -- we saw extensive redesign of the bufmgr on both, > so the behavior may have changed. If you wanna test, I'm sure lots of > people here will be interested in the results. Quite. The story at the moment is that we haven't bothered to create support for shared memory exceeding 2Gb, because there's never been any evidence that pushing shared_buffers up even close to that, much less above it, was a good idea. Most people have found the "sweet spot" to be in the range of 10K to 50K shared buffers, with performance dropping off above that. Obviously we'd be willing to do this work if there were convincing evidence it'd be worth the time. A benchmark showing performance continuing to climb with increasing shared_buffers right up to the 2Gb limit would be reasonably convincing. I think there is 0 chance of drawing such a graph with a pre-8.1 server, because of internal inefficiencies in the buffer manager ... but with CVS tip the story might be different. regards, tom lane