Re: [SLE] is Raid 1 (mirror) so slow ?



Arie Reynaldi Z wrote:
I'd like to get more stability and fast recovery for my server. So i
decide to make RAID 1 (mirror) using 2 SATA hd, since using raid 1 i
almost dont have to worry about hardisk failure.
I want to use RAID 5 using 3 HD but this will cost me more. The
server will running java using tomcat, and mysql db. But our vendor
said that using RAID 1 is slower then using 1 HD. Is this true ? If i
use as application server using database, would be enough ? Another
thing, I use softraid from yast.

RAID 1 is actually faster when reading, because read requests can be satisfied from both disks.

It is a bit slower when writing, but only a few %.

The real-world performance also depends on your file system and on your RAM and the resulting filesystem cache. (Many I/O requests can be delivered from the cache.) On my mirrored SATA disks with ext3, I get about 30 MB/s when I really write to the disks. To get faster I/O, I would need to use striping massively. (Always remember to stripe the mirrored disks, and not the other way round.)

But you can do some tests for yourself, if you can set up a test system with mirroring: install bonnie++ and check the performance before and after mirroring.

All in all, all our disks are mirrored (softraid 1). With current disk prices, that's easy to do.

Best,
Joachim

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod Email: jschrod@xxxxxxx
Roedermark, Germany

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • Re: SSA Adapter Performance
    ... We've just installed a new SSA adaptor (IBM SSA 160 SerialRAID ... RAID 5 isn't any goos in high write i/o, good in read i/o but since ... Sometimes putting just the jfslog of the VG on 2 mirrored disks helps ... AIX mirroring with the right intra-policy setup and hottest LV's ...
    (comp.unix.aix)
  • Re: RAID
    ... If md is mirroring, then both disks are the same, so the bios+grub can boot from one as if it were a stand alone disk. ... and present logical devices through int 13h instead like sane raid controllers is beyond me. ...
    (Ubuntu)
  • Re: Mirror backup
    ... automatically mirroring one set of disks to another? ... "Disk Utility used with Mac OS X 10.4 or later offers RAID levels 0, ...
    (uk.comp.sys.mac)
  • Re: looking for help on mirroring HDs
    ... > The mirroring needs to occur overnight when no one is working in the ... FFS how much is going to be saved by using software instead of RAID and at ... standby backup for the two mirrored drives. ... it could easily take both disks with it. ...
    (uk.comp.homebuilt)
  • Re: DC RAID Configuration
    ... If the machine has 6 spindles then OS/Logs go on a hardware mirror, if 10 then they go on a 4 disk hardware based 0+1 RAID. ... Their DIT is only in the teens in size so the disks themselves could be small, you just need many to get the high IOPS that make AD really run smoothly. ... 30 DCs with 2500 users total, unless the environment had a lot of very heavy use AD apps I would likely be ok for even a single mirror for those DCs. ...
    (microsoft.public.win2000.active_directory)