<html><head><meta http-equiv="Content-Type" content="text/html charset=GB2312"><meta http-equiv="Content-Type" content="text/html charset=GB2312"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi<div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>We use gluster samba vfs test io,but the read performance via vfs is half of write perfomance,</div><div>but via fuse the read and write performance is almost the same.</div><div><br></div><div>this is our smb.conf:</div><div>[global]</div><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>any advises helpful?</div><div><div apple-content-edited="true">
<div class="" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div class="" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">thanks<br class="Apple-interchange-newline">&nbsp;</div><div class="" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">kane &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div class="" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">----------------------------------------------------------------</div><div class="" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div class="" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Email: &nbsp;<a href="mailto:kai.zhou@soulinfo.com">kai.zhou@soulinfo.com</a><br class="">µç»°: &nbsp; &nbsp;0510-85385788-616</div><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><br class="Apple-interchange-newline"><br></span></div>
<br></div></body></html>