{"id":25051,"date":"2015-12-12T15:43:17","date_gmt":"2015-12-12T13:43:17","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=25051"},"modified":"2015-12-12T15:43:17","modified_gmt":"2015-12-12T13:43:17","slug":"nas-performance-nfs-vs-samba-vs-glusterfs","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2015\/12\/12\/nas-performance-nfs-vs-samba-vs-glusterfs\/","title":{"rendered":"NAS Performance: NFS vs Samba vs GlusterFS"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>I came across <a href=\"http:\/\/serverfault.com\/questions\/372151\/nas-performance-nfs-vs-samba-vs-glusterfs\">this question<\/a> and also found the results of the benchmarks somewhat surprising.<\/p>\n<blockquote>\n<ul>\n<li>GlusterFS replicated 2: <strong>32-35 seconds<\/strong>, high CPU load<\/li>\n<li>GlusterFS single: <strong>14-16 seconds<\/strong>, high CPU load<\/li>\n<li>GlusterFS + NFS client: <strong>16-19 seconds<\/strong>, high CPU load<\/li>\n<li>NFS kernel server + NFS client (sync): <strong>32-36 seconds<\/strong>, very low CPU load<\/li>\n<li>NFS kernel server + NFS client (async): <strong>3-4 seconds<\/strong>, very low CPU load<\/li>\n<li>Samba: <strong>4-7 seconds<\/strong>, medium CPU load<\/li>\n<li>Direct disk: <strong>&lt; 1<\/strong> second<\/li>\n<\/ul>\n<\/blockquote>\n<p>The post is from 2012, so I&#8217;m curious if this is still accurate. Has anybody tried this? Can confirm or otherwise?<\/p>\n<p>Also, an interesting note from <a href=\"http:\/\/serverfault.com\/a\/398050\">the answer<\/a> to the above:<\/p>\n<blockquote><p>From what I&#8217;ve seen after a couple of packet captures, the SMB protocol can be chatty, but the latest version of Samba implements SMB2 which can both issue multiple commands with one packet, and issue multiple commands while waiting for an ACK from the last command to come back. This has vastly improved its speed, at least in my experience, and I know I was shocked the first time I saw the speed difference too &#8211; <a href=\"http:\/\/serverfault.com\/questions\/394705\/troubleshooting-network-speeds-the-age-old-inquiry\">Troubleshooting Network Speeds &#8212; The Age Old Inquiry<\/a><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>I came across this question and also found the results of the benchmarks somewhat surprising. GlusterFS replicated 2: 32-35 seconds, high CPU load GlusterFS single: 14-16 seconds, high CPU load GlusterFS + NFS client: 16-19 seconds, high CPU load NFS kernel server + NFS client (sync): 32-36 seconds, very low CPU load NFS kernel server &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2015\/12\/12\/nas-performance-nfs-vs-samba-vs-glusterfs\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">NAS Performance: NFS vs Samba vs GlusterFS<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"NAS Performance: NFS vs Samba vs GlusterFS #performance #benchmark #NAS #WebHosting","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,6,133,62],"tags":[3401,281,3402,1057,3403,3212,2289],"keyring_services":[],"class_list":["post-25051","post","type-post","status-publish","format-standard","hentry","category-general","category-linux","category-sysadmin","category-technology","tag-glusterfs","tag-networks","tag-nfs","tag-performance","tag-samba","tag-storage","tag-web-hosting"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":24022,"url":"https:\/\/mamchenkov.net\/wordpress\/2015\/04\/30\/amazon-efs-preview\/","url_meta":{"origin":25051,"position":0},"title":"Amazon EFS preview","author":"Leonid Mamchenkov","date":"April 30, 2015","format":false,"excerpt":"Amazon Elastic File System, or EFS for short, is the missing piece of the cloud puzzle. \u00a0With all those EC2 instances, elastic load balances and IAM roles, one would often need a shared file system. \u00a0Until now, you'd either be using either an S3-based solution, which scales well in terms\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"Amazon EFS","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/04\/pdp_banner_efs-500x88.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":94,"url":"https:\/\/mamchenkov.net\/wordpress\/2002\/12\/05\/ldap-nfs-autmount\/","url_meta":{"origin":25051,"position":1},"title":"LDAP, NFS, autmount","author":"Leonid Mamchenkov","date":"December 5, 2002","format":false,"excerpt":"Test LDAP machine installed today. Test NFS (for homes) installed today. Automount of user's home directory upon login gives a hell a lot of problems. We'll see how it goes.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26220,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/07\/01\/amazon-elastic-file-system\/","url_meta":{"origin":25051,"position":2},"title":"Amazon Elastic File System","author":"Leonid Mamchenkov","date":"July 1, 2016","format":false,"excerpt":"Here are some great news from the Amazon AWS blog - the announcement of the Elastic File System (EFS): EFS lets you create POSIX-compliant file systems and attach them to one or more of your EC2 instances via NFS. The file system grows and shrinks as necessary (there\u2019s no fixed\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":187,"url":"https:\/\/mamchenkov.net\/wordpress\/2003\/04\/13\/configuring-olgas-workstation\/","url_meta":{"origin":25051,"position":3},"title":"Configuring Olga&#8217;s workstation","author":"Leonid Mamchenkov","date":"April 13, 2003","format":false,"excerpt":"I've finished configuration of Olga's workstation. Basically, everything was properly autodetected and configured. I just had to copy games highscores back to \/var\/lib\/games and overwrite \/etc\/passwd*, \/etc\/group*, and \/etc\/shadow* with the network copy of the files. xmms-mp3 RPM had to be downloaded from FreshRPMS.net and installed on her box to\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28351,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/01\/30\/getting-the-best-performance-out-of-amazon-efs\/","url_meta":{"origin":25051,"position":4},"title":"Getting the best performance out of Amazon EFS","author":"Leonid Mamchenkov","date":"January 30, 2018","format":false,"excerpt":"Jeff Geerling shares his tips for \"Getting the best performance out of Amazon EFS\".\u00a0 Given how (still) new the Amazon EFS is and how limited is the documentation of the best practices, this stuff is golden. tl;dr: EFS is NFS. Networked file systems have inherent tradeoffs over local filesystem access\u2014EFS\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28892,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/10\/25\/croc-simple-and-secure-cross-platform-file-transfer\/","url_meta":{"origin":25051,"position":5},"title":"croc &#8211; simple and secure cross-platform file transfer","author":"Leonid Mamchenkov","date":"October 25, 2018","format":false,"excerpt":"croc is a very simple but super useful utility, which helps with occasional file transfers between two computers. When you need to send a few files to a friend on another computer or in another country - this might just be the easiest way.\u00a0 No need to setup HTTP or\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/10\/croc-500x283.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/25051","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=25051"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/25051\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=25051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=25051"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=25051"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=25051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}