<div dir="ltr">How are you testing this? What tool are you using?<div><br></div><div>Avati</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 17, 2013 at 9:02 PM, kane <span dir="ltr">&lt;<a href="mailto:stef_9k@163.com" target="_blank">stef_9k@163.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Vijay<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; I used the code in <a href="https://github.com/gluster/glusterfs.git" target="_blank">https://github.com/gluster/glusterfs.git</a> with the lasted commit:<br>
commit de2a8d303311bd600cb93a775bc79a0edea1ee1a<br>
Author: Anand Avati &lt;<a href="mailto:avati@redhat.com">avati@redhat.com</a>&gt;<br>
Date: &nbsp; Tue Sep 17 16:45:03 2013 -0700<br>
<br>
&nbsp; &nbsp; Revert &quot;cluster/distribute: Rebalance should also verify free inodes&quot;<br>
<br>
&nbsp; &nbsp; This reverts commit 215fea41a96479312a5ab8783c13b30ab9fe00fa<br>
<br>
&nbsp; &nbsp; Realized soon after merging, &hellip;.<br>
<br>
which include the patch you mentioned last time improve read perf, written by Anand.<br>
<br>
but the read perf was still slow:<br>
write: 500MB/s<br>
read: 77MB/s<br>
<br>
while via fuse :<br>
write 800MB/s<br>
read 600MB/s<br>
<br>
any advises?<br>
<br>
<br>
Thank you.<br>
-Kane<br>
<br>
$B:_(B 2013-9-13$B!$2<8a(B10:37$B!$(Bkane &lt;<a href="mailto:stef_9k@163.com">stef_9k@163.com</a>&gt; $B<LF;!'(B<br>
<div class="HOEnZb"><div class="h5"><br>
&gt; Hi Vijay$B!$(B<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; thank you for post this message, i will try it soon<br>
&gt;<br>
&gt; -kane<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; $B:_(B 2013-9-13$B!$2<8a(B9:21$B!$(BVijay Bellur &lt;<a href="mailto:vbellur@redhat.com">vbellur@redhat.com</a>&gt; $B<LF;!'(B<br>
&gt;<br>
&gt;&gt; On 09/13/2013 06:10 PM, kane wrote:<br>
&gt;&gt;&gt; Hi<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; We use gluster samba vfs test io,but the read performance via vfs is<br>
&gt;&gt;&gt; half of write perfomance,<br>
&gt;&gt;&gt; but via fuse the read and write performance is almost the same.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; this is our smb.conf:<br>
&gt;&gt;&gt; [global]<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;workgroup = MYGROUP<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;server string = DCS Samba Server<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;log file = /var/log/samba/log.vfs<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;max log size = 500000<br>
&gt;&gt;&gt; # &nbsp; &nbsp; &nbsp; use sendfile = true<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;aio read size = 262144<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;aio write size = 262144<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;aio write behind = true<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;min receivefile size = 262144<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;write cache size = 268435456<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;security = user<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;passdb backend = tdbsam<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;load printers = yes<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;cups options = raw<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;read raw = yes<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;write raw = yes<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;max xmit = 262144<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=262144<br>
&gt;&gt;&gt; SO_SNDBUF=262144<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;kernel oplocks = no<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;stat cache = no<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; any advises helpful?<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; This patch has shown improvement in read performance with libgfapi:<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://review.gluster.org/#/c/5897/" target="_blank">http://review.gluster.org/#/c/5897/</a><br>
&gt;&gt;<br>
&gt;&gt; Would it be possible for you to try this patch and check if it improves performance in your case?<br>
&gt;&gt;<br>
&gt;&gt; -Vijay<br>
&gt;&gt;<br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></div></div></blockquote></div><br></div>