Single Client Performance - CIFS and NFS on Linux

We have recently revamped our Linux-client testing for NAS units, shifting from IOMeter to IOZone. Unfortunately, the ix4-300d was evaluated using the old methodology, so we won't have numbers for that unit in here. This section will deal only with the performance of the WD EX4. A CentOS 6.2 virtual machine was used to evaluate NFS and CIFS performance of the NAS when accessed from a Linux client. In order to standardize the testing across multiple NAS units, the following parameters were used to mount the NFS and Samba shares:

mount -t nfs NAS_IP:/PATH_TO_NFS_SHARE /PATH_TO_LOCAL_MOUNT_FOLDER

mount -t cifs //NAS_IP/PATH_TO_SMB_SHARE /PATH_TO_LOCAL_MOUNT_FOLDER

Note that these are slightly different from what we used to run in our previous NAS reviews. The following IOZone command was used to benchmark the shares:

IOZone -aczR -g 2097152 -U /PATH_TO_LOCAL_CIFS_MOUNT -f /PATH_TO_LOCAL_CIFS_MOUNT/testfile -b <NAS_NAME>_CIFS_EXCEL_BIN.xls > <NAS_NAME>_CIFS_CSV.csv

IOZone provides benchmark numbers for a multitude of access scenarios with varying file sizes and record lengths. Some of these are very susceptible to caching effects on the client side. This is evident in some of the graphs in the gallery below.

Readers interested in the hard numbers can refer to the CSV program output here. These numbers will gain relevance as we benchmark more NAS units with similar configuration.

The NFS share was also benchmarked in a similar manner with the following command:

IOZone -aczR -g 2097152 -U /nfs_test_mount/ -f /nfs_test_mount/testfile -b <NAS_NAME>_NFS_EXCEL_BIN.xls > <NAS_NAME>_NFS_CSV.csv

Some scenarios exhibit client caching effects, and these are evident in the gallery below.

The IOZone CSV output can be found here for those interested in the exact numbers.

A summary of the bandwidth numbers for various tests averaged across all file and record sizes is provided in the table below. As noted previously, some of these numbers are skewed by caching effects. A reference to the actual CSV outputs linked above make the entries affected by this effect obvious.

WD My Cloud EX4 - Linux Client Performance (MBps)
IOZone Test CIFS NFS
Init Write 40 18
Re-Write 40 19
Read 26 85
Re-Read 27 87
Random Read 12 33
Random Write 30 16
Backward Read 14 28
Record Re-Write 30 257
Stride Read 23 64
File Write 40 19
File Re-Write 40 18
File Read 17 59
File Re-Read 18 61

 

Single Client Performance - CIFS and iSCSI on Windows Multi-Client Performance - CIFS
Comments Locked

38 Comments

