[Samba] poor samba performance with many smaller files

Jeremy Allison jra at samba.org
Wed Apr 27 16:49:56 UTC 2016


On Wed, Apr 27, 2016 at 01:02:54PM +0200, Peter Bulin wrote:
> Hi,
> I did use wireshark to verify that the client (window7) is not the problem,
> client is sending out multiple "SMB2 Create request" packets before he gets
> some answer.
> On the server side samba is processing this requests in a synchronous way,
> in order which they were send, that is what I see from strace output.

Just to check if parallelizing the open() call helps,
then remove the restrictions in vfs_aio_pthread that
insist on O_CREAT|O_EXCL and test it out (wouldn't
run in production that way without me re-evaluating
this code). If that speeds it up then we have an
idea.



More information about the samba mailing list