From: scott.marlowe <scott.marlowe@ihs.com>
To: Bjoern Metzdorf <bm@turtle-entertainment.de>
Cc: pgsql-performance@postgresql.org
Subject: Re: [ADMIN] H/W RAID 5 on slower disks versus no raid on
Date: Thu, 21 Nov 2002 15:37:47 -0700 (MST)
Message-ID: <Pine.LNX.4.33.0211211533390.23898-100000@css120.ihs.com> (raw)
In-Reply-To: <016901c291a9$0f23cc20$0564a8c0@toolteam.net>
On Thu, 21 Nov 2002, Bjoern Metzdorf wrote:
> > Generally RAID 5. RAID 1 is only faster if you are doing a lot of
> > parellel reads. I.e. you have something like 10 agents reading at the
> > same time. RAID 5 also works better under parallel load than a single
> > drive.
>
> yep, but write performance sucks.
Well, it's not all that bad. After all, you only have to read the parity
stripe and data stripe (two reads) update the data stripe, xor the new
data stripe against the old parity stripe, and write both. In RAID 1 you
have to read the old data stripe, update it, and then write it to two
drives. So, generally speaking, it's not that much more work on RAID 5
than 1. My experience has been that RAID5 is only about 10 to 20% percent
slower than RAID1 in writing, if that.
> > The fastest of course, is multidrive RAID0. But there's no redundancy.
>
> With 4 drives I'd always go for raid 10, fast and secure
>
> > Oddly, my testing doesn't show any appreciable performance increase in
> > linux by layering RAID5 or 1 over RAID0 or vice versa, something that
> > is usually faster under most setups.
>
> Is this with linux software raid? raid10 is not significantly faster? cant
> believe that...
Yep, Linux software raid. It seems like it doesn't parallelize well.
That's with several different setups. I've tested it on a machine a dual
Ultra 40/80 controller and 6 Ultra wide 10krpm SCSI drives, and no matter
how I arrange the drives, 50, 10, 01, 05, the old 1 or 5 setups are just
about as fast.
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: scott.marlowe@ihs.com, bm@turtle-entertainment.de, pgsql-performance@postgresql.org
Subject: Re: [ADMIN] H/W RAID 5 on slower disks versus no raid on
In-Reply-To: <Pine.LNX.4.33.0211211533390.23898-100000@css120.ihs.com>
References: <016901c291a9$0f23cc20$0564a8c0@toolteam.net> <Pine.LNX.4.33.0211211533390.23898-100000@css120.ihs.com>
* 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