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, 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 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.

Synology DS214play - Linux Client Performance (MBps)
IOZone Test CIFS NFS
Init Write 72 67
Re-Write 75 70
Read 27 105
Re-Read 27 110
Random Read 15 40
Random Write 57 60
Backward Read 15 33
Record Re-Write 43 803*
Stride Read 24 74
File Write 74 71
File Re-Write 73 72
File Read 19 75
File Re-Read 19 77
*: Performance number skewed by caching effect

 

Encryption Support Evaluation - Single Client CIFS on Windows Multi-Client Performance - CIFS
Comments Locked

45 Comments

View All Comments

  • ganeshts - Tuesday, May 20, 2014 - link

    As I mentioned in the review's Video Transcode section and also in the concluding remarks, Plex has never cared about hardware acceleration. So, yes, you are right - no HW transcode with Plex on any Evansport platform ; Only bet for hw transcode amongst NAS vendors is Synology's DSM -- just wish it was more stable :)
  • Aikouka - Tuesday, May 20, 2014 - link

    Ah, apologies because I hadn't gotten to those sections yet when I made my comment. I don't know if it's necessarily an issue of PLEX not caring, but I assume that migrating to a new version of FFMPEG isn't a simple task (I read a post from an employee saying that they use a custom version). So, if I had to guess (note: I have no affiliation with PLEX; I just read the forums sometimes), I assume that they want to wait until there's a more pressing reason to upgrade the codec.

    Although, I hope they upgrade it soon, because I've found some annoying crash-to-desktop issues with stylized subtitles in the Windows version of PLEX Home Theater. In one instance, not even Media Player Classic: Home Cinema could handle it, but in the other, it played fine.
  • imaheadcase - Tuesday, May 20, 2014 - link

    "Network throughput can't be it (I get 900Mbps over my home network moving files between PCs)."

    Right..I ditched my WHS and never looked back. Nothing it offered can't really be done with these. Unless you got some weird custom software you like to run.
  • imaheadcase - Tuesday, May 20, 2014 - link

    "Network throughput can't be it (I get 900Mbps over my home network moving files between PCs)."

    That means nothing when you are limited to hardrive speed fyi. You can have a Fiber link between PCs and still limited to slow HD on server.
  • wicketr - Tuesday, May 20, 2014 - link

    You spent time building your rig, right? How much do you value your time? $50/hr? $100/hr? I'm guessing between assembling your rig and configuring it the way you want, you probably spent 5+ hrs. If your time is worth anything of significance, then the cost of your set up far exceeds the cost of a NAS.

    Additionally, all the features of the mobile app ecosystem are non-existent for a home setup.

    A NAS is simply for people that want a easy data storage device that requires little/no time to setup, and offers a multitude of features for access to that data. It's NOT meant as a full blown server. It's a NAS. Even medium/large companies use them for those benefits of simplicity.
  • bsd228 - Tuesday, May 20, 2014 - link

    bzontins - people are paying for a smaller, lower power, turn key solution. You can get close to the size with the HP Microserver, though until the Gen 8 the cpu performance was not much better than the athlons but with much higher power draws. Until sandy bridge, general purpose cpus were too power hungry. The use of HW acceleration for transcoding is a pretty nice feature of this model, and if that continues, could turn the tide.

    turn key is worth a lot to many people, either because they don't know how to do it themselves, or because they don't want to. As the number of apps increased for these boxes, the need for running solaris or linux is somewhat diminished.
  • easp - Thursday, May 22, 2014 - link

    I hear ya. I like the theory of trading money to save myself time, except for stuff like this, I always end up doing it myself. I've even purchased cheap two drive NASs (ZyXel NSA 320) and then gone to the trouble of running debian on them.

    I just bought a mini-ITX Kabini board to build a new, faster NAS. I wish their were better options on compact 2 & 4 drive cases and low power PSUs. I prefer having two devices in different parts of the house, with one backing up the other, and I don't want to stuff a big video card in it, so the bigger cases are overkill.
  • richricard - Tuesday, June 17, 2014 - link

    I'm a bit late to the party here but I'll stick my nose in anyway. I've spent many years building countless machines of all shapes and sizes, I'm a programmer by trade, and I'd even go so far as to say I enjoy working with complex networks. But you couldn't pay me the world to change my Synology for any other NAS. Certainly the open source stuff I've looked at pales in comparison to the DSM.

    If the hardware specs are all you're weighing up then you're missing the point. Fully 50% of what your spending your money on when you buy a Synology is the OS and the apps that come with it. It's just incredible. You really just have to sit down and use one to see how simple, fully featured, and stable they are.

    I guess the bottom line for me though (and this may sound a little simplistic), is that they just work. The last thing I want to do when I get home at night is start messing around with a server, and I've never had a single issue in the 6~7 years I've been using Synology's products.

    I've also convinced quite a lot of friends and colleagues of their virtues and not one has been the least bit disappointed about buying one.

    I'm currently on my 2nd Synology and am considering moving to the 214Play, solely because I want x86 to run some bits on, but my 212+ is a shiner as well!
  • imaheadcase - Tuesday, May 20, 2014 - link

    These are made not for idiot proofing, they are made to just work. I've had mine sitting in a spare room for 2 years and has never needed to even go look at it. (4 unit 12TB) data for media.

    It streams to My TV from XBMC/Couchpotato/SABnsbd anything I throw at it, stores movies/music/etc without a hickup.

    Many businesses also have these for ease of use.

    The only difference a custom one offers is just to say you made it, it can't do anymore really than these units can. Or if it can, its just something that caters to YOU and not really other people. You don't need tons of ram for these system to get jobs done (I had a WHS original with only 512megs did all what this can do), and CPU can handle it just fine.
  • imaheadcase - Tuesday, May 20, 2014 - link

    Can't figure out how to edit, but you can also run TONS of apps with these, even ones not listed you can install on the linux side of these. you can run plex server/website/mumble server/etc.

Log in

Don't have an account? Sign up now