gluster-devel
[Top][All Lists]
Advanced

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

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


From: RAGHAVENDRA TALUR
Subject: Re: [Gluster-devel] [Gluster-users] Status of the SAMBA module
Date: Tue, 6 Aug 2013 14:36:10 +0530

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

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

nonvfs:
address@hidden cifs]# dd if=/dev/zero of=test1 bs=64k
^C记录了55548+1 的读入
记录了55548+0 的写出
3640393728字节(3.6 GB)已复制,17.192 秒,212 MB/秒

vfs:
address@hidden cifs]# cd /mnt/cifs
address@hidden 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 > >         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 <address@hidden> wrote:
>
> > On Mon, Jul 29, 2013 at 1:56 AM, Nux! <address@hidden> 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
> address@hidden
> http://supercolony.gluster.org/mailman/listinfo/gluster-users

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



--
Raghavendra Talur 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]