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 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>


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

  Powered by Linux