pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Kirkwood <markir@paradise.net.nz>
To: Scott Carey <scott@richrelevance.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Raid 10 chunksize
Date: Fri, 03 Apr 2009 21:53:12 +1300
Message-ID: <49D5CE78.3070200@paradise.net.nz> (raw)
In-Reply-To: <49D321C1.1000405@paradise.net.nz>
References: <C5F14661.3C9C%scott@richrelevance.com>
	<49D321C1.1000405@paradise.net.nz>

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



view thread (59+ messages)  latest in thread

Message-ID: <49D5CE78.3070200@paradise.net.nz>
Permalink:  ../49D5CE78.3070200@paradise.net.nz/
Also on:    postgresql.org/message-id/49D5CE78.3070200@paradise.net.nz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: markir@paradise.net.nz, scott@richrelevance.com
  Subject: Re: Raid 10 chunksize
  In-Reply-To: <49D5CE78.3070200@paradise.net.nz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox