From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-performance@postgresql.org
Subject: Re: inferior SCSI performance
Date: Wed, 1 Oct 2003 09:25:36 -0400
Message-ID: <20031001132536.GA30269@libertyrms.info> (raw)
In-Reply-To: <Pine.LNX.4.33.0310010713250.20754-100000@css120.ihs.com>
References: <20031001103338.GA29293@libertyrms.info>
<Pine.LNX.4.33.0310010713250.20754-100000@css120.ihs.com>
On Wed, Oct 01, 2003 at 07:14:32AM -0600, scott.marlowe wrote:
> FYI, on a Dual PIV2800 with 2 gig ram and a single UDMA 80 gig hard drive,
> I from 420 tps to 22 tps when I disable write caching. WOW. A factor of
> about 20 times slower. (pgbench -c 4 -t 100)
That's completely consistent with tests Chris Browne has done here on
cache-enabled and cache-disabled boxes that we have.
It's a _really_ big difference. The combination of battery-backed
write cache on your controller plus a real good UPS is quite possibly
the number one thing you can do to improve performance. For what
it's worth, I can't see how this is something special about Postgres:
even raw-filesystem type systems have to make sure the disk actually
has the data, and a write cache is bound to be a big help for that.
A
--
----
Andrew Sullivan 204-4141 Yonge Street
Afilias Canada Toronto, Ontario Canada
<andrew@libertyrms.info> M2P 2A8
+1 416 646 3304 x110
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: andrew@libertyrms.info
Subject: Re: inferior SCSI performance
In-Reply-To: <20031001132536.GA30269@libertyrms.info>
References: <20031001103338.GA29293@libertyrms.info> <Pine.LNX.4.33.0310010713250.20754-100000@css120.ihs.com> <20031001132536.GA30269@libertyrms.info>
* 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