Let's suppose we have 2 hard disks and stripe unit size is 64 kb. While doing random read with size 4KB how Raid 0 affects performance? I mean if we are doing random reads wouldn't operating system block IO layer issue IO one by one? If it does how would it improve read performance while every random read touches single hard drive?

  • 1
  • not understood. – spartacus Oct 21 '17 at 21:06
  • 1
    What don't you understand about the statement "RAID 0 is the easiest level to understand because there is effectively no overhead to worry about, no resources consumed to power it and both read and write get the full benefit of every spindle, all of the time." – DavidPostill Oct 21 '17 at 21:09
  • And this shows why theoretical questions are pointless on this site, however I've answered anyway. – djsmiley2k Oct 22 '17 at 9:38

For such a small read it doesn't, but then again there's very few raid options that would make a difference to a single 4KB read.

However, computers will generally perform many thousands of such reads at a time and so you can see how in a 2 disk raid0, some of the reads would hit the first disk, and some would hit the second disk on average.

This means, for those times when the reads are on different disks, they can be looked up in parallel, for a total read speed increase of 2x. The more disks you have, the more the speed increase for a parallel read can occur, as long as the data is laid out across the raid in such a fashion that causes as many parallel reads as possible.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.