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

Reindl Harald h.reindl at thelounge.net
Tue Oct 6 20:15:45 UTC 2020



Am 06.10.20 um 21:11 schrieb Robert Buck via samba:
> Is this a protocol issue? 
> Or is this a Windows issue?

no, it's a general issue even without networking, no matter windows, 
linux or mac - a ton of small files are always a lot slower than a large 
chunk and it was always that way

it's unavoidable overhead

> On Tue, Oct 6, 2020 at 2:39 PM Ralph Boehme <slow at samba.org> wrote:
> 
>> Am 10/6/20 um 7:49 PM schrieb Robert Buck via samba:
>>> In an architecture where we have Samba running on RHEL exposing shares to
>>> Windows, when we have 1 large 1GB file, the write performance to storage
>> is
>>> very fast, even over distances of 5000 miles. However, even writes to
>> local
>>> Samba servers, with 100 10MB files being copied onto a shared drive,
>>> Windows Explorer is MUCH slower. I don't know if it's really Samba, but
>>> more than likely Windows.
>>>
>>> Does anyone on channel have experience with copying multiple small files
>>> onto shares? Are there any ways to make copying files onto a share
>> faster?
>>
>> to save you a lot rocking back and forth, yes, small files workloads
>> will be slower. The smaller, the slower... :)




More information about the samba mailing list