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 3E9CE528A7 for ; Mon, 6 Jun 2005 18:15:37 -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 01828-07 for ; Mon, 6 Jun 2005 21:15:27 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 53D8B5289E for ; Mon, 6 Jun 2005 18:15:26 -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 j56LFLKc022888; Mon, 6 Jun 2005 17:15:21 -0400 (EDT) To: Mike Rylander Cc: Mark Rinaudo , pgsql-performance@postgresql.org Subject: Re: Postgresql on an AMD64 machine In-reply-to: References: <1118080420.1644.23.camel@penguin1> Comments: In-reply-to Mike Rylander message dated "Mon, 06 Jun 2005 16:59:21 -0400" Date: Mon, 06 Jun 2005 17:15:21 -0400 Message-ID: <22887.1118092521@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/136 X-Sequence-Number: 12773 Mike Rylander writes: > On 06 Jun 2005 12:53:40 -0500, Mark Rinaudo wrote: >> I'm not sure if this is the appropriate list to post this question to >> but i'm starting with this one because it is related to the performance >> of Postgresql server. I have a Penguin Computing dual AMD 64 bit >> opteron machine with 8 Gigs of memory. In my attempt to increase the >> number of shared_buffers from the default to 65000 i was running into a >> semget error when trying to start Postgresql. > Did you perhaps disable spinlocks when compiling PG? That sure looks like it must be the issue --- in a normal build the number of semaphores needed does not vary with shared_buffers, but it will if Postgres is falling back to semaphore-based spinlocks. Which is a really bad idea from a performance standpoint, so you want to fix the build. Which PG version is this exactly, and what configure options did you use? What compiler was used? regards, tom lane