FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Rep:
optimizing drive speed with raid
I have my FC4 installation on 2 harddrives (hda has my home partition and hdb has the rest). This way I have 10 GB of space. I was told I could optimize my drive speeds by putting each drive on a different IDE channel and using raid. How do you set up raid?
RAID 1 will stripe data across both drives. If you want speed increase I'd go with RAID 1, if you're looking for fault tolerance you can go with RAID 0.
Now, since you only have 5 GB drives I assume you're running a desktop machine and not a server ? What is the system ? Are you running dual 64 bit processors or an old clunky Pentium II ? How much RAM do you have ? Can your hard disk controller perform two concurrent read operations ? If not, RAID is essentially useless becasue it will have to read from one drive and then the other, but you want to read from both at the same time to get any performance increase.
Unless you have a hefty system you probably won't notice much if any speed increase from the RAID. Remember, RAID only has to do with how data is stored on the hard disks and as such, will only speed up disk access (or in the case of RAID 0 provide redundancy in case of data loss). It won't increase the efficiency of computations per se.
PS It's basically a choice: do you want the headache of trying RAID or not? Here's an example of what's in store (though this guide's for Slackware): http://slacksite.com/slackware/raid.html
PPS This post all has to do with software RAID. If you want hardware RAID (i.e., you go and buy a RAID controller card) it will be very simple to set and faster since the controller card can read from multiple disks simultaneously (that's what it's designed to do in the first place) but not free...far, far from free
Last edited by michaelsanford; 07-21-2005 at 02:38 PM.
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207
Original Poster
Rep:
RAID1 does sound like what I want. My pc is a home pc-600 MHz/P3/320 MB RAM/Promise ULTRA100TX2 PCI IDE RAID card. My first hd is a 6 GB ATA33 drive and my second hd is a 4 GB ATA66 drive.
Last edited by linuxhippy; 07-21-2005 at 05:12 PM.
Raid 0 = striping. No redundancy, moderate to good speed gains.
RAID 1 = mirroring. Total redundancy, including errors. Possible read gains.
Software raid uses your CPU, and requires understanding what you are doing. If you choose to stripe (I NEVER recommend that people do - I think it's very risky for not much return) you will be hitting your CPU pretty hard, and if you are running 10 gigs of drive, I'm guessing that your cpu isn't a screamer. It's also going to hammer your IDE controller. I'd imagine you are looking at a wash as far as speed goes, and inviting a lot of risk. Mirroring is a good idea, but will also hammer your CPU and IDE conrtoller. Writes will be the same or slower, reads will be faster, but probably not much. You also cut your effective drive space in half. You do, however, have good redundancy. Software raid can be OK if you have a PCI IDE or SATA card, and have hardware that can handle it. On older hardware, trying to use your IDE controller, you are probably not going to be happy with the results (IMO).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.