Re: [Gluster-users] Status of the SAMBA module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx> wrote:
hi, All

samba vfs low performance, compare with non-vfs export dir.

nonvfs:
[root@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@infi131 cifs]# cd /mnt/cifs
[root@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@xxxxxxxxx> wrote:
>
> > On Mon, Jul 29, 2013 at 1:56 AM, Nux! <nux@xxxxxxxxx> 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@xxxxxxxxxxx
> http://supercolony.gluster.org/mailman/listinfo/gluster-users

--
谢海威
软件项目经理
电话:  +86 10-68920588
手机:  +86 13911703586
Email:  haiwei.xie@xxxxxxxxxxxx
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users



--
Raghavendra Talur 


[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux