1

This is sort of related to the answer here: https://superuser.com/a/325771/396863

Let's say I have a two 1 gb files which I want to simultaneously write to my hard disks. As noted in the linked answer, I could write them to separate hard disks, or use my two hard disks in Raid0 and write the two files to this raid array. Which would be faster?

Based on the comments I am providing some more details of my situation:

  1. The data is being dumped from memory.
  2. Not sure what hardware details I need to provide, but it is a 4 core XEON E3-1271 processor with 32 gbs of ram.
3
  • This entirely depends on the hardware being used.
    – Keltari
    Aug 26, 2015 at 0:45
  • You don't mention the sources, are they on one drive or two because that could be the bottle neck. For your use case it is just going to be one of those things you need to try - for instance I could tailor my machine to be faster at either.
    – albal
    Aug 26, 2015 at 1:43
  • please see my edit where I added more info
    – Alex
    Aug 26, 2015 at 2:49

1 Answer 1

2

Assuming 2 identical drives, there may be no difference, but most likely the 2 separate hard drive scenario would be faster.

If you think about it, this must be the case - in the case of RAID0 its possible/probable that data from both files will be written to the same disk - and assuming the disk is the bottleneck - which is a reasonable assumption - you are squeezing twice as much through the bottleneck. This bottleneck does not exist with 2 disks.

Similarly, when you write a file, you ideally want to write it so everything lines up sequentially on the disk - this will increase the read speed later on. By writing the files on RAID0 you are increasing the risk of striping the data and slowing reads - thats why defragmenting a drive can speed it up. (This is not really an issue with SSD, but you specified hard disks).

Of-course, by using RAID0 you get more useable space

1
  • "Of-course, by using RAID0 you get more useable space"... And less usable files in case of a failure. Aug 26, 2015 at 2:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .