From: David Gilbert <dgilbert@velocet.ca>
To: nikolaus@dilger.cc
Cc: dgilbert@velocet.ca
Cc: chris@ruprecht.org
Cc: mallah@trade-india.com
Cc: pgsql-admin@postgresql.org
Subject: Re: H/W RAID 5 on slower disks versus no raid on faster HDDs
Date: Mon, 25 Nov 2002 21:42:54 -0500
Message-ID: <15842.57262.323171.410126@canoe.velocet.net> (raw)
In-Reply-To: <20021125170817.1231.h015.c001.wm@mail.dilger.cc.criticalpath.net>
References: <20021125170817.1231.h015.c001.wm@mail.dilger.cc.criticalpath.net>
>>>>> "nikolaus" == nikolaus <nikolaus@dilger.cc> writes:
nikolaus> Of course can software RAID be faster than hardware RAID.
nikolaus> But then you are not comparing the best offerings of each
nikolaus> category. Software RAID is usually cheaper than hardware.
nikolaus> But again you may be able to construct a product pairing
nikolaus> where it is reverse.
No... I admit... if you're willing to spend huge $$'s, there exist
hardware solutions that outpace software. It usually means that you
have hardware that is more powerful than your main system, though.
Often more costly, too.
nikolaus> raw versus file system is an old battle. raw is faster
nikolaus> because it does not have the filesystem overhead. However,
nikolaus> raw is a little harder to administer. Question is how much
nikolaus> faster raw is and if it is worth the trouble. Numbers
nikolaus> usually quoted are 10-20%. And here things may be changing
nikolaus> as operating systems and chaching algorithems get better to
nikolaus> mask the file system overhead. As I mentioned the question
nikolaus> is mute for PostgeSQL because raw is currently not
nikolaus> supported.
Well... I don't think your raw write performance (in, say, FreeBSD)
would be any more than 5% better than filesystem writing. Old
filesystem overhead consisted of the in-order writes that were
required to update filesystem metadata... which (consequently) was
about 20% in-order (vs. un-ordered) writes.
Softupdates (FreeBSD) only requires 1%-ish (or less) in-order writes
(or to put it another way: 1% of writes chosen before they would
otherwise happen).
DAve.
--
============================================================================
|David Gilbert, Velocet Communications. | Two things can only be |
|Mail: dgilbert@velocet.net | equal if and only if they |
|http://daveg.ca | are precisely opposite. |
=========================================================GLO================
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-admin@postgresql.org
Cc: dgilbert@velocet.ca, nikolaus@dilger.cc, chris@ruprecht.org, mallah@trade-india.com
Subject: Re: H/W RAID 5 on slower disks versus no raid on faster HDDs
In-Reply-To: <15842.57262.323171.410126@canoe.velocet.net>
References: <20021125170817.1231.h015.c001.wm@mail.dilger.cc.criticalpath.net> <15842.57262.323171.410126@canoe.velocet.net>
* 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