<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"><<a href="mailto:stef_9k@163.com" target="_blank">stef_9k@163.com</a>></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>
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 <<a href="mailto:avati@redhat.com">avati@redhat.com</a>><br>
Date: Tue Sep 17 16:45:03 2013 -0700<br>
<br>
Revert "cluster/distribute: Rebalance should also verify free inodes"<br>
<br>
This reverts commit 215fea41a96479312a5ab8783c13b30ab9fe00fa<br>
<br>
Realized soon after merging, ….<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 <<a href="mailto:stef_9k@163.com">stef_9k@163.com</a>> $B<LF;!'(B<br>
<div class="HOEnZb"><div class="h5"><br>
> Hi Vijay$B!$(B<br>
><br>
> thank you for post this message, i will try it soon<br>
><br>
> -kane<br>
><br>
><br>
><br>
> $B:_(B 2013-9-13$B!$2<8a(B9:21$B!$(BVijay Bellur <<a href="mailto:vbellur@redhat.com">vbellur@redhat.com</a>> $B<LF;!'(B<br>
><br>
>> On 09/13/2013 06:10 PM, kane wrote:<br>
>>> Hi<br>
>>><br>
>>> We use gluster samba vfs test io,but the read performance via vfs is<br>
>>> half of write perfomance,<br>
>>> but via fuse the read and write performance is almost the same.<br>
>>><br>
>>> this is our smb.conf:<br>
>>> [global]<br>
>>> workgroup = MYGROUP<br>
>>> server string = DCS Samba Server<br>
>>> log file = /var/log/samba/log.vfs<br>
>>> max log size = 500000<br>
>>> # use sendfile = true<br>
>>> aio read size = 262144<br>
>>> aio write size = 262144<br>
>>> aio write behind = true<br>
>>> min receivefile size = 262144<br>
>>> write cache size = 268435456<br>
>>> security = user<br>
>>> passdb backend = tdbsam<br>
>>> load printers = yes<br>
>>> cups options = raw<br>
>>> read raw = yes<br>
>>> write raw = yes<br>
>>> max xmit = 262144<br>
>>> socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=262144<br>
>>> SO_SNDBUF=262144<br>
>>> kernel oplocks = no<br>
>>> stat cache = no<br>
>>><br>
>>> any advises helpful?<br>
>>><br>
>><br>
>> This patch has shown improvement in read performance with libgfapi:<br>
>><br>
>> <a href="http://review.gluster.org/#/c/5897/" target="_blank">http://review.gluster.org/#/c/5897/</a><br>
>><br>
>> Would it be possible for you to try this patch and check if it improves performance in your case?<br>
>><br>
>> -Vijay<br>
>><br>
><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>