[Samba] poor samba performance with many smaller files
jra at samba.org
Tue Apr 26 20:21:15 UTC 2016
On Tue, Apr 26, 2016 at 10:08:41PM +0200, Peter Bulin wrote:
> The directory is small, it contains only one file. stat() takes 15ms and if
> I read 1000 files it sums to 15 seconds. So the issue is really that open
> file is synchronous.
Oh I misunderstood - I though you said there were many
files in the directory.
Why is stat() so slow ?
The vfs_aio_pthread code can speed up the open()
calls, but not the stat.
More information about the samba