Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[ADMIN] Filesystem and PG configuration

16 views
Skip to first unread message

RBN

unread,
Jun 4, 2010, 11:25:55 AM6/4/10
to


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.



Anh Ky Huynh

unread,
Jun 4, 2010, 9:53:40 PM6/4/10
to

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

--
Sent via pgsql-admin mailing list (pgsql...@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Andreas Schmitz

unread,
Jun 7, 2010, 2:31:11 AM6/7/10
to

Hi,

pgtune could be the thing you're looking for.

http://pgfoundry.org/projects/pgtune/

regards

andreas

Greg Spiegelberg

unread,
Jun 9, 2010, 2:45:09 PM6/9/10
to
On Fri, Jun 4, 2010 at 7:53 PM, Anh Ky Huynh <xky...@gmail.com> wrote:

Anh,

Were you using a EBS device in EC2 for that benchmark?

-Greg

0 new messages