View All Comments

  • Icehawk - Thursday, February 27, 2014 - link

    Raid 5? Why bother - the point of these cheap and slow devices IMO is for simple raid mirroring. I have an old WD 2 device job and it is slow as molasses but I don't really care as it is used as an archive dump to hold stuff I'd hate to lose.
  • chizow - Thursday, February 27, 2014 - link

    Accurate review from what I saw, I have the 2-bay version of the Lenovo/iomega NAS and the WD MyCloud EX4 as well. The hardware, mainly the single core CPU in the WD definitely hold it back especially with multi-client accesses, but I think the key feature that I did not see mentioned at all is the MyCloud's excellent cloud functionality. It also has a very easy to use smartphone app that allows you to access the NAS contents securely from anywhere with just a single sign-on username, no need for IPs or hostnames, port-forwarding, SSH or anything else that would scare off the average home user.

    The Iomega units are solid for their price, but they definitely aren't as fast as the Qnap or Synology units of the world, but the Iomegas can be had for a fraction of the price. Good entry-level home NAS units for those that have extra HDDs lying around and want to provide centralized network storage.
  • Frolictoo - Sunday, March 2, 2014 - link

    I still can't believe that vendors use SATA II connectors when most new NAS drives come in the SATA III flavor. If legacy reasoning is the case then why not add both options; SATA III is backwards compatible with SATA II. I have just built a new NAS using all WD RED drives on a RAID 10 array and I am truly satisfied with the impressive performance gain over the older SATA II counterparts.
  • M/2 - Sunday, March 2, 2014 - link

    I've never understood consumer grade NAS drives. They're slow and problematic. Why not just set up a 4-bay RAID attached to a small computer and get RAID5 speeds over the network? I've got a 4-bay, USB3, RAID5 box (~$250 plus the cost of the drives) connected to a MacMini. Even on USB3, I get 250 Mb/s read/writes, Voila! 6X faster than NAS!

    Assuming you're using the Mini for other things than just network storage, the cost is about the same. There's also a dozen or so little MicroPC's with USB3 for ~$300-400 that you can do the same thing with if you're doing Windows. I love the MacMini because I can do everything I need over Remote Desktop, I never have to touch the Mini. You can put it in any dark corner and do everything remotely. Mine is in the very back of the entertainment center, it's just one more HDMI input on the AV receiver. If I need a big screen (iTunes, photos, movies) it's always there. Otherwise, it's there for remote clients including, laptops and AppleTV's. Try playing music or movies from a NAS drive! Yes you can do it, but it's not plug and play. This isn't intended to be an advert for Mac's, I just like my setup. You can do the same thing with a MicroPC.

    What am I missing? Be nice, I'm not an IT guy.
  • chizow - Monday, March 3, 2014 - link

    2 main reasons I can think of that prevented me from going this route:

    1) Power consumption: if you have something that you could repurpose for a NAS server, it's probably going to be old and power hungry. No way I would want one of my old X58 rigs powered 24/7 just to file server on my network. The WD MyCloud EX4 for example uses only ~15W idle and 30W under load. Huge difference.

    2) Price: There are definitely low-power options available now, even something like a NUC connected over USB 3.0 wouldn't be a terrible option, or a mini-ITX box. But then you are talking real money, and that's before you take the drives into account.

    Consumer-grade NAS boxes are often good enough, especially if you aren't asking a whole lot of them. I use mine to access shared DVRed shows from multiple PC clients wirelessly over the network as well as backing up data on my client machines, tablets, smartphones and it works well enough, provided I don't ask too much of it at once.
  • M/2 - Monday, March 3, 2014 - link

    re: Power consumption... You got my curiosity going, a Mac Mini consumes 11W in idle mode (configured for wake on LAN). Mine has SSD's (RAID0 :) ), so it starts quick. I'm using a Dyconn Quartz4 which sleeps, there's no spec, but I'm assuming sleep mode must low, 4-5W? at most it's the same as a NAS.... so not much difference (at least to me)

    Re: NUC --- that's the cheaper option, except for one thing, it's Windows which is a pain in the *ss to manage ( for home use anyway, IMO, I made the switch about 5 yrs ago, never looked back) --- Regardless... I'm assuming the Mini is $0 added cost since I use it for other stuff besides network storage.
  • RAYBOYD44 - Monday, March 3, 2014 - link

    John . even though Eleanor `s remark is super, last week I got BMW M3 after having made $6301 this last 5 weeks and over 10-k lass-month . this is certainly the best-work I have ever had . I actually started nine months/ago and straight away made myself over $70, p/h . s
  • vanel86 - Monday, March 3, 2014 - link

    Since i owned a ix2-200d and a ix4-200d(free swap after my ix2 gave up and failed its own disks) i can attest you should run when offered the chance to get a lifeline -based device. If you activate the idle spin-off there is a very real chance the disk will be marked as dead by mdadm and since the disks die like flies in those due to the asthmatic fan(which spin on only if you get catastrophic temperatures) you are risking data daily if you use any powersaving option. The CIFS, NFS and AFS are very unoptimized, you can get unironically faster performance if you create a iscsi storage partition(which is the sole reediming feature of the former emc owned iomegas ixes, full vmware certification) and run a freenas within the storage area

Log in

Don't have an account? Sign up now