<div dir="ltr">Hi,<div><br></div><div>1. Please add in global section in smb.conf the following lines:</div><div><br></div><div>kernel oplocks = no</div><div>stat cache &nbsp; &nbsp; &nbsp;= no</div><div><br></div><div>2. service smb restart</div>
<div><br></div><div>Please try the same test and let us know if that helps to increase the throughput.</div><div><br></div><div><br></div><div>Raghavendra Talur</div><div><br></div><div><br></div><div><br></div><div><br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 6, 2013 at 1:00 PM, haiwei.xie-soulinfo <span dir="ltr">&lt;<a href="mailto:haiwei.xie@soulinfo.com" target="_blank">haiwei.xie@soulinfo.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, All<br>
<br>
samba vfs low performance, compare with non-vfs export dir.<br>
<br>
nonvfs:<br>
[root@infi131 cifs]# dd if=/dev/zero of=test1 bs=64k<br>
^C记录了55548+1 的读入<br>
记录了55548+0 的写出<br>
3640393728字节(3.6 GB)已复制,17.192 秒,212 MB/秒<br>
<br>
vfs:<br>
[root@infi131 cifs]# cd /mnt/cifs<br>
[root@infi131 cifs]# dd if=/dev/zero of=test1 bs=64k count=10000<br>
记录了10000+0 的读入<br>
记录了10000+0 的写出<br>
655360000字节(655 MB)已复制,7.11406 秒,92.1 MB/秒<br>
<br>
<br>
Any advise? Thanks<br>
<br>
terrs.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
&gt;<br>
&gt; hi, my testing:<br>
&gt;<br>
&gt; # glusterd -V<br>
&gt; glusterfs 3.4.0 built on Jul 25 2013 04:12:26<br>
&gt;<br>
&gt; # smbd -V<br>
&gt; Version 3.6.9-151.el6<br>
&gt;<br>
&gt; samba-gluster-vfs:<br>
&gt; git://<a href="http://forge.gluster.org/samba-glusterfs/samba-glusterfs-vfs.git" target="_blank">forge.gluster.org/samba-glusterfs/samba-glusterfs-vfs.git</a><br>
&gt;<br>
&gt; smb.conf:<br>
&gt; [gvol]<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; comment = For samba export of volume &nbsp;test<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; vfs objects = glusterfs<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; glusterfs:volfile_server = localhost<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; glusterfs:volume = two<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; path = /<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; read only = no<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; guest ok = yes<br>
&gt;<br>
&gt;<br>
&gt; On linux client, but dd testing will be pending.<br>
&gt;<br>
&gt; dd if=/dev/zero of=data bs=64k count=10000, successfully.<br>
&gt; dd if=/dev/zero of=data bs=128k count=10000, pending.<br>
&gt;<br>
&gt; Samba4.1 needed? &nbsp;Thanks.<br>
&gt;<br>
&gt; -terrs<br>
&gt;<br>
&gt;<br>
&gt; On Mon, 29 Jul 2013 02:10:10 -0700<br>
&gt; Anand Avati &lt;<a href="mailto:anand.avati@gmail.com">anand.avati@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; On Mon, Jul 29, 2013 at 1:56 AM, Nux! &lt;<a href="mailto:nux@li.nux.ro">nux@li.nux.ro</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; On 29.07.2013 07:16, Daniel Müller wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;&gt; But you need to have gluster installed!? Which version?<br>
&gt; &gt; &gt;&gt; Samba4.1 does not compile with the lates glusterfs 3.4 on CentOs 6.4.<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; From what JM said, it builds against EL6 Samba (3.6) and it has also been<br>
&gt; &gt; &gt; added to upstream.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; You will need the latest Samba 4.1 release (or git HEAD),and<br>
&gt; &gt; glusterfs-api-devel RPM (with its deps) installed at the time of building<br>
&gt; &gt; Samba to get the vfs module built.<br>
&gt; &gt;<br>
&gt; &gt; Avati<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
谢海威<br>
软件项目经理<br>
电话: &nbsp;+86 10-68920588<br>
手机: &nbsp;+86 13911703586<br>
Email: &nbsp;<a href="mailto:haiwei.xie@soulinfo.com">haiwei.xie@soulinfo.com</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<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><br clear="all"><div><br></div>-- <br>
<div dir="ltr"><font color="#666666"><b>Raghavendra Talur&nbsp;</b></font><div><br></div></div>
</div>