473,424 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,424 software developers and data experts.

RAID 5 beats RAID 10

RAID 5 beats RAID 10

Can I get some feedback on these results? We were having some serious
IO issues according to PerfMon so I really pushed for RAID 10. The
results are not what I expected.

I have 2 identical servers.

Hardware:
PowerEdge 2850
2 dual core dual core Xeon 2800 MHz
4GB RAM
Controller Cards: Perc4/DC (2 arrays), Perc4e/Di (1 array)

PowerVault 220S
Each Array consisted of 6-300 GB drives.

Server 1 = Raid 10
3, 6-disk arrays

Server 2 = Raid 5 (~838 GB each)
3, 6-disk arrays (~1360 GB each)

Test Winner % Faster
SQL Server - Update RAID 5 13
Heavy ETL RAID 5 16
SQLIO - Rand Write RAID 10 40
SQLIO - Rand Read RAID 10 30
SQLIO - Seq Write RAID 5 15
SQLIO - Seq Read RAID 5 Mixed
Disktt - Seq Write RAID 5 18
Disktt - Seq Read RAID 5 2000
Disktt - Rand Read RAID 5 62
Pass Mark - mixed RAID 10 Varies
Pass Mark -
Simulate SQL Server RAID 5 1%

I have much more detail than this if anyone is interested.

May 1 '06 #1
13 15374
Are you absolutely absolutely absolutely sure the disk write cache on both
machines was set the same?

RAID 10 will always out perform RAID 5 on read performance in a real
situation because it has 2 copies of the data it can concurrently read. When
writing to disk RAID 5 needs to read as well in order to calculate parity.

There is just so much to doing the comparison....

--
Tony Rogerson
SQL Server MVP
http://sqlserverfaq.com - free video tutorials
"Dave" <da******@gmail.com> wrote in message
news:11**********************@g10g2000cwb.googlegr oups.com...
RAID 5 beats RAID 10

Can I get some feedback on these results? We were having some serious
IO issues according to PerfMon so I really pushed for RAID 10. The
results are not what I expected.

I have 2 identical servers.

Hardware:
PowerEdge 2850
2 dual core dual core Xeon 2800 MHz
4GB RAM
Controller Cards: Perc4/DC (2 arrays), Perc4e/Di (1 array)

PowerVault 220S
Each Array consisted of 6-300 GB drives.

Server 1 = Raid 10
3, 6-disk arrays

Server 2 = Raid 5 (~838 GB each)
3, 6-disk arrays (~1360 GB each)

Test Winner % Faster
SQL Server - Update RAID 5 13
Heavy ETL RAID 5 16
SQLIO - Rand Write RAID 10 40
SQLIO - Rand Read RAID 10 30
SQLIO - Seq Write RAID 5 15
SQLIO - Seq Read RAID 5 Mixed
Disktt - Seq Write RAID 5 18
Disktt - Seq Read RAID 5 2000
Disktt - Rand Read RAID 5 62
Pass Mark - mixed RAID 10 Varies
Pass Mark -
Simulate SQL Server RAID 5 1%

I have much more detail than this if anyone is interested.

May 1 '06 #2
All the arrays have the same settings

Read Cache: Adaptive Read Ahead
Write Cache: Write Back
Cache Policy: Cache I/O

May 1 '06 #3
If you are using Dell hardware with Perc controllers - Read this:

http://forums.2cpu.com/showpost.php?...6&postcount=11

I will be testing this during the next day to see if this explains my
overall bad diskperformance.
"Dave" <da******@gmail.com> wrote in message
news:11**********************@g10g2000cwb.googlegr oups.com...
RAID 5 beats RAID 10

Can I get some feedback on these results? We were having some serious
IO issues according to PerfMon so I really pushed for RAID 10. The
results are not what I expected.

I have 2 identical servers.

Hardware:
PowerEdge 2850
2 dual core dual core Xeon 2800 MHz
4GB RAM
Controller Cards: Perc4/DC (2 arrays), Perc4e/Di (1 array)

PowerVault 220S
Each Array consisted of 6-300 GB drives.

Server 1 = Raid 10
3, 6-disk arrays

Server 2 = Raid 5 (~838 GB each)
3, 6-disk arrays (~1360 GB each)

Test Winner % Faster
SQL Server - Update RAID 5 13
Heavy ETL RAID 5 16
SQLIO - Rand Write RAID 10 40
SQLIO - Rand Read RAID 10 30
SQLIO - Seq Write RAID 5 15
SQLIO - Seq Read RAID 5 Mixed
Disktt - Seq Write RAID 5 18
Disktt - Seq Read RAID 5 2000
Disktt - Rand Read RAID 5 62
Pass Mark - mixed RAID 10 Varies
Pass Mark -
Simulate SQL Server RAID 5 1%

I have much more detail than this if anyone is interested.

May 8 '06 #4
Per Schjetne wrote:
If you are using Dell hardware with Perc controllers - Read this:

http://forums.2cpu.com/showpost.php?...6&postcount=11

I will be testing this during the next day to see if this explains my
overall bad diskperformance.


I may be missing something but is "write back" not slower than "write
through" anyway? I mean with write through the data has to be written
twice with RAID 10 before the IO call returns; I'm not sure whether this
can happen in parallel - if not you're at twice the time. But with
write back the controller can put the data into its internal cache (as
long as there is space left), IO call can return and then it can writing
stuff in the background.

Regards

robert
May 8 '06 #5
I have the exact same situation. We had a PowerEdge 2800 with RAID 5,
when we got a new one I pushed hard for RAID 10, and then when I ran
performance tests for our database it turned out to be not quite as
good as the RAID 5.

May 10 '06 #6
I can confirm the same thing. We have 2 x PowerEdge 2800 with the disks on a
PowerVault 220S. I have reconfigured one of the servers to Raid 10 and the
diskperformance went slightly down. I used ATTO Disk Benchmark for testing.
I also run some test-procedures in SQL Server and it confirmed the same
thing.

"sql_server_user" <ka*******@gmail.com> wrote in message
news:11**********************@i39g2000cwa.googlegr oups.com...
I have the exact same situation. We had a PowerEdge 2800 with RAID 5,
when we got a new one I pushed hard for RAID 10, and then when I ran
performance tests for our database it turned out to be not quite as
good as the RAID 5.

May 12 '06 #7
In theory, should this happen? Does anyone know of any published
benchmarks that compare Raid 5 to Raid 10 while holding the number of
disks constant?

May 12 '06 #8
Dave, I feel you should read Kimberly L. Tripp's response more carefully.
Her response is quite to the point. The performance comparison is not based
on the same number of physical disks, it is based on the same drive
capacity, using the same physical drives, but different number of them. Of
course if measured by basing on the same number of physical drives, you will
get the performance number as you stated, but that is just not the way
currently used to assess the performance.

"Dave" <da******@gmail.com> wrote in message
news:11**********************@j73g2000cwa.googlegr oups.com...
In theory, should this happen? Does anyone know of any published
benchmarks that compare Raid 5 to Raid 10 while holding the number of
disks constant?

May 12 '06 #9
I understood her post, I just don' think that the "current way" is
a logical or scientific way to analyze Raid. I understand the fault
tolerance and Degradation/Rebuilding benefits of Raid 10. However, for
performance reasons alone, I it doesn't appear to be justified.

I admit my testing is inconclusive. I wish I had to opportunity to
conduct more tests and see how performance varies with the number of
disks in the array.

It would also be interesting to repeat the tests on different hardware.

May 12 '06 #10
My opinion is that this only highlights the fact that *general*
guidelines will not always apply.

What we have here is a couple of reports that RAID 10 is slower that
RAID 5 for the database in question. The vast majority of expert reports
that I have read (including the vendor of our medical database) is that
*IN GENERAL* RAID 10 is faster than RAID 5 for databases. Nowhere have I
ever seen the statement that it is *ALWAYS* faster.

I don't doubt that the posters are reporting accurate information, I
just don't see where it means that RAID 5 is *ALWAYS* faster than RAID
10 any more that the opposite is true....

Regards,
Hank Arnold

Dave wrote:
I understood her post, I just don' think that the "current way" is
a logical or scientific way to analyze Raid. I understand the fault
tolerance and Degradation/Rebuilding benefits of Raid 10. However, for
performance reasons alone, I it doesn't appear to be justified.

I admit my testing is inconclusive. I wish I had to opportunity to
conduct more tests and see how performance varies with the number of
disks in the array.

It would also be interesting to repeat the tests on different hardware.

May 13 '06 #11

Hank Arnold wrote:
My opinion is that this only highlights the fact that *general*
guidelines will not always apply.

What we have here is a couple of reports that RAID 10 is slower that
RAID 5 for the database in question. The vast majority of expert reports
that I have read (including the vendor of our medical database) is that
*IN GENERAL* RAID 10 is faster than RAID 5 for databases. Nowhere have I
ever seen the statement that it is *ALWAYS* faster.


that's a nonsense. RAID10 is ALWAYS as fast or faster than RAID5. It's
a physics questions (the number movements of the disk heads necessary
to read or write an amount of data).

defective implementations are another history.

May 17 '06 #12
14*******@terra.es wrote:
Hank Arnold wrote:
My opinion is that this only highlights the fact that *general*
guidelines will not always apply.

What we have here is a couple of reports that RAID 10 is slower that
RAID 5 for the database in question. The vast majority of expert reports
that I have read (including the vendor of our medical database) is that
*IN GENERAL* RAID 10 is faster than RAID 5 for databases. Nowhere have I
ever seen the statement that it is *ALWAYS* faster.


that's a nonsense. RAID10 is ALWAYS as fast or faster than RAID5. It's
a physics questions (the number movements of the disk heads necessary
to read or write an amount of data).

defective implementations are another history.


What a nice, polite response..... :-(

Regards,
Hank Arnold
May 18 '06 #13
Raid 01 should be faster than raid5

1. Raid 5 has to calculate the xor'd data
2. raid 5 has to do 2 writes (1 for the actual and 1 for the xor'd
data)
3. Raid 5 will be slow in a degraded array, more drives the slower it
becomes
(If a drive fails, it will have to read all the other data, pulls
the xor'd data to recreate the missing piece. 10 drives, 1 fails, all
drives have to be read)
4. Raid 5 upside: disk efficiency. You only lose 1 drives capacity for
redundancy (Note: I didnt say you use one drive for redundancy, just
its capacity). More drives you have, the more efficient the storage (3
drives yields 66% capacity. 10 drives yields 90% capacity)
5. Raid 0+1 still has two writes, but it does not have the overhead to
calculate the xor'd data
6. Raid 0+1 does not suffer ill effects if one of its drives fails.

Normally, Raid 0+1 should blow the doors off of Raid 5, shouldn't
even be a contest. Raid 5 is great for mostly reads and where
performance is not critical if the array is degraded. Raid 0+1 is
faster, but more costly since you get only 50% capacity of the total
disk storage.

It's worrisome to me, thinking I might have one of these controllers in
my HP machine (HP bought Compaq...anyone know if HP uses the LSI
controllers?)

May 18 '06 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Bernie | last post by:
I will be doing some performance testing on financial application next month. Without going into a lot of details, I suspect I will have a potential bottleneck when writing to the log file. My...
1
by: JJ | last post by:
Hi, I was going to buy a server with Raid 1 as I thought that it meant that if one of the two mirrored drives fail, you simply take it out and put a new one in. At which point presumably the...
8
by: Joseph | last post by:
I've been thinking about the benefits or lack thereof of deploying DMS tablespaces for RAID, say RAID 5. The point of DMS is to get reasonable size extents of contiguous disk space so that minimal...
4
by: esmith2112 | last post by:
We replaced an aging system with a newer (faster 4-way) and presumably better system. Perfomance for most queries has improved as one would expect. However, we're getting slaughtered on performance...
2
by: p175 | last post by:
Hi folks, I've tried reading just about every post I can on raid stiping / extent size etc and I'm just getting myself more confused than ever. Here's my situation. On a Windows Server 2000...
1
by: serge | last post by:
I have a database that is around 2 to 4 GB. If I were to estimate some numbers like 4x growth or even 10x, the database size could reach 40GB. The new server will be running SQL Server 2005. I...
17
by: boa | last post by:
I'm currently planning disk layouts and use for a new version of our database. The current version has all data and indexes in the default filegroup, placed on one big raid-5 array(6 drives) along...
110
by: alf | last post by:
Hi, is it possible that due to OS crash or mysql itself crash or some e.g. SCSI failure to lose all the data stored in the table (let's say million of 1KB rows). In other words what is the worst...
6
by: aj | last post by:
DB2 LUW v8.2 FP 14 RHAS 2.1 Not trying to start a flame war or anything, but does anyone have an opinion regarding whether to use Raid 5 or Raid 10 w/ DB2? We have an EMC SAN (a Clariion...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.