Performances with RAID 5


 
Thread Tools Search this Thread
Operating Systems Solaris Performances with RAID 5
# 1  
Old 12-05-2005
Performances with RAID 5

Hello every body,
Maybe someone could help me.
I have a SUN Server with 6 disks, each of 150 Gb.
I have mounted the first two disk in mirror (RAID1) for the system files.
I have mounted 3 disks in RAID5 for users file systems.
I kept the last one as spare and I have mounted it standalone (RAID0).
I made a test with a 1Gb file :
the copy from RAID1 to RAID0 is 25 seconds.
the copy from RAID1 to RAID5 is 10 minutes !!
I think that it may be something wrong in the configuration.
Thanks for your help.
Alain
# 2  
Old 12-05-2005
Are you using SVM? Post the output from metastat.
# 3  
Old 12-05-2005
I guess you are using RAID 5 from SVM. It is not a good thing at all.
1 Write to RAID 5 will give you:
1) 1 Read from the RAID 5 to calculate the parity for the new data
2) 1 write to Update the new data
3) 1 write to Update the new parity

The 1 Write will cause 1 Read + 2 Write in RAID 5 environment.

Golden Rule: Fast, Safe, Cheap, choose 2.
Raid 5: Safe and Cheap
RAID 1: Safe and Cheap
Raid 0: Fast and Cheap
RAID 10: Fast and Safe
# 4  
Old 12-06-2005
Yes I use SVM.
Here is the result of metatstat :
d30: Mirror
Submirror 0: d31
State: Okay
Submirror 1: d32
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 31464192 blocks (15 GB)

