Filesystem and PG configuration

--001636c92a886f611a048835f039
Content-Type: text/plain; charset=ISO-8859-1

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.

--001636c92a886f611a048835f039
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br>Can someone suggest some appropriate initial configuration paramete=
rs and shared memory settings for the following hardware?=A0 <br><br>I'=
m running Debian on a Dell with 4x6 core CPU and 128GB memory and writing t=
o=A0 a coraid with 9 x 32GB SSDs RAID 10 using jfs with 8 drives active and=
1 as spare.=A0 <br>
<br>I'm considering changing to xfs.=A0 I'm not sure what block siz=
e to use for the file system, is 8192 appropriate?=A0 The OS page size is 4=
096.<br><br>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.<b=
r>
<br><br><br>

--001636c92a886f611a048835f039--
RBN [ Fr, 04 Juni 2010 17:25 ] [ ID #2042617 ]

Re: Filesystem and PG configuration

On Fri, 4 Jun 2010 11:25:55 -0400
RBN <rbn.ggl [at] 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-sc aling.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-admin [at] postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Anh Ky Huynh [ Sa, 05 Juni 2010 03:53 ] [ ID #2042655 ]

Re: Filesystem and PG configuration

Hi,

pgtune could be the thing you're looking for.

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

regards

andreas


RBN 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.
>
>
>


--
Sent via pgsql-admin mailing list (pgsql-admin [at] postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Andreas Schmitz [ Mo, 07 Juni 2010 08:31 ] [ ID #2042759 ]

Re: Filesystem and PG configuration

--0016363b8f0028467304889d4e56
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Jun 4, 2010 at 7:53 PM, Anh Ky Huynh <xkyanh [at] gmail.com> wrote:

>
> A good start:
>
> Tuning:
> http://www.westnet.com/~gsmith/content/postgresql/pgbench-sc aling.htm<http://www.westnet.com/%7Egsmith/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
>
>
Anh,

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

-Greg

--0016363b8f0028467304889d4e56
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Fri, Jun 4, 2010 at 7:53 PM, Anh Ky Huynh <span dir=3D"ltr"><<a href=
=3D"mailto:xkyanh [at] gmail.com">xkyanh [at] gmail.com</a>></span> wrote:<br><div=
class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"border-le=
ft: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: =
1ex;">
<div><div></div><div class=3D"h5"><br>
</div></div>A good start:<br>
<br>
Tuning: <a href=3D"http://www.westnet.com/%7Egsmith/content/postgresql/pgbe=
nch-scaling.htm" target=3D"_blank">http://www.westnet.com/~gsmith/content/p=
ostgresql/pgbench-scaling.htm</a><br>
Benchmark: <a href=3D"http://edoceo.com/liber/db-postgresql-benchmark" targ=
et=3D"_blank">http://edoceo.com/liber/db-postgresql-benchmar k</a><br>
<br>
Here's my benchmark on `m1.medium` instance of Amazon EC2:<br>
=A0 =A0 =A0 =A0<a href=3D"http://gx.viettug.org/zen/kyanh/jobs/pgbench0.jp=
g.html" target=3D"_blank">http://gx.viettug.org/zen/kyanh/jobs/pgben ch0.jpg=
..html</a><br>
<br></blockquote></div><br>Anh,<br><br>Were you using a EBS device in EC2 f=
or that benchmark?<br><br>-Greg<br><br>

--0016363b8f0028467304889d4e56--
Greg Spiegelberg [ Mi, 09 Juni 2010 20:45 ] [ ID #2042924 ]
Datenbanken » gmane.comp.db.postgresql.admin » Filesystem and PG configuration

Vorheriges Thema: BackupExec stops PostgreSQL service
Nächstes Thema: insert OS command results into a table on a remote system ?