{"id":1648,"date":"2013-02-08T11:58:05","date_gmt":"2013-02-08T16:58:05","guid":{"rendered":"http:\/\/www.kickflop.net\/blog\/?p=1648"},"modified":"2013-02-08T12:50:05","modified_gmt":"2013-02-08T17:50:05","slug":"cifs-read-performance-on-linux-3-2","status":"publish","type":"post","link":"https:\/\/www.kickflop.net\/blog\/2013\/02\/08\/cifs-read-performance-on-linux-3-2\/","title":{"rendered":"CIFS read performance on Linux < 3.2"},"content":{"rendered":"<p>Here&#8217;s what you can expect from read performance using the Linux CIFS kernel module prior to kernel 3.2.<\/p>\n<p>See the &#8216;rsync&#8217; graph in the lower right.<\/p>\n<p><a href=\"https:\/\/www.kickflop.net\/blog\/wp-content\/uploads\/2013\/02\/cifs-ko.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.kickflop.net\/blog\/wp-content\/uploads\/2013\/02\/cifs-ko-300x192.png\" alt=\"Abysmal CIFS read performance\" width=\"300\" height=\"192\" class=\"aligncenter size-medium wp-image-1649\" srcset=\"https:\/\/www.kickflop.net\/blog\/wp-content\/uploads\/2013\/02\/cifs-ko-300x192.png 300w, https:\/\/www.kickflop.net\/blog\/wp-content\/uploads\/2013\/02\/cifs-ko.png 828w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Relevant context:<\/p>\n<ol>\n<li>Each of the colors in the rsync graph represent remote WAN sites. Each data point represents a transfer of ~200MB.<\/li>\n<li>No amount of dickering with the <code>cifs.ko<\/code> kernel module options improved anything<\/li>\n<li>All sites have at least 1.5Mbps links<\/li>\n<li>An HTTP get to each remote site ran at ~900kbps<\/li>\n<li>Using a Windows 2008 client to each remote site&#8217;s CIFS share gave ~940kbps<\/li>\n<li>Performance did not improve when using <code>cp<\/code> in place of <code>rsync<\/code>, nor did it improve with tweaks to the rsync options.<\/li>\n<li>The client of the CIFS shares was 96% CPU idle. A textbook case for illustrating to novices the reduced value of looking at load averages (see graph) to indicate how hard a host is working. The CPU graph was removed as it was irrelevant.<\/li>\n<\/ol>\n<p>Thankfully, this is a largely solved issue and we&#8217;ll see it in future distributions. Here is the thread from the <a href=\"http:\/\/comments.gmane.org\/gmane.linux.kernel.cifs\/7782\">linux-cifs<\/a> list.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A story of technical constraints<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,48],"tags":[],"class_list":["post-1648","post","type-post","status-publish","format-standard","hentry","category-sysadmin","category-unixlinux"],"_links":{"self":[{"href":"https:\/\/www.kickflop.net\/blog\/wp-json\/wp\/v2\/posts\/1648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kickflop.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kickflop.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kickflop.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kickflop.net\/blog\/wp-json\/wp\/v2\/comments?post=1648"}],"version-history":[{"count":11,"href":"https:\/\/www.kickflop.net\/blog\/wp-json\/wp\/v2\/posts\/1648\/revisions"}],"predecessor-version":[{"id":1660,"href":"https:\/\/www.kickflop.net\/blog\/wp-json\/wp\/v2\/posts\/1648\/revisions\/1660"}],"wp:attachment":[{"href":"https:\/\/www.kickflop.net\/blog\/wp-json\/wp\/v2\/media?parent=1648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kickflop.net\/blog\/wp-json\/wp\/v2\/categories?post=1648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kickflop.net\/blog\/wp-json\/wp\/v2\/tags?post=1648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}