Single Client Performance - CIFS and NFS on Linux

A CentOS 6.2 virtual machine was used to evaluate NFS and CIFS performance of the NAS when accessed from a Linux client. We chose IOZone as the benchmark for this case. In order to standardize the testing across multiple NAS units, we mount the CIFS and NFS shares during startup with the following /etc/fstab entries.

//<NAS_IP>/PATH_TO_SMB_SHARE /PATH_TO_LOCAL_MOUNT_FOLDER cifs rw,username=guest,password= 0 0

<NAS_IP>:/PATH_TO_NFS_SHARE /PATH_TO_LOCAL_MOUNT_FOLDER nfs rw,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=600,retrans=2, sec=sys,mountaddr <NAS_IP>,mountvers=3,mountproto=udp,local_lock=none,addr=<NAS_IP> 0 0

The following IOZone command was used to benchmark the CIFS share:

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.

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 AS7008T - Linux Client Performance (MBps)
IOZone Test CIFS NFS
Init Write 82 82
Re-Write 83 81
Read 46 122
Re-Read 48 122
Random Read 27 56
Random Write 82 78
Backward Read 26 44
Record Re-Write 1690* 1637*
Stride Read 44 104
File Write 82 81
File Re-Write 84 81
File Read 33 90
File Re-Read 33 91
*: Benchmark number skewed due to caching effect
Single Client Performance - CIFS & iSCSI on Windows Multi-Client Performance - CIFS on Windows
Comments Locked

29 Comments

View All Comments

  • Lycoming360 - Sunday, November 30, 2014 - link

    I'd love to have that rebuild speed in my Synology unit. But, you certainly do pay for that speed!
  • Jcowley - Sunday, November 30, 2014 - link

    Maybe I don't understand but what are you getting for your $1500 over building your own NAS with equivalent/better hardware?

    I understand the whole off-the-shelf and it just works aspect is worth a bit but $1500 seems extortionately high for what is essential just hot-swap bays on top of anything you could build yourself.
  • bill.rookard - Sunday, November 30, 2014 - link

    I agree, I have my NAS, rackmount case (no hot swap sadly), and 5 2tb drives for a total of about $1000.00. (Drives were purchased at a slight premium to what they can be had for now).
  • DigitalFreak - Monday, December 1, 2014 - link

    Here we go again. Not everyone wants to spend the time to research, build and install their own NAS. Having a single point of contact for support and software updates is also worth the $$ to some people and especially businesses.

    That being said, I do think the Asus is overpriced compared to a Synology, even taking into consideration the Haswell hardware.
  • bill.rookard - Monday, December 1, 2014 - link

    I don't disagree at all with that, there certainly is (as evidenced by the expanding options by various companies) a market for a one-stop, plug in the drives, connect the ethernet cable and power it up units. People are even willing to pay a premium for such a device in a space efficient package.

    However, any decent tech guy should be able to put together a decent simple Linux-based box (which is what FreeNAS is based off of) for file servicing. These days, with the hardware which is available, the bar to putting together something small, or large, power efficient, and rock solid is much lower and much less expensive than many people realize.
  • PrimozR - Monday, December 1, 2014 - link

    FreeNAS is based off FreeBSD. Still Unix, not Linux though.
  • bill.rookard - Monday, December 1, 2014 - link

    Yes, I know it's based off of FreeBSD... technicalities... :) I guess I should have, since I was just using a basic generalization of the type of OS, that it was 'based of *nix' since they share very similar underpinnings.
  • Black Obsidian - Monday, December 1, 2014 - link

    I don't think anyone is disputing that SOME premium is justified by the value of a pre-built, supported machine. The question seems to revolve around how MUCH premium is justified, especially in larger NAS boxes like this one.

    Having recently built a media server with virtually identical specs, I can say that with Asustor you're paying a 200% markup for the convenience of pre-built and support. Which seems a bit steep, especially from Asustor, which doesn't have the brand cachet of Synology.
  • peterfares - Monday, December 1, 2014 - link

    Here we go again. People thinking these insane markups are justifiable.
  • peterfares - Monday, December 1, 2014 - link

    I'm sure it makes sense in SOME cases to buy these prebuilts but some people seem to really over-value their time.

Log in

Don't have an account? Sign up now