[Samba] Performance Question: Lots of Small Files vs One Large File

Ralph Boehme slow at samba.org
Tue Oct 6 19:37:55 UTC 2020


Am 10/6/20 um 9:11 PM schrieb Robert Buck:
> Is this a protocol issue? A decade ago I saw writes to small files less
> than 16k were awful, because the cost of opening and other file ops
> dwarfed writing actual content. So very small files should be slow, but
> these files are 10mb each.
> 
> Or is this a Windows issue? If so, what's causing the problem?

opening a file is expensive due to the WIndows semantics emulation layer
in Samba. It's also done sequentially in the server which means there's
not going to be much in-flight IO to keep the pipes full.

-slow

-- 
Ralph Boehme, Samba Team                https://samba.org/
Samba Developer, SerNet GmbH   https://sernet.de/en/samba/
GPG-Fingerprint   FAE2C6088A24252051C559E4AA1E9B7126399E46

-------------- 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/20201006/3b45d1d5/signature.sig>


More information about the samba mailing list