d31: Submirror of d30
State: Okay
Size: 31464192 blocks (15 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s3 0 No Okay Yes


d32: Submirror of d30
State: Okay
Size: 31464192 blocks (15 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t1d0s3 0 No Okay Yes


d20: Mirror
Submirror 0: d21
State: Okay
Submirror 1: d22
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 62928384 blocks (30 GB)

d21: Submirror of d20
State: Okay
Size: 62928384 blocks (30 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s1 0 No Okay Yes


d22: Submirror of d20
State: Okay
Size: 62928384 blocks (30 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t1d0s1 0 No Okay Yes


d10: Mirror
Submirror 0: d11
State: Okay
Submirror 1: d12
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 31464192 blocks (15 GB)

d11: Submirror of d10
State: Okay
Size: 31464192 blocks (15 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s0 0 No Okay Yes


d12: Submirror of d10
State: Okay
Size: 31464192 blocks (15 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t1d0s0 0 No Okay Yes


d40: Mirror
Submirror 0: d42
State: Okay
Submirror 1: d41
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 32909184 blocks (15 GB)

d42: Submirror of d40
State: Okay
Size: 32909184 blocks (15 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t1d0s4 0 No Okay Yes


d41: Submirror of d40
State: Okay
Size: 32909184 blocks (15 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s4 0 No Okay Yes


d110: RAID
State: Okay
Interlace: 32 blocks
Size: 142443648 blocks (67 GB)
Original device:
Size: 142463296 blocks (67 GB)
Device Start Block Dbase State Reloc Hot Spare
c1t2d0s7 330 No Okay Yes
c1t3d0s7 330 No Okay Yes
c1t4d0s7 330 No Okay Yes

d100: RAID
State: Okay
Interlace: 32 blocks
Size: 141426048 blocks (67 GB)
Original device:
Size: 141445696 blocks (67 GB)
Device Start Block Dbase State Reloc Hot Spare
c1t2d0s6 330 No Okay Yes
c1t3d0s6 330 No Okay Yes
c1t4d0s6 330 No Okay Yes

d50: Concat/Stripe
Size: 286169472 blocks (136 GB)
Stripe 0:
Device Start Block Dbase Reloc
c1t5d0s6 0 No Yes

Device Relocation Information:
Device Reloc Device ID
c1t5d0 Yes id1,ssd@w500000e0113c0e20
c1t0d0 Yes id1,ssd@w500000e0113b96e0
c1t1d0 Yes id1,ssd@w500000e0113b9040
c1t2d0 Yes id1,ssd@w500000e0113c0e30
c1t3d0 Yes id1,ssd@w500000e0113c12f0
c1t4d0 Yes id1,ssd@w500000e0113b97f0
# 5  
Old 01-03-2006
You might want to look into not using RAID-5 for your user files. If you use all four of your remaining disks you might be able to do a RAID 1+0. You will not lose any disk space as you do with RAID 5 also. Here is a link that might help you out.

http://www.ncell.com/~russj/DiskSuite-RAID1+0.html
# 6  
Old 01-03-2006
A basic rule of thumb is:

Never implement raid 5 in software. If your hardware doesn't support it it's not worth using because of the cost of parity calculation as ppointed out in an earlier post. I is much better to go with a striped & mirorred strategy for performance. The cost in hardware is much much less for RAID5 and so it becomes viable.
# 7  
Old 06-17-2009
Just to add : raid5 in software is NOT CPU costly (you can do it easily under WServer2K or 2K3 with lot's of very fast drives without significant CPU penalty) anymore (even since many years).
Parity processing of 100+MB/s is pinuts for modern CPUs.

So you have big problem somewhere... Note that RAID5 is not really aimed at big I/O size but you should get far better performance for 1MB file.

BUT you should use hardware raid5 because of many other reasons like hotswap, hotspare, performances, security in case of brutal power off while writing ...
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

RAID Configuration for IBM Serveraid-7k SCSI RAID Controller

Hello, I want to delete a RAID configuration an old server has. Since i haven't the chance to work with the specific raid controller in the past can you please help me how to perform the configuraiton? I downloaded IBM ServeRAID Support CD but i wasn't able to configure the video card so i... (0 Replies)
Discussion started by: @dagio
0 Replies

2. Solaris

Software RAID on top of Hardware RAID

Server Model: T5120 with 146G x4 disks. OS: Solaris 10 - installed on c1t0d0. Plan to use software raid (veritas volume mgr) on c1t2d0 disk. After format and label the disk, still not able to detect using vxdiskadm. Question: Should I remove the hardware raid on c1t2d0 first? My... (4 Replies)
Discussion started by: KhawHL
4 Replies

3. AIX

SCSI PCI - X RAID Controller card RAID 5 AIX Disks disappeared

Hello, I have a scsi pci x raid controller card on which I had created a disk array of 3 disks when I type lspv ; I used to see 3 physical disks ( two local disks and one raid 5 disk ) suddenly the raid 5 disk array disappeared ; so the hardware engineer thought the problem was with SCSI... (0 Replies)
Discussion started by: filosophizer
0 Replies

4. Solaris

Creation of Raid 01 and Raid 10

Hello All, I have read enough of texts on Raid 01 and Raid 10 on solaris :wall: . But no-where found a way to create them using SVM. Some one pls tell me how to do or Post some link if that helps. TIA Curious solarister (1 Reply)
Discussion started by: Solarister
1 Replies

5. Solaris

implementing RAID 1 from RAID 5

Dear ALl, I have a RAID 5 volume which is as below d120 r 60GB c1t2d0s5 c1t3d0s5 c1t4d0s5 c1t5d0s5 d7 r 99GB c1t2d0s0 c1t3d0s0 c1t4d0s0 c1t5d0s0 d110 r 99GB c1t2d0s4 c1t3d0s4 c1t4d0s4 c1t5d0s4 d8 r 99GB c1t2d0s1 c1t3d0s1... (2 Replies)
Discussion started by: jegaraman
2 Replies

6. UNIX for Dummies Questions & Answers

RAID software vs hardware RAID

Hi Can someone tell me what are the differences between software and hardware raid ? thx for help. (2 Replies)
Discussion started by: presul
2 Replies

7. UNIX for Advanced & Expert Users

File alignment and performances... (difficult)

Hello ! I will use my best english possible to explain my objective. I'm french so pardon for the lack of precision... So, what i would like to do in shell script (but you will possibly answer ''not possible in script'' have to use low level langage or something like that) is described below.... (3 Replies)
Discussion started by: Gnaag
3 Replies

8. Linux

grep -f CPU performances

Hi I would like to thank you all for this excellent forum. Today i tried to compare two files and i get some problem with it. I have two files and i want to get all the data that match the first file like this File1 (pattern file) ___________________________ 9007 9126 9918 9127 ... (6 Replies)
Discussion started by: tafil
6 Replies

9. AIX

ssa performances

Helo: We updated form AIX 4.3.3 to AIX 5.1-7 and after this we spent more than double time in read from external disks. Aparently the ssa cards microcode is at last level and all the ptf and apars are instaled. Out backups expent more than double time, but curiously in read only, if we write in... (0 Replies)
Discussion started by: Javier Gutierre
0 Replies
Login or Register to Ask a Question