Ubuntu 14.04.1 LTS Server X64 RAID 10 read / write speeds

I tested the read and write speeds with software RAID in Ubuntu 14.04.1 LTS Server X64; just to be curious.
Test setup was:

  • Intel Motherboard DQ35JO
  • Intel Core 2 Duo E4700 @ 2.60 GHz
  • 4 GB DDR2 @ 800 MHz
  • 4 X SAMSUNG HD501LJ SATA2 500 GB hard drives
  • 4 GB test file with dd

I installed the OS; Ubuntu 14.04.1 LTS Server X64; and created software RAID 10. Swap partition was set to total 8 GB (4 GB + 4 GB), and the root partition was approx. ~1000 GB. No LVM was configured.

Straight after install, I got while RAID was resyncing:

    • Write: 4096000000 bytes (4.1 GB) copied, 27.1246 s, 151 MB/s
    • Read: 4096000000 bytes (4.1 GB) copied, 32.4631 s, 126 MB/s

After resyncing when everything was 100% finished, I got:

    • Write: 4096000000 bytes (4.1 GB) copied, 26.1292 s, 157 MB/s
    • Read: 4096000000 bytes (4.1 GB) copied, 28.1451 s, 146 MB/s

So, now i faced the question what is the base speed, a.k.a. read and write speeds with single disk with same setup. So, I removed three of the disks, erased the remaining drive, and re-installed the OS. I didn’t use LVM with the one disk setup, since the RAID setup didn’t have one.

After install and updates, I got:

    • Write: 4096000000 bytes (4.1 GB) copied, 52.5718 s, 77.9 MB/s
    • Read: 4096000000 bytes (4.1 GB) copied, 51.7475 s, 79.2 MB/s

So, the conclusion is one can have nice boost to IO speeds, if one can find 4 similar disks laying around :-) Plus of course the redunancy is a big difference. Notice that resyncing doesn’t affect the IO speeds much as one would think.

Here is a chart for everything:

 Write (MB/s) Read (MB/s)
Single disk  77.9  79.2
 RAID 10 resyncing  151  126
 RAID 10 OK  157  146

You may also like...

1 Response

  1. Im no expert, but I believe you just crafted an excellent point. You clearly know what youre talking about, and I can seriously get behind that. Thanks for being so upfront and so straightforward.

Leave a Reply

Your email address will not be published. Required fields are marked *