Linux Client Performance - CIFS and NFS

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.

QNAP TS-451 - Linux Client Performance (MBps)
IOZone Test CIFS NFS
Init Write 67 69
Re-Write 69 74
Read 34 125
Re-Read 34 125
Random Read 21 62
Random Write 62 71
Backward Read 21 49
Record Re-Write 788* 1317*
Stride Read 32 106
File Write 68 79
File Re-Write 69 80
File Read 24 89
File Re-Read 24 92
*: Number skewed by caching effect

 

Single Client Performance - iSCSI on Windows Encryption Support Evaluation
Comments Locked

55 Comments

View All Comments

  • jabber - Tuesday, July 29, 2014 - link

    I'm just amazed how many here have forgotten the mantra that often simple is better.

    I'd be amazed if some of you ever get jobs finished or deliver anything with the overly complex solutions you come up with.

    Data storage, redundancy and back up for small business/home use is really not complicated at all. Most of you are worrying about scenarios that rarely if ever occur and if they do...no one will die.

    If you work on someone else'e dime well maybe you can dick around with the Heath Robinson solutions but when you work for yourself and reputation is everything you keep it simple, low maintenance and you deliver it quick. Customers and staff appreciate it too.
  • KSyed0 - Monday, August 11, 2014 - link

    I completely agree. My days of tweaking HW and fiddling with my computers is long gone. I don't care about saving $100 and losing 1 or 2 days putting it all together and setting it up.

    My synology was up and running within 15 minutes of getting home. I've upgraded drives twice already.

    I think this is a key point that differentiates Synology from QNAP or other NAS vendors. You can use the Synology SHR (Syn Hybrid RAID) with mixed drives, with no wasted space!

    MKS
  • tmoz13 - Tuesday, July 29, 2014 - link

    So how does it compare to the Synology DS415play? Which one would you choose if you had to pick one?
  • carage - Thursday, August 7, 2014 - link

    I would probably steer clear from Synology for now, at least until this whole Synolock problem is gone.
  • KSyed0 - Monday, August 11, 2014 - link

    I have to jump in - the Synolocker problem is only on the "old" OS, and it was patched almost 9 months ago. People who don't update their base OS or at least to the latest patches many months later, are always at risk. I know that you could make an argument that these NAS boxes should autoupdate, but at least it will warn you that an update is available.

    For the purchase of a new unit (which is already running the new OS), this is not an issue.

    MKS
  • ZilchTech - Tuesday, July 29, 2014 - link

    Ganesh, I am looking forward to what you have to say about the ts 451 and virtualization. I am ready to buy a NAS and was set to buy a Synology DS415play. From what I could ascertain, the Synology OS and robust community make it a safe choice for someone like me who is buying their first NAS. The QNAP however seems to have moved ahead of Synology with the celeron and VM capabilities.
    Thanks for your thorough work.
  • ganeshts - Wednesday, July 30, 2014 - link

    I have been using the VS app without any issues for the last 3 - 4 weeks. While there has been nothing fatal, I do miss some features (having come from a Hyper-V background). For example, I am currently yet to find a way to associate multiple storage controllers to a single VM. I also can't use a USB Wi-Fi stick as the network adapter for a VM (wanted to keep port-trunking in place for the baseline NAS operation). Data transfer between the host and the guest machines always need to go through the physical network ports for now.

    So, yes, there are plenty of areas where the app can improve, but the baseline functionality with respect to VM hosting is as stable as QEMU is stable on Linux.
  • ZilchTech - Wednesday, July 30, 2014 - link

    Is the QNAP QTS OS 64 bit? I have been under the impression that consumer NAS appliances have operated under 32 bit OSs. The j1800 can address 8 gigs. The TS-251 and TS-451 have 2 ram slots that will accommodate 8 gigs. The TS-251 comes with 2 gigs and needs 4 gigs to use the VS Station. The TS-451 comes with 4 gigs. The VS station requires a minimum of 4 gigs so I'll assume the extra 4 gigs could be allotted to the VM.
  • ganeshts - Wednesday, July 30, 2014 - link

    Yes, QTS is 64-bit (you can see that in the SSH screenshot also). You can have up to 8G of RAM in the x51 series.

    VS models require at least 4G, but the VMs can be configured with 1G or 2G of RAM. The remaining is allocated to QTS for its baseline operation.

    I am currently running a Windows 8 VM with 2G of RAM on the TS-451. The other 2G is allocated for normal NAS usage.
  • aryonoco - Thursday, July 31, 2014 - link

    Ganesh,

    I wish you would start addressing the issue of bitrot in your reviews.

    With ever increasing number of disks and ever increasing size of disks, this is becoming a real problem. Some attention to this, and how various NAS platforms attempt to correct that (or not) would be great.

    This is an area that greatly requires AnandTech's attention to move the industry forward.

Log in

Don't have an account? Sign up now