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 59F43528D9 for ; Tue, 7 Jun 2005 16:40:45 -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 48784-04 for ; Tue, 7 Jun 2005 19:40:40 +0000 (GMT) Received: from brmea-mail-4.sun.com (brmea-mail-4.Sun.COM [192.18.98.36]) by svr1.postgresql.org (Postfix) with ESMTP id 546755283C for ; Tue, 7 Jun 2005 16:40:36 -0300 (ADT) Received: from phys-bur-1 ([129.148.9.72]) by brmea-mail-4.sun.com (8.12.10/8.12.9) with ESMTP id j57Jebau001283 for ; Tue, 7 Jun 2005 13:40:38 -0600 (MDT) Received: from conversion-daemon.bur-mail1.east.sun.com by bur-mail1.east.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <0IHQ00201BUEM7@bur-mail1.east.sun.com> (original mail from Donald.Courtney@Sun.COM) for pgsql-performance@postgresql.org; Tue, 07 Jun 2005 15:40:37 -0400 (EDT) Received: from [129.148.184.34] (gyama.East.Sun.COM [129.148.184.34]) by bur-mail1.east.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTPA id <0IHQ003CIBZO18@bur-mail1.east.sun.com> for pgsql-performance@postgresql.org; Tue, 07 Jun 2005 15:40:37 -0400 (EDT) Date: Tue, 07 Jun 2005 15:38:30 -0400 From: Donald Courtney Subject: Re: Postgresql on an AMD64 machine In-reply-to: Cc: pgsql-performance@postgresql.org Message-id: <42A5F7B6.20502@sun.com> Organization: Sun Microsystems MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7) Gecko/20041221 References: <1118080420.1644.23.camel@penguin1> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200506/145 X-Sequence-Number: 12782 Get FATAL when starting up (64 bit) with large shared_buffers setting I built a 64 bit for Sparc/Solaris easily but I found that the startup of postmaster generates a FATAL diagnostic due to going over the 2GB limit (3.7 GB). When building for 64 bit is there some other things that must change in order to size UP the shared_buffers? Thanks. Don C. P.S. A severe checkpoint problem I was having was fixed with "checkpoint_segments=200". Message: FATAL: 460000 is outside the valid range for parameter "shared_buffers" (16 .. 262143) LOG: database system was shut down at 2005-06-07 15:20:28 EDT Mike Rylander wrote: >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. After reading the >>documentation I adjusted the semaphore settings in the kernel to allow >>Postgresql to start successfully. With this configuration running if I >>do a ipcs -u i get the following. >> >> > > >On my HP-585, 4xOpteron, 16G RAM, Gentoo Linux (2.6.9): > >$ ipcs -u i > >------ Shared Memory Status -------- >segments allocated 1 >pages allocated 34866 >pages resident 31642 >pages swapped 128 >Swap performance: 0 attempts 0 successes > >------ Semaphore Status -------- >used arrays = 7 >allocated semaphores = 119 > >------ Messages: Status -------- >allocated queues = 0 >used headers = 0 >used space = 0 bytes > > >Did you perhaps disable spinlocks when compiling PG? > > >