Thank you for purchasing through links and ads on this site.
diglloyd Deal Finder...
Buy other stuff at
Upgrade the memory of your 2018 Mac mini up to 64GB
Today’s Deal Zone Items... Handpicked deals...
$950 $330
SAVE $620

$2799 $2499
SAVE $300

$1499 $899
SAVE $600

$799 $639
SAVE $160

$1180 $1050
SAVE $130

$150 $90
SAVE $60

$2399 $2159
SAVE $240

$1999 $1799
SAVE $200

$1099 $899
SAVE $200

$259 $209
SAVE $50

$1199 $1079
SAVE $120

$599 $199
SAVE $400

$819 $649
SAVE $170

$348 $298
SAVE $50

$2799 $2149
SAVE $650

$750 $450
SAVE $300

$300 $170
SAVE $130

$1099 $899
SAVE $200

$280 $220
SAVE $60

$1299 $1169
SAVE $130

$998 $498
SAVE $500

New Mac?

Work from home?
Consult with Lloyd before buying!

System configuration for CPU, GPU, memory, SSD, backup, RAID, optimizing performance, workflow.
For YOUR optimal workflow

Avoid costly mistakes in throwing money at the problem for less performance and/or buying the wrong machine for your own needs!

Remote screen sharing available for RAID, software configuration, etc.

More about 2019 Mac Pro vs iMac 5K vs iMac Pro...

CPU Usage for RAID-0 vs RAID-4 or RAID-5

OWC Thunderbay Mini

Thunderbay Mini configurations start at about $379 without drives. Thunderbay Mini RAID-5 edition also available.

RAID-4 = striping with a dedicated parity drive
RAID-5 = striping with distributed parity

Both RAID-5 and RAID-4 consume significant CPU cycles during write operations in order to perform the parity calculations.

There is no such overhead during reads, which behave similarly to a RAID-0 stripe (no parity calculation).

  • With modern Intel Core i7 CPUs, I/O speed is minimally affected by dint of a fast CPU.
  • With relatively slow CPUs in older Macs, I/O speed can drop and CPU usage will increase in relative terms.
  • Relatively slow CPUs process data relatively slower also, so the need for very high I/O speeds is of less importance than it seems in the context of real world tasks that involve computing.

Does it matter? See Real World Throughput for RAID-0 vs RAID-4 vs RAID-5.

Protect Your Phone
NuGard KX Case for iPhones and iPads.
Outstanding protection against drops and impact!
Plus, excellent grip for wet hands, cycling, etc.

CPU usage

As shown below, over a GB/sec* is being written to a 4-drive RAID-4 (SSDs)**. Note that this requires Thunderbolt 2, implying a relatively recent Mac model and CPU.

To write that 1+ G/sec requires about 1.3/2 virtual = 0.65 real CPU cores***. But a RAID-0 stripe is not overhead free; it requires about 0.2 CPU core. And there are other CPU cycles needed by the system to perform the I/O in general (e.g., the file system).

So taking the delta with RAID-0, the use of RAID-4 or RAID-5 at 1+ GB/sec means the use of ~ 1/2 real CPU core on a fast 2014 Intel Core i7.

* Activity Monitor generally displays erroneous speed figures (too high as can be seen) due to its sampling methodology.
** disktester fill-volume --xfer 128MB, 64K RAID stripe size, RAID-4
*** There are 4 real CPU cores on a MacBook Pro and iMac, and some Mac Pros, and 8 virtual cores (~useless). A display of 130% in CPU core terms means 1.3 virtual cores out of those 8, and 0.65 real cores out of 4 real cores.

Discussion continues below images.

~130% CPU Usage for RAID-4 or RAID-5 during intensive write
(during disktester fill-volume test)
~130% CPU Usage for RAID-4 or RAID-5 during intensive write
(during disktester fill-volume test)

Context and relevance

  • Since hard drives are much slower than SSDs, the CPU usage will be commensurately slower, since CPU usage is proportional to data rates.
  • The data rates are fast with SSDs; using CPU cycles for a short duration is far better than forcing an application to wait 2X or 3X as long (for hard drives), forcing the application to remain idle until the data is delivered.
  • Unless the CPUs are already fully utilized (rare), CPU usage by the SoftRAID driver has no appreciable impact.
  • Faster disk I/O means an application that needs it can get more work done faster. Choosing SSDs for such work is a huge gain over hard drives (when and where fast disk I/O really matters).

That said, the rare (and perhaps non-existent !) application that uses all CPU cores while simultaneously demanding a gigabyte per second of data might be better served by hardware RAID that can offload the computation. Or by using a Mac with 8/10/12 cores instead of 4 cores; see 2013 Mac Pro: 4 CPU Cores Can Constrain Your Workflow.

Does it matter? See Real World Throughput for RAID-0 vs RAID-4 vs RAID-5.

Save the tax, we pay you back, instantly! | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2020 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__