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 0D2C911F676E for ; Fri, 7 Apr 2006 18:56:53 -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 19822-07 for ; Fri, 7 Apr 2006 18:56:48 -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 59EC011F676D for ; Fri, 7 Apr 2006 18:56:50 -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 k37Lunka017056; Fri, 7 Apr 2006 17:56:49 -0400 (EDT) To: Gavin Hamill cc: pgsql-performance@postgresql.org Subject: Re: pg 8.1.3, AIX, huge box, painfully slow. In-reply-to: <20060407223635.9c4a0b38.gdh@laterooms.com> References: <20060407185823.abe93017.gdh@laterooms.com> <1144436060.32269.13.camel@state.g2switchworks.com> <20060407205919.a091da26.gdh@laterooms.com> <15772.1144440362@sss.pgh.pa.us> <20060407223635.9c4a0b38.gdh@laterooms.com> Comments: In-reply-to Gavin Hamill message dated "Fri, 07 Apr 2006 22:36:35 +0100" Date: Fri, 07 Apr 2006 17:56:49 -0400 Message-ID: <17055.1144447009@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.13 required=5 tests=[AWL=0.130] X-Spam-Score: 0.13 X-Spam-Level: X-Archive-Number: 200604/160 X-Sequence-Number: 18244 Gavin Hamill writes: > There's truss installed which seems to do the same as strace on > Linux... and here's a wildly non-scientific glance.. I watched the > 'topas' output (top for AIX) , identified a PID that was doing a lot of > work, then attached truss to that pid. In addition to lots of send > (), recv() and lseek()s... Those are good, they represent real work getting done. > about once a minute I saw hundreds of calls > to __semop() interspersed with _select(), This is not good. Did the semop storms coincide with visible slowdown? (I'd assume so, but you didn't actually say...) regards, tom lane