Single Client Performance - CIFS & 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.

Synology DS1815+ - Linux Client Performance (MBps)
IOZone Test CIFS NFS
Init Write 85 79
Re-Write 83 79
Read 49 115
Re-Read 51 114
Random Read 30 66
Random Write 80 78
Backward Read 30 53
Record Re-Write 50 1681*
Stride Read 46 116
File Write 83 79
File Re-Write 83 80
File Read 33 94
File Re-Read 36 95
*: Benchmark number skewed due to caching effect
Single Client Performance - CIFS & iSCSI on Windows Multi-Client Performance - CIFS on Windows
Comments Locked

65 Comments

View All Comments

  • stevenrix - Thursday, November 20, 2014 - link

    I actually own the DS1812+. I was going to build my own NAS but I wanted a hardware solution for the RAID, because software RAID is just too slow. Then I could not find the right type of tower I wanted for the drives, that was another issue, then I was not able to expand the RAID on the fly if I wanted to add more drives or even build a dynamic partition, so I decided to go with that solution instead. I haven't got one single problem with my unit that just reached 1 year now.
    There are far better solution in NAS but their price is extremely expensive, starting at 50K like the Equal Logics. This solution is for SMB or people like me that don't want to spend time on assembling parts for a NAS. Also for a good NAS with good parts might cost more money: just the RAID card in hardware (PERC 6 or 7) is $300 and some NAS run with Xeons procs.
  • meyergru - Sunday, November 23, 2014 - link

    I have read the reviews about the Synology NAS devices with Avoton CPUs (DS1815+ and DS415+). Having bought one now myself, I wonder how far they have been tested.

    I got the impression from former Anandtech articles about the new Avoton CPUs, that NAS devices equipped with those should be able to encrypt data with virtually no performance impact. The reviews proved that point, so I bought one.

    However, Synology offers only eCryptFS, which does not work via NFS and exhibits the file names and directory structures in the clear - also, the maximum filename lengths are truncated to 143 characters. Thus, using it for general backup purposes is somewhat pointless.

    On a side note, it is a shame that the Synology kernel configuration does not even include the dm-crypt.ko and cryptoloop.ko modules and that there are no userspace cryptsetup or losetup executables. This limits the usefulness of the Synology Avoton line of products to almost zilch.

    Also, the GPL sources under http://sourceforge.net/projects/dsgpl are out of date. There is no 5.1 version, which would contain the neccessary tools for the new Avoton machines like the DS1815+ and the DS415+. Thus, there is no self-cure for the situation, either.

    This is the kind of improvement hints I have grown accustomed to in Anandtech reviews, but no word of it in the final words of these ones.
  • name99 - Tuesday, November 25, 2014 - link

    "Bay Trail is proving very effective in tablets"
    Seriously? Proof ...
    Being used for such well known brands as Teclast and Onda and Voyo is not "proving very effective".

    Intel's goal for 2014 was 40 million tablets. I'm guessing, since we haven't heard much since that goal was set (but we have heard about the 2014 billion dollar losses in their mobile division, complementing the 2013 billion dollar losses) that they didn't QUITE make that...

    The Foxconn (oops, sorry, "Nokia") iPad mini clone MAY change that --- but that won't ship for another three months, and I expect Apple have a plan in the wings the moment they feel any pressure at the low-end to drop the A5 iPad mini, move the iPad mini 2 down to that price slot, and, if necessary, slide in an A8 based iPaid mini 4 at the high end...

    Meanwhile Lenovo was so impressed with Bay Trail that they dropped it from the Yoga for the (much more expensive) Broadwell-Y, not that that has done them any good...
  • yuanshec - Tuesday, November 25, 2014 - link

    I recently search for a NAS and find this category is actually the most overpriced stuffs in the consumer market nowadays. There are not much hard technology needed to build one and the actual cost is not expensive. And I don't see much power saving compare to a dedicated computer with RAID, and this is not quiet at all. The only possible reason that this high price tag existed is there are not many players (yet) on the market.I would suggested waiting one more year and see what happens. Compared to this, even Macs or iPhone are not overpriced at all...
  • agodzilla - Friday, August 19, 2016 - link

    Synology DS1815+ only SATA / 1.5 Gbps speed will be news

    in the spec DS1815+ have sata2 * 8
    but slot 7 and slot 8 can't over the 1.5 Gbps (SATA1)
    even SSD still can't over the 1.5 Gbps (150MB/s)
    they not tell this problem before consumer buy it,is illegal in your country?

    if the consumer know slot 7 and slot 8 can't over the 1.5 Gbps,they maybe not buy this product
    this is our test video https://youtu.be/YDyEZKT_nAQ

    you can confirm by yourself ,if you have DS1815+

    and DS1813+ same problem ,is so many years

    this will be big news,make Synology say sorry and compensate

Log in

Don't have an account? Sign up now