Re: Exporting CephFS using Samba preferred method

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

 



Actually, no -- vfs_ceph doesn't really perform better. 

Due to the fact that samba forks on new connections, each incoming
connection gets its own ceph client. If multiple SMB clients are
accessing the same files, they tend to compete with one another for caps
and that causes performance to tank.

Exporting a kcephfs mount with the regular vfs_posix allows the samba
daemon to share the ceph client across connections and performs better
in this scenario.

This could probably improved, but we'd need to build a userland proxy of
some sort to allow incoming vfs_ceph connections to share a ceph client.

-- Jeff

On Wed, 2021-04-14 at 10:19 +0300, Konstantin Shalygin wrote:
> Hi,
> 
> Actually vfs_ceph should perform better, but this method will not work with another's vfs's, like recycle bin or audit, in one stack
> 
> 
> k
> 
> Sent from my iPhone
> 
> > On 14 Apr 2021, at 09:56, Martin Palma <martin@xxxxxxxx> wrote:
> > 
> > Hello,
> > 
> > what is the currently preferred method, in terms of stability and
> > performance, for exporting a CephFS directory with Samba?
> > 
> > - locally mount the CephFS directory and export it via Samba?
> > - using the "vfs_ceph" module of Samba?
> > 
> > Best,
> > Martin
> > _______________________________________________
> > ceph-users mailing list -- ceph-users@xxxxxxx
> > To unsubscribe send an email to ceph-users-leave@xxxxxxx
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx

-- 
Jeff Layton <jlayton@xxxxxxxxxx>

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux