Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id EF7392E345A for ; Mon, 4 Feb 2008 15:07:01 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 36653-05 for ; Mon, 4 Feb 2008 15:06:56 -0400 (AST) Received: from outmail137069.authsmtp.net (outmail137069.authsmtp.net [62.13.137.69]) by postgresql.org (Postfix) with ESMTP id 354412E347F for ; Mon, 4 Feb 2008 15:06:58 -0400 (AST) Received: from outmail128179.authsmtp.co.uk (outmail128179.authsmtp.co.uk [62.13.128.179]) by punt4.authsmtp.com (8.14.1/8.14.1/Kp) with ESMTP id m14J67vL081865; Mon, 4 Feb 2008 19:06:07 GMT Received: from [192.168.0.3] (85-211-31-42.dyn.gotadsl.co.uk [85.211.31.42]) (authenticated bits=0) by mail.authsmtp.com (8.13.8/8.13.8/Kp) with ESMTP id m14J6sQP006216; Mon, 4 Feb 2008 19:06:54 GMT Subject: Re: Benchmark Data requested From: Simon Riggs To: Luke Lonergan Cc: pgsql-performance@postgresql.org In-Reply-To: References: Content-Type: text/plain Date: Mon, 04 Feb 2008 19:07:41 +0000 Message-Id: <1202152061.4252.539.camel@ebony.site> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2 Content-Transfer-Encoding: 7bit X-Server-Quench: 596328e7-d354-11dc-9554-001185d377ca X-AuthRoute: OCdxZQATClZOTQEd DAteCiNZVAwpPBRK HVkIKg5MJUcNSQVJ NksadBtFaAFba1xT HGQLW1xEUVR7WWV/ bg4fZQBDYEtPQQZr TkxLXVBXCwUmXB0F fBhdM3lydwNEeXg+ ZE5lXT5eVUJ5d04o RVMAFmgCeGZhPDMC WUVdcx5UcAJLdhoR aVd4ByJDAzANdhEA MjUdGAoUCH11JSJe QgQEN1FabU8XF3Ym SgkfEC4zEEFt X-Authentic-SMTP: 61633235383639.squirrel.dmpriest.net.uk:787/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/10 X-Sequence-Number: 28552 On Mon, 2008-02-04 at 10:47 -0800, Luke Lonergan wrote: > Note that MonetDB/X100 does not have a SQL optimizer, they ran raw > hand-coded plans. As a consequence, these comparisons should be taken as an > "executor-executor" test and we/you should be sure that the PG planner has > generated the best possible plan. If it doesn't then I'd regard that as a performance issue in itself. > That said, we've already done the comparisons internally and they've got a > good point to make about L2 cache use and removal of unnecessary > abstractions in the executor. We've been aware of this since 2005/6 and > have been slowly working these ideas into our/PG executor. > > Bottom line: it's a good thing to work to get close to the X100/Monet > executor with a more general purpose DB. PG is a looong way from being > comparable, mostly due to poor L2 D-cache locality and I-cache thrashing in > the executor. You maybe right, but I want to see where it hurts us the most. > The only way to cure this is to work on more rows than one at a time. Do you have any results to show that's true, or are you just referring to the Cray paper? (Which used fixed length tuples and specific vector hardware). (With regard to benchmarks, I'd rather not download Monet at all. Helps avoid legal issues around did-you-look-at-the-code questions.) -- Simon Riggs 2ndQuadrant http://www.2ndQuadrant.com