<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>First I appreciate for you all, with your&nbsp;last week's points mentioned in the problem I meet with slow samba vfs write performance.</div><div>Then I use fastcopy software to test windows clients write performance, it tells the same performance with iozone rewrite results, reach 450MB/s each client.</div><div><br></div><div>Then I use the same smb.conf test read performance, it shows slow read performance compare with write performance,</div><div>I received two clients total result:</div><div>500MB/s read perf</div><div>900MB/s write perf</div><div><br></div><div>I tested the iozone in the mount dir that is mounted with a raid5 block device:</div><div><span style="font-family: Arial, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); ">writers = 674063.36 KB/sec&nbsp;</span><br style="font-family: Arial, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); "><span style="background-color: rgb(255, 255, 255); font-family: Arial, sans-serif; font-size: 12px; ">readers = 502945.33 KB/sec&nbsp;</span><br></div><div><br></div><div>then i make the same test in fuse mount dir:</div><div><span style="font-family: Arial, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); ">writers = 799379.41 KB/sec&nbsp;</span><br style="font-family: Arial, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); "><span style="font-family: Arial, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); ">readers = 898367.59 KB/sec&nbsp;</span><br style="font-family: Arial, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); "><br></div><div>it show almost the same performance in read and write, so i was confused with the samba vfs client test:</div><div><div>500MB/s read perf</div><div>900MB/s write perf</div></div><div><br></div><div>then i want to test vfs use smb.conf sendfile option, but gluster-vfs currently not supported.</div><div><br></div><div>gluster server volume also set:</div><div><div>performance.read-ahead-page-count: 16</div><div>performance.cache-size: 256MB</div></div><div><br></div><div>smb.conf</div><div><div>[global]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; workgroup = MYGROUP</div><div>&nbsp; &nbsp; &nbsp; &nbsp; server string = DCS Samba Server</div><div>&nbsp; &nbsp; &nbsp; &nbsp; log file = /var/log/samba/log.vfs</div><div>&nbsp; &nbsp; &nbsp; &nbsp; max log size = 500000</div><div># &nbsp; &nbsp; &nbsp; use sendfile = true</div><div>&nbsp; &nbsp; &nbsp; &nbsp; aio read size = 262144</div><div>&nbsp; &nbsp; &nbsp; &nbsp; aio write size = 262144</div><div>&nbsp; &nbsp; &nbsp; &nbsp; aio write behind = true</div><div>&nbsp; &nbsp; &nbsp; &nbsp; min receivefile size = 262144</div><div>&nbsp; &nbsp; &nbsp; &nbsp; write cache size = 268435456</div><div>&nbsp; &nbsp; &nbsp; &nbsp; security = user</div><div>&nbsp; &nbsp; &nbsp; &nbsp; passdb backend = tdbsam</div><div>&nbsp; &nbsp; &nbsp; &nbsp; load printers = yes</div><div>&nbsp; &nbsp; &nbsp; &nbsp; cups options = raw</div><div>&nbsp; &nbsp; &nbsp; &nbsp; read raw = yes</div><div>&nbsp; &nbsp; &nbsp; &nbsp; write raw = yes</div><div>&nbsp; &nbsp; &nbsp; &nbsp; max xmit = 262144</div><div>&nbsp; &nbsp; &nbsp; &nbsp; socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=262144 SO_SNDBUF=262144</div><div>&nbsp; &nbsp; &nbsp; &nbsp; kernel oplocks = no</div><div>&nbsp; &nbsp; &nbsp; &nbsp; stat cache = no</div></div><div><br></div><div><div apple-content-edited="true"><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">So any suggestions tuning the read performance,</div><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Is gluster-vfs aio &amp; sendfile coming soon?&nbsp;</div><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thank You!</div><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">-kane&nbsp;</div></div></div></body></html>