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