Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id AE8E62E0332 for ; Thu, 13 Mar 2008 11:54:39 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 76351-09 for ; Thu, 13 Mar 2008 11:54:36 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail.emolecules.com (66-226-76-106.dedicated.abac.net [66.226.76.106]) by postgresql.org (Postfix) with ESMTP id 7AC7B2E0264 for ; Thu, 13 Mar 2008 11:54:36 -0300 (ADT) Received: (qmail 2248 invoked by uid 2020); 13 Mar 2008 06:54:34 -0800 Received: from wsip-68-224-174-233.sd.sd.cox.net (HELO lisa-james-computer.local) (68.224.174.233) by 192.168.0.4 with SMTP; 13 Mar 2008 06:54:34 -0800 Message-ID: <47D9402A.3050903@emolecules.com> Date: Thu, 13 Mar 2008 07:54:34 -0700 From: Craig James User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: "Joshua D. Drake" , pgsql-performance@postgresql.org Subject: Re: Benchmark: Dell/Perc 6, 8 disk RAID 10 References: <20080306060829.GA21084@a-kretschmer.de> <47CF8EA6.8070503@mark.mielke.cc> <20080306063643.GB21084@a-kretschmer.de> <3E9C3A51-C28E-4B75-9739-E344DAC72880@fastcrypt.com> <47D00DB2.7040007@emolecules.com> <18451.1204824562@sss.pgh.pa.us> <47D0AFC1.5070305@emolecules.com> <47D8B3B6.3010606@emolecules.com> <20080312225554.52f6275b@commandprompt.com> In-Reply-To: <20080312225554.52f6275b@commandprompt.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/282 X-Sequence-Number: 29236 Joshua D. Drake wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Wed, 12 Mar 2008 21:55:18 -0700 > Craig James wrote: > > >> Diffs from original configuration: >> >> max_connections = 1000 >> shared_buffers = 400MB >> work_mem = 256MB >> max_fsm_pages = 1000000 >> max_fsm_relations = 5000 >> wal_buffers = 256kB >> effective_cache_size = 4GB > > I didn't see which OS but I assume linux. I didn't see postgresql so I > assume 8.3. Right on both counts. > wal_sync_method = open_sync > checkpoint_segments = 30 > shared_buffers = 2000MB > asyncrhonous_commit = off (sp?) > > Try again. Nice improvement! About 25% increase in TPS: $ pgbench -c 10 -t 10000 -v test -U test starting vacuum...end. starting vacuum accounts...end. transaction type: TPC-B (sort of) scaling factor: 1 number of clients: 10 number of transactions per client: 10000 number of transactions actually processed: 100000/100000 tps = 3423.636423 (including connections establishing) tps = 3425.957521 (excluding connections establishing) For reference, here are the results before your suggested changes: $ pgbench -c 10 -t 10000 -v test -U test starting vacuum...end. starting vacuum accounts...end. transaction type: TPC-B (sort of) scaling factor: 1 number of clients: 10 number of transactions per client: 10000 number of transactions actually processed: 100000/100000 tps = 2786.377933 (including connections establishing) tps = 2787.888209 (excluding connections establishing) Thanks! Craig