<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 = 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"><<a href="mailto:haiwei.xie@soulinfo.com" target="_blank">haiwei.xie@soulinfo.com</a>></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>
><br>
> hi, my testing:<br>
><br>
> # glusterd -V<br>
> glusterfs 3.4.0 built on Jul 25 2013 04:12:26<br>
><br>
> # smbd -V<br>
> Version 3.6.9-151.el6<br>
><br>
> samba-gluster-vfs:<br>
> 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>
><br>
> smb.conf:<br>
> [gvol]<br>
> comment = For samba export of volume test<br>
> vfs objects = glusterfs<br>
> glusterfs:volfile_server = localhost<br>
> glusterfs:volume = two<br>
> path = /<br>
> read only = no<br>
> guest ok = yes<br>
><br>
><br>
> On linux client, but dd testing will be pending.<br>
><br>
> dd if=/dev/zero of=data bs=64k count=10000, successfully.<br>
> dd if=/dev/zero of=data bs=128k count=10000, pending.<br>
><br>
> Samba4.1 needed? Thanks.<br>
><br>
> -terrs<br>
><br>
><br>
> On Mon, 29 Jul 2013 02:10:10 -0700<br>
> Anand Avati <<a href="mailto:anand.avati@gmail.com">anand.avati@gmail.com</a>> wrote:<br>
><br>
> > On Mon, Jul 29, 2013 at 1:56 AM, Nux! <<a href="mailto:nux@li.nux.ro">nux@li.nux.ro</a>> wrote:<br>
> ><br>
> > > On 29.07.2013 07:16, Daniel Müller wrote:<br>
> > ><br>
> > >> But you need to have gluster installed!? Which version?<br>
> > >> Samba4.1 does not compile with the lates glusterfs 3.4 on CentOs 6.4.<br>
> > >><br>
> > ><br>
> > > From what JM said, it builds against EL6 Samba (3.6) and it has also been<br>
> > > added to upstream.<br>
> ><br>
> ><br>
> > You will need the latest Samba 4.1 release (or git HEAD),and<br>
> > glusterfs-api-devel RPM (with its deps) installed at the time of building<br>
> > Samba to get the vfs module built.<br>
> ><br>
> > Avati<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><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
谢海威<br>
软件项目经理<br>
电话: +86 10-68920588<br>
手机: +86 13911703586<br>
Email: <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 </b></font><div><br></div></div>
</div>