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 A5C7732A772 for ; Fri, 15 Oct 2004 22:38:15 +0100 (BST) 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 77045-06 for ; Fri, 15 Oct 2004 21:37:56 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 3D20E32A5CC for ; Fri, 15 Oct 2004 22:37:55 +0100 (BST) 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 i9FLbohv026543; Fri, 15 Oct 2004 17:37:50 -0400 (EDT) To: Mark Wong Cc: Sean Chittenden , Kevin Brown , pgsql-performance@postgresql.org Subject: Re: mmap (was First set of OSDL Shared Mem scalability results, some wierdness ... In-reply-to: <20041015133947.A9225@osdl.org> References: <157f64840410141725162e43b5@mail.gmail.com> <20041015010841.GE665@filer> <0E3BB9CB-1EE6-11D9-A0BB-000A95C705DC@chittenden.org> <20041015133947.A9225@osdl.org> Comments: In-reply-to Mark Wong message dated "Fri, 15 Oct 2004 13:39:47 -0700" Date: Fri, 15 Oct 2004 17:37:50 -0400 Message-ID: <26542.1097876270@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/244 X-Sequence-Number: 8720 Mark Wong writes: > I know where the do_sigaction is coming from in this particular case. > Manfred Spraul tracked it to a pair of pgsignal calls in libpq. > Commenting out those two calls out virtually eliminates do_sigaction from > the kernel profile for this workload. Hmm, I suppose those are the ones associated with suppressing SIGPIPE during send(). It looks to me like those should go away in 8.0 if you have compiled with ENABLE_THREAD_SAFETY ... exactly how is PG being built in the current round of tests? regards, tom lane