Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 21EB86322C7 for ; Fri, 3 Apr 2009 05:54:19 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 95182-08 for ; Fri, 3 Apr 2009 05:54:16 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp5.clear.net.nz (smtp5.clear.net.nz [203.97.33.68]) by mail.postgresql.org (Postfix) with ESMTP id 478D9632223 for ; Fri, 3 Apr 2009 05:54:15 -0300 (ADT) Received: from zmori.markir.net (121-73-165-81.dsl.telstraclear.net [121.73.165.81]) by smtp5.clear.net.nz (CLEAR Net Mail) with ESMTP id <0KHI002B0OOOAC20@smtp5.clear.net.nz> for pgsql-performance@postgresql.org; Fri, 03 Apr 2009 21:53:13 +1300 (NZDT) Date: Fri, 03 Apr 2009 21:53:12 +1300 From: Mark Kirkwood Subject: Re: Raid 10 chunksize In-reply-to: <49D321C1.1000405@paradise.net.nz> To: Scott Carey Cc: "pgsql-performance@postgresql.org" Message-id: <49D5CE78.3070200@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: <49D321C1.1000405@paradise.net.nz> User-Agent: Thunderbird 2.0.0.19 (X11/20090117) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200904/53 X-Sequence-Number: 33420 Mark Kirkwood wrote: > Rebuilt with 256K chunksize: > > transaction type: TPC-B (sort of) > scaling factor: 100 > number of clients: 24 > number of transactions per client: 12000 > number of transactions actually processed: 288000/288000 > tps = 942.852104 (including connections establishing) > tps = 943.019223 (excluding connections establishing) > Increasing checkpoint_segments to 96 and decreasing bgwriter_lru_maxpages to 100: transaction type: TPC-B (sort of) scaling factor: 100 number of clients: 24 number of transactions per client: 12000 number of transactions actually processed: 288000/288000 tps = 1219.221721 (including connections establishing) tps = 1219.501150 (excluding connections establishing) ... as suggested by Greg (actually he suggested reducing bgwriter_lru_maxpages to 0, but this seemed to be no better). Anyway, seeing quite a reasonable improvement (about 83% from where we started). It will be interesting to see how/if the improvements measured in pgbench translate into the "real" application. Thanks for all your help (particularly to both Scotts, Greg and Stef). regards Mark