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 9C93B329E7E for ; Sat, 16 Oct 2004 02:22:47 +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 24672-08 for ; Sat, 16 Oct 2004 01:22:35 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 38162329E43 for ; Sat, 16 Oct 2004 02:22:36 +0100 (BST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i9G1M3h03028; Fri, 15 Oct 2004 21:22:03 -0400 (EDT) From: Bruce Momjian Message-Id: <200410160122.i9G1M3h03028@candle.pha.pa.us> Subject: Re: mmap (was First set of OSDL Shared Mem scalability results, In-Reply-To: <26542.1097876270@sss.pgh.pa.us> To: Tom Lane Date: Fri, 15 Oct 2004 21:22:03 -0400 (EDT) Cc: Mark Wong , Sean Chittenden , Kevin Brown , pgsql-performance@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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/249 X-Sequence-Number: 8725 Tom Lane wrote: > 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? Yes, those calls are gone in 8.0 with --enable-thread-safety and were added specifically because of Manfred's reports. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073