From: Anh Ky Huynh <xkyanh@gmail.com>
To: RBN <rbn.ggl@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Filesystem and PG configuration
Date: Sat, 5 Jun 2010 08:53:40 +0700
Message-ID: <20100605085340.76006e62@icy.localdomain> (raw)
In-Reply-To: <AANLkTimm49eoGIF44cy9FU1-OcXe6ekPNbzlQ6jHl__n@mail.gmail.com>
References: <AANLkTimm49eoGIF44cy9FU1-OcXe6ekPNbzlQ6jHl__n@mail.gmail.com>
On Fri, 4 Jun 2010 11:25:55 -0400
RBN <rbn.ggl@gmail.com> wrote:
> Can someone suggest some appropriate initial configuration
> parameters and shared memory settings for the following hardware?
>
> I'm running Debian on a Dell with 4x6 core CPU and 128GB memory and
> writing to a coraid with 9 x 32GB SSDs RAID 10 using jfs with 8
> drives active and 1 as spare.
>
> I'm considering changing to xfs. I'm not sure what block size to
> use for the file system, is 8192 appropriate? The OS page size is
> 4096.
>
> The database is both write and read intensive, with about 750MB of
> new data added per week and old deleted every six months to one
> year.
A good start:
Tuning: http://www.westnet.com/~gsmith/content/postgresql/pgbench-scaling.htm
Benchmark: http://edoceo.com/liber/db-postgresql-benchmark
Here's my benchmark on `m1.medium` instance of Amazon EC2:
http://gx.viettug.org/zen/kyanh/jobs/pgbench0.jpg.html
Good luck,
--
Anh Ky Huynh
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-admin@postgresql.org
Cc: xkyanh@gmail.com, rbn.ggl@gmail.com
Subject: Re: Filesystem and PG configuration
In-Reply-To: <20100605085340.76006e62@icy.localdomain>
* 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