Single Client Performance - CIFS & NFS on Linux

We have recently revamped our Linux-client testing for NAS units, shifting from IOMeter to IOZone. 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

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.

Asustor AS-304T - Linux Client Performance (MBps)
IOZone Test CIFS NFS
Init Write 55 44
Re-Write 61 46
Read 23 95
Re-Read 23 96
Random Read 13 38
Random Write 45 42
Backward Read 13 31
Record Re-Write 35 710*
Stride Read 21 68
File Write 61 45
File Re-Write 58 44
File Read 16 66
File Re-Read 16 66
*: Performance number skewed by caching effect

 

Single Client Performance - CIFS & iSCSI On Windows Multi-Client Performance - CIFS
Comments Locked

34 Comments

View All Comments

  • EricZBA - Wednesday, March 26, 2014 - link

    Can you install Plex on this unit?
  • ganeshts - Wednesday, March 26, 2014 - link

    Yes, available in App Central: http://www.asustor.com/apps/app_detail?id=142

    However, like most platforms, there is no hardware accelerated transcode using Plex
  • imaheadcase - Sunday, March 30, 2014 - link

    Isn't the 1gig of memory hard on apps though? Couchpotato/sickbeard/SABzbd would be a bad idea even if its available since they run as a service. Or am I thinking this wrong.,
  • LordConrad - Wednesday, March 26, 2014 - link

    The hardware specs on these Home/SOHO NAS units are rather anemic. I built my own a couple years ago based on an i3-2120, 8GB RAM, and NAS4free. Much better performance than any Atom-based NAS unit.
  • Beany2013 - Wednesday, March 26, 2014 - link

    I used to agree with you, but I picked up a Synology DS214+ recently and realised that these days, if you just want to be able to saturate a gigabit link when shuffling files, and stream media (with the exception of hardware transcoding to non-PC devices, natch) then something like 'this' is a much, much easier path.

    Especially as I build/fix/generally look after servers and general IT stuff for a living - last thing I want to be doing when I get home is build *another* RAID array...

    It's getting to the stage where these devices are good enough for most of us - IE power users - and only edge cases (such as transcoded streaming) really need a dedicated, self-built server.

    Not arguing!

    Steven R
  • manmax - Wednesday, March 26, 2014 - link

    What if the device decides to quit working and you're using RAID. You may not be able to recover your data by putting the drives in another server. Especially if the original NAS is using hardware RAID.
  • Zak - Thursday, March 27, 2014 - link

    Well, you still need to have a backup.
  • ganeshts - Thursday, March 27, 2014 - link

    Most of these COTS NAS units (Synology / QNAP / Asustor etc.) don't use hardware RAID. Just take off the drives, plug them into a PC, make images and mount them. Linux systems can auto-recognize these RAID volumes. If using Windows, use something like UFS Explorer to get your data off it. That is the reason I like software RAID more than hardware RAID.
  • CalaverasGrande - Friday, March 28, 2014 - link

    I completely agree. I could really blow the doors off of a NAS custom build. But when I get home after a 12 hour day of Raid rebuilds, Backup restores and email issues, the last thin I want to do is build a boring little Linux storage box.
    My next NAS will eitehr be Synology or Qnap. Good balance of features, performance and most relevantly, a MATURE OS and firmware.
    Heck I may even throw performance out the window and pick up one of the hated DROBO NAS products. They aren't the fastest, and their 'beyondraid' is proprietary. But when I've used their products in professional environs they were easy to set up and worked. Albeit slooooowly.
    Besides, I've yet to meet a raid array level 5 or hhigher that can be migrated between devices without backing it up and restoring it to the "new" raid.
  • Gigaplex - Saturday, March 29, 2014 - link

    Software RAID on Linux is portable between devices.

Log in

Don't have an account? Sign up now