X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 2E67911F678F for ; Fri, 7 Apr 2006 19:12:45 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 83914-02 for ; Fri, 7 Apr 2006 19:12:40 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 9BE3811F66BA for ; Fri, 7 Apr 2006 19:12:42 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k37MCdqU017238; Fri, 7 Apr 2006 18:12:39 -0400 (EDT) To: "Luke Lonergan" cc: "Gavin Hamill" , pgsql-performance@postgresql.org Subject: Re: pg 8.1.3, AIX, huge box, painfully slow. In-reply-to: References: Comments: In-reply-to "Luke Lonergan" message dated "Fri, 07 Apr 2006 15:06:48 -0700" Date: Fri, 07 Apr 2006 18:12:39 -0400 Message-ID: <17237.1144447959@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.129 required=5 tests=[AWL=0.129] X-Spam-Score: 0.129 X-Spam-Level: X-Archive-Number: 200604/163 X-Sequence-Number: 18247 "Luke Lonergan" writes: > On 4/7/06 3:02 PM, "Tom Lane" wrote: >> On the other hand, we already know that Xeons suck about as badly as >> can be on that same measure; could the pSeries really be worse? > I wouldn't be too surprised, but it sounds like it needs a test. Do we have > a test for this? Is there a contention-prone query stream that we can think > up? If you want you could install a pre-8.1 PG and then try one of the queries that we were using as test cases a year ago for spinlock investigations. I don't recall details right now but I remember having posted a pretty trivial test case that would send a multiprocessor machine into context-swap storm, which sounds a whole lot like what Gavin is seeing. I think that 8.1 ought to be relatively free of buffer-manager spinlock contention, which is why I doubt that test case would be interesting against 8.1. The interesting question is what else is he seeing contention for, if it's not the BufMgrLock? regards, tom lane