Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 6FF529F9F47 for ; Mon, 11 Dec 2006 21:37:21 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 32558-06 for ; Mon, 11 Dec 2006 21:37:11 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by postgresql.org (Postfix) with ESMTP id DF9BF9F931E for ; Mon, 11 Dec 2006 21:37:16 -0400 (AST) Received: from osgiliath.mathom.us ([71.246.251.8]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JA50050V0I2AR60@vms042.mailsrvcs.net> for pgsql-performance@postgresql.org; Mon, 11 Dec 2006 19:37:14 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by osgiliath.mathom.us (Postfix) with ESMTP id 6F9CF70AAC for ; Mon, 11 Dec 2006 20:37:11 -0500 (EST) Received: from osgiliath.mathom.us ([127.0.0.1]) by localhost (osgiliath.home.mathom.us [127.0.0.1]) (amavisd-new, port 10024) with LMTP id clFdZ3YBMUKu for ; Mon, 11 Dec 2006 20:37:10 -0500 (EST) Received: by osgiliath.mathom.us (Postfix, from userid 1000) id BCECF70AC7; Mon, 11 Dec 2006 20:37:09 -0500 (EST) Date: Mon, 11 Dec 2006 20:37:09 -0500 From: Michael Stone Subject: Re: New to PostgreSQL, performance considerations In-reply-to: <8a0c7af10612111422x6bdcc0c2p7cbfeb5a7b0e0374@mail.gmail.com> To: pgsql-performance@postgresql.org Mail-followup-to: pgsql-performance@postgresql.org Message-id: <20061212013706.GM16692@mathom.us> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline X-Virus-Scanned: Debian amavisd-new at mathom.us X-Pgp-Fingerprint: 53 FF 38 00 E7 DD 0A 9C 84 52 84 C5 EE DF 7C 88 References: <87u002mv49.fsf@wolfe.cbbrowne.com> <8a0c7af10612110531sbb019ck259fb16d131fdb50@mail.gmail.com> <60psaq5t94.fsf@dba2.int.libertyrms.com> <20061211173105.GH16692@mathom.us> <20061211184726.GI16692@mathom.us> <457DA782.3060506@modgraph-usa.com> <8a0c7af10612111422x6bdcc0c2p7cbfeb5a7b0e0374@mail.gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/272 X-Sequence-Number: 22328 On Mon, Dec 11, 2006 at 08:22:42PM -0200, Daniel van Ham Colchete wrote: >TEST 01: CFLAGS="-O2 -march=i686" fsync=false > >tps = 734.948620 (including connections establishing) >tps = 736.866642 (excluding connections establishing) [snip] >TEST 03: CFLAGS="-O2 -march=pentium4" fsync=false > >tps = 846.337784 (including connections establishing) >tps = 849.067017 (excluding connections establishing) Can anyone else reproduce these results? I'm on similar hardware (2.5GHz P4, 1.5G RAM) and my test results are more like this: (postgresql 8.2.0) CFLAGS=(default) tps = 527.300454 (including connections establishing) tps = 528.898671 (excluding connections establishing) tps = 517.874347 (including connections establishing) tps = 519.404970 (excluding connections establishing) tps = 534.934905 (including connections establishing) tps = 536.562150 (excluding connections establishing) CFLAGS=686 tps = 525.179375 (including connections establishing) tps = 526.801278 (excluding connections establishing) tps = 557.821136 (including connections establishing) tps = 559.602414 (excluding connections establishing) tps = 532.142941 (including connections establishing) tps = 533.740209 (excluding connections establishing) CFLAGS=pentium4 tps = 518.869825 (including connections establishing) tps = 520.394341 (excluding connections establishing) tps = 537.759982 (including connections establishing) tps = 539.402547 (excluding connections establishing) tps = 538.522198 (including connections establishing) tps = 540.200458 (excluding connections establishing) Mike Stone