X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id C7A249FA5FB for ; Wed, 14 Jun 2006 18:25:33 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 74429-04 for ; Wed, 14 Jun 2006 18:25:23 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from davinci.ethosmedia.com (server227.ethosmedia.com [209.128.84.227]) by postgresql.org (Postfix) with ESMTP id B77C49FA3D7 for ; Wed, 14 Jun 2006 18:25:24 -0300 (ADT) X-EthosMedia-Virus-Scanned: no infections found Received: from [64.81.245.111] (account josh@agliodbs.com HELO [192.168.1.27]) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 9585510; Wed, 14 Jun 2006 14:28:36 -0700 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: pgsql-performance@postgresql.org Subject: Re: Solaris shared_buffers anomaly? Date: Wed, 14 Jun 2006 14:25:04 -0700 User-Agent: KMail/1.8 Cc: "Jim C. Nasby" , Mischa Sandberg References: <1150151282.14661.42.camel@tigger> <448F51DE.2070604@ca.sophos.com> <20060614033539.GY34196@pervasive.com> In-Reply-To: <20060614033539.GY34196@pervasive.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606141425.04600.josh@agliodbs.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/277 X-Sequence-Number: 19634 Folks, First off, you'll be glad to know that I've persuaded two of the Sun performance engineers to join this list soon. So you should be able to get more difinitive answers to these questions. Second, 7.4 still did linear scanning of shared_buffers as part of LRU and for other activities. I don't know how that would cause swapping, but it certainly could cause dramatic slowdowns (like 2-5x) if you overallocated shared_buffers. Possibly this is also triggering a bug in Solaris 2.6. 2.6 is pretty darned old (1997); maybe you should upgrade? We're testing with s_b set to 300,000 on Solaris 10 (Niagara) so this is obviously not a current Solaris issue. -- --Josh Josh Berkus PostgreSQL @ Sun San Francisco