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 1879232B17C for ; Thu, 21 Oct 2004 14:55:20 +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 23358-04 for ; Thu, 21 Oct 2004 13:55:14 +0000 (GMT) Received: from mail.osdl.org (fw.osdl.org [65.172.181.6]) by svr1.postgresql.org (Postfix) with ESMTP id 2E2D032A263 for ; Thu, 21 Oct 2004 14:55:15 +0100 (BST) Received: (from markw@localhost) by mail.osdl.org (8.11.6/8.11.6) id i9LDswG02355; Thu, 21 Oct 2004 06:54:58 -0700 Date: Thu, 21 Oct 2004 06:54:58 -0700 From: Mark Wong To: Manfred Spraul Cc: Tom Lane , neilc@samurai.com, pgsql-performance@postgresql.org Subject: Re: futex results with dbt-3 Message-ID: <20041021065458.A5580@osdl.org> References: <417221B5.1050704@colorfullife.com> <20151.1098222733@sss.pgh.pa.us> <417697A5.1050600@colorfullife.com> <7178.1098292535@sss.pgh.pa.us> <4176A2C1.3070205@colorfullife.com> <20041020150528.B7838@osdl.org> <41774D11.1030906@colorfullife.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="sdtB3X0nJg68CQEu" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <41774D11.1030906@colorfullife.com>; from manfred@colorfullife.com on Thu, Oct 21, 2004 at 07:45:53AM +0200 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/350 X-Sequence-Number: 8826 --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Oct 21, 2004 at 07:45:53AM +0200, Manfred Spraul wrote: > Mark Wong wrote: > > >Here are some other details, per Manfred's request: > > > >Linux 2.6.8.1 (on a gentoo distro) > > > > > How complicated are Tom's test scripts? His immediate reply was that I > should retest with Fedora, to rule out any gentoo bugs. > > I have a dual-cpu system with RH FC, I could use it for testing. > Pretty, simple. One to load the database, and 1 to query it. I'll attach them. Mark --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="test_createscript.sql" drop table test_data; create table test_data(f1 int); insert into test_data values (random() * 100); insert into test_data select random() * 100 from test_data; insert into test_data select random() * 100 from test_data; insert into test_data select random() * 100 from test_data; insert into test_data select random() * 100 from test_data; insert into test_data select random() * 100 from test_data; insert into test_data select random() * 100 from test_data; insert into test_data select random() * 100 from test_data; insert into test_data select random() * 100 from test_data; insert into test_data select random() * 100 from test_data; insert into test_data select random() * 100 from test_data; insert into test_data select random() * 100 from test_data; insert into test_data select random() * 100 from test_data; insert into test_data select random() * 100 from test_data; insert into test_data select random() * 100 from test_data; insert into test_data select random() * 100 from test_data; insert into test_data select random() * 100 from test_data; create index test_index on test_data(f1); vacuum verbose analyze test_data; checkpoint; --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="test_script.sql" -- force nestloop indexscan plan set enable_seqscan to 0; set enable_mergejoin to 0; set enable_hashjoin to 0; explain select count(*) from test_data a, test_data b, test_data c where a.f1 = b.f1 and b.f1 = c.f1; select count(*) from test_data a, test_data b, test_data c where a.f1 = b.f1 and b.f1 = c.f1; --sdtB3X0nJg68CQEu--