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 E084A329E4F for ; Tue, 19 Oct 2004 22:57:57 +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 18052-09 for ; Tue, 19 Oct 2004 21:57:47 +0000 (GMT) Received: from davinci.ethosmedia.com (server226.ethosmedia.com [209.128.84.226]) by svr1.postgresql.org (Postfix) with ESMTP id C17AA32A37B for ; Tue, 19 Oct 2004 22:57:45 +0100 (BST) Received: from [64.81.245.111] (account josh@agliodbs.com HELO temoku.sf.agliodbs.com) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 6529810; Tue, 19 Oct 2004 14:59:11 -0700 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: pgsql-performance@postgresql.org Subject: Re: futex results with dbt-3 Date: Tue, 19 Oct 2004 14:59:48 -0700 User-Agent: KMail/1.6.2 Cc: Tom Lane , Manfred Spraul , neilc@samurai.com, markw@osdl.org References: <417221B5.1050704@colorfullife.com> <20151.1098222733@sss.pgh.pa.us> In-Reply-To: <20151.1098222733@sss.pgh.pa.us> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <200410191459.48080.josh@agliodbs.com> 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/295 X-Sequence-Number: 8771 Tom, > The bigger problem here is that the SMP locking bottlenecks we are > currently seeing are *hardware* issues (AFAICT anyway). =C2=A0The only way > that futexes can offer a performance win is if they have a smarter way > of executing the basic atomic-test-and-set sequence than we do; > and if so, we could read their code and adopt that method without having > to buy into any large reorganization of our code. Well, initial results from Gavin/Neil's patch seem to indicate that, while= =20 futexes do not cure the CSStorm bug, they do lessen its effects in terms of= =20 real performance loss. --=20 --Josh Josh Berkus Aglio Database Solutions San Francisco