Re: performance on new linux box - Mailing list pgsql-performance

From Tom Lane
Subject Re: performance on new linux box
Date
Msg-id 11690.1278549556@sss.pgh.pa.us
Whole thread Raw
In response to performance on new linux box  (Ryan Wexler <ryan@iridiumsuite.com>)
List pgsql-performance
Ryan Wexler <ryan@iridiumsuite.com> writes:
> Postgresql was previously running on a single cpu linux machine with 2 gigs
> of memory and a single sata drive (v8.3).  Basically a desktop with linux on
> it.  I experienced slow performance.

> So, I finally moved it to a real server.  A dually zeon centos machine with
> 6 gigs of memory and raid 10, postgres 8.4.  But, I am now experiencing even
> worse performance issues.

I'm wondering if you moved to a kernel+filesystem version that actually
enforces fsync, from one that didn't.  If so, the apparently faster
performance on the old box was being obtained at the cost of (lack of)
crash safety.  That probably goes double for your windows-box comparison
point.

You could try test_fsync from the Postgres sources to confirm that
theory, or do some pgbench benchmarking to have more quantifiable
numbers.

See past discussions about write barriers in this list's archives for
more detail.

            regards, tom lane

pgsql-performance by date:

Previous
From: Ryan Wexler
Date:
Subject: performance on new linux box
Next
From: Rob Wultsch
Date:
Subject: Re: performance on new linux box