[Samba] samba performance when writing lots of small files

thoralf schulze t.schulze at tu-berlin.de
Thu Nov 14 13:58:28 UTC 2019


hi Jeremy,

On 11/8/19 8:17 PM, Jeremy Allison wrote:
[…]
> I'm not sure - you're going to have to look into
> how the ceph kernel client deals with the syscall
> requests smbd is making.
> 
> Have you tried using the vfs_ceph module in smbd
> to avoid the extra trip into the kernel ?

with vfs_ceph:

root at plattentest:/mnt-ceph-vfs/test/10.000# time for s in $(seq 0 9999);
do echo $s > test-$s; done

real    22m3.562s
user    0m0.728s
sys     0m6.434s
root at plattentest:/mnt-ceph-vfs/test/10.000#

so context switches are not to blame … fwiw, vfs_ceph not honoring
secondary group memberships when checking permissions would be a serious
issue here.

thank you very much & with kind regards,
thoralf.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20191114/dea0374e/signature.sig>


More information about the samba mailing list