{"id":32,"date":"2006-07-23T07:23:28","date_gmt":"2006-07-23T05:23:28","guid":{"rendered":"http:\/\/katastrophos.net\/andre\/blog\/2006\/07\/23\/c3200-tweak-2-improving-samba-performance\/"},"modified":"2006-07-23T07:42:32","modified_gmt":"2006-07-23T05:42:32","slug":"c3200-tweak-2-improving-samba-performance","status":"publish","type":"post","link":"https:\/\/katastrophos.net\/andre\/blog\/2006\/07\/23\/c3200-tweak-2-improving-samba-performance\/","title":{"rendered":"C3200 Tweak #2: Improving Samba performance"},"content":{"rendered":"<p>The preinstalled Samba server on both Cacko and standard Sharp ROM proves to be notoriously slow. This is mostly due to the strict syncing that&#8217;s enforced in the smb.conf &#8211; probably to avoid data loss. IMHO, it&#8217;s rather safe to disable this behavior and in turn get a nice speed bump. Here is how to do that:<br \/>\nOn Cacko first delete the default link to the ROM copy of smb.conf:<\/p>\n<pre>\r\nsudo rm \/etc\/samba\/smb.conf\r\n<\/pre>\n<p>Now, copy over from ROM and modify the copy:<\/p>\n<pre>\r\nsudo cp \/usr\/lib.rom\/samba\/smb.conf \/etc\/samba\/smb.conf\r\nsudo mcedit \/etc\/samba\/smb.conf\r\n<\/pre>\n<p>Comment out lines<\/p>\n<pre>\r\nstrict sync = yes\r\nsync always = yes\r\n<\/pre>\n<p>Change the socket options line to<\/p>\n<pre>\r\nsocket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072\r\n<\/pre>\n<p>Please remember to reconnect the mounted samba share on your desktop system.<br \/>\nIn my case the transfer rate on my Buffalo 10Base-T CF-Card jumped from 350 KB\/s to over 820 KB\/s.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The preinstalled Samba server on both Cacko and standard Sharp ROM proves to be notoriously slow. This is mostly due to the strict syncing that&#8217;s enforced in the smb.conf &#8211; probably to avoid data loss. IMHO, it&#8217;s rather safe to disable this behavior and in turn get a nice speed bump. Here is how to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[4,6],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","tag-gadgets","tag-zaurus"],"_links":{"self":[{"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/posts\/32"}],"collection":[{"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":0,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"wp:attachment":[{"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}