l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 17:00

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Software RAID question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Software RAID question

> Let's say, for hypothetical purposes, that a RAID
> array is set up on a SCSI card (and disks), on a
> high-end AMD or PIII, and (for sake of argument) Red
> Hat 7.0 for the rest of the os with kernel 2.4.  Oh,
> and let's say that we were using RAID5.
> Can this kind of setup handle writing rates of <32KB

> expect?  Does it take lots of tuning/tweaking to get
> this kind of performance?  Would other raid levels
> improve (writing) performance?

Okay first, most new SCSI or EIDE drives can handle somewhere
around 40 MB/sec (outside tracks) to 20 MB/sec inside tracks.
>        -------Sequential Output-------- ---Sequential Input-- --Random--
>        -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
>     MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec %CPU
>    864  8465 89.8 28931 30.9 11671 15.5  8345 87.9 35108 25.6 147.4  1.7

Here's a 30 GB ibm EIDE disk:
1.00a       ------Sequential Output------ --Sequential Input- --Random-
            -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
            MB K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
            640          33250  13 14079  22           32966  19  

Pretty much bandwidth scales with the number of disk busses you have, typical
rates are 1/2 of your bus bandwidth.  I.e. 2 U160 Channels = 320 MB/sec
= 160 MB/sec peak.

So if you have 8 20 MB/sec drives on 2 U160 channels you could hit in
the neighborhood of 160 MB/sec.

Unfortunately the PCI bus normally handles 132 MB/sec peak, so it's
tough to get more then 64 MB/sec real world.  Unless you spring for
a machine/motherboard that has 64 bit pci.

As far as raid levels go:
        Raid-5 requires TWO writes for each write.  This is spread across
the number of heads/disks you have in the array.  So performance 1/2
of an optimally balanced collection of disks.  But the performance
is similar to single disk write speeds, since the second write happens
in parallel on a second disk.

        Raid-0/striping with 2 disks basically doubles the read/write 
bandwidth for long consecutive read/writes.  Of course it also doubles
your chance of losing all your data because of a hardware failure.

All the above goes for scsi or eide (as long as you use 1 disk
per bus on eide).  I've seen raid result for over 100 MB/sec read/write
using only eide disks (limited by pci).


LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.