Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Which is faster, RAID 1 or RAID 0?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
puddpunk
l33t
l33t


Joined: 20 Jul 2002
Posts: 681
Location: New Zealand

PostPosted: Sat May 24, 2003 7:50 am    Post subject: Which is faster, RAID 1 or RAID 0? Reply with quote

Hi there,

I was thinking about creating a RAID for my Gentoo system to install on. I can get an identical disk to mine for very cheap indeed. Anyway, It is a Seagate 5400 40Gb disk. Now I've been looking at the kernel's software RAID, and was wondering (since I can't seem to find a decent source of this information) which RAID level (out of 1 or 0) gives the best performance.

If I choose RAID 0, 80Gb would be nice, but one of the disks were under heavy use, and if it dies, i'm in the shit. Although my data isn't that important, and I do frequent backups, it's a pain.

If I choose RAID 1, I get redundancy so my data is not lost, but I only get 40Gb.

So, neither of the cons for both RAID levels really bother me, so which one gives better performance?

Thanks,
Chris.
Back to top
View user's profile Send private message
mpsii
l33t
l33t


Joined: 11 Mar 2003
Posts: 658
Location: Jackson, TN

PostPosted: Sat May 24, 2003 7:53 am    Post subject: Reply with quote

RAID 0 for speed, RAID 1 for data security... PCWorld and MaximumPC have done extensive testing on this topic
_________________
-----------------------------------------
Michael
Back to top
View user's profile Send private message
easykill
Apprentice
Apprentice


Joined: 07 Dec 2002
Posts: 230

PostPosted: Sat May 24, 2003 5:51 pm    Post subject: Reply with quote

RAID-1 works for redundancy...it will save you if a drive dies, since data is written something like this:
Code:

DRIVE 1               DRIVE 2
abcdefg               abcdefg
hijklmno              hijklmno


while RAID-0 works for speed, since DATA is spread out across the drives:
Code:

DRIVE 1               DRIVE 2
abcghi                defjkl
mnostu                pqrvwx


RAID-0 reads/writes to the drives concurrently in "striping" mode, effectively doubling the speed of the drive. It doesn't actually work this way in real life, of course, due to cache/other things, but it will definitely speed up your drives. Right now I have 2 10K rpm SCSI drives in RAID-0, which is quite fast indeed
[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum