0

Suppose Server 1 is configured with 8 1TB disks in RAID 5. Server 2 is configured with 8 1TB disks in RAID 0. There is a link between the two servers but for the purpose of this question, lets suppose that the link speed is unlimited. I want to copy data from Server 1 to Server 2.

Please advise which of the below statements would be true:

(Presuming all hardware is identical. The only difference is the RAID configurations).

Statement 1

Movement of data works like water flowing through a pipe. If the pipe is thin at one end and wider at the other end, the water will move slowly at one end therefore, the other end would not benefit from its wider size. This is the same as copying data from RAID 5 to RAID 0. RAID 0 has better performance however, it does not benefit from it because there is a bottleneck with the RAID 5 server.

Statement 2

Suppose Server 1 is a man with a book and Server 2 is another man with another book. If Server 2 (the second man) can read and write quickly, he can look at the first man’s book to rapidly read all of its contents and then write it down in his own book regardless of how fast (or slow) the first man can read and write.

  • Instead of giving theoretical examples, can you please give concrete details on the problem you're trying to solve, the hardware available, etc. – EEAA Dec 03 '15 at 00:40
  • I simply want to know how different RAID configurations perform when interacting. Either statement 1 or statement 2 will be correct regardless of the other hardware. – Paul Gunston Dec 03 '15 at 00:42
  • See it's not that simple. It depends entirely on the hardware involved and the data that is being transferred. – EEAA Dec 03 '15 at 00:43
  • All hardware is identical and the only difference is the RAID configurations. I need this to propose which RAID configurations should be used. Sever 1 will need redundancy whereas server 2 will focus on performance. There will be a database on Server 1 which will mirror onto Server 2. The hardware which will be used is undecided presently however, it will be identical. – Paul Gunston Dec 03 '15 at 00:51
  • See, *those* are the kind of details that should be included. Please edit your question to incorporate them. Context is important. – EEAA Dec 03 '15 at 00:51

2 Answers2

1

RAID 0 shouldn't be used. There's enough information out there detailing RAID levels that I don't think you need to benchmark this. I hope this isn't a homework question.

What are the different widely used RAID levels and when should I consider them?

ewwhite
  • 194,921
  • 91
  • 434
  • 799
0

Neither statements are exactly true, the first one is closer.

In computer science we have this term that we call bottle neck. It comes from something like your first example. The speed at which you can fill a bottle with liquid depends on how thin is the neck of the bottle.

The bottle neck could usually be exactly established and pin-pointed to a very concrete component. You always start from the big ones.

You have 2 servers and a link. You determine which one has the slowest action:

  • Server A is reading data. What is the maximum speed?
  • Server B is writing data. What is the maximum speed?
  • The link is transferring data. What is the maximum speed?

Now you determine what is the lowest transfer speed from the 3 above and, for example, you determine that writing data to Server B is slower both than reading data on Server A and transferring data through the link between them. You start looking at the possibilities:

  • The CPU of server B is really slow and cannot cope with the traffic. Highly unlikely.
  • The BUS between the RAM and CPU is really slow and cannot cope with the speed. Also quite highly unlikely.
  • Etc...
  • Most likely scenario: either the controller or the disks themselves have the lowest transfer speed. This could include stuff like the data sectors are not aligned between the filesystems, logical volumes, partitions, RAID configuration etc.

There is no direct connection between what RAID configuration you are using on each server as each of them are operating completely unrelated to the other.

Florin Asăvoaie
  • 6,932
  • 22
  • 35