[Samba] samba 4.x slow ...

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Nov 7 05:29:26 UTC 2017


On Mon, Nov 06, 2017 at 09:27:24AM -0800, Jeremy Allison via samba wrote:
> On Mon, Nov 06, 2017 at 09:35:06AM +0100, Dr. Peer-Joachim Koch via samba wrote:
> > Setup:  Server 2x10GB NIC, client 1x1GB:
> > 
> > Using smbclient with -mSMB3 I get an average of 52000 KiloBytes/sec (before
> > 45000),
> > 
> > using NFS (v3) from the same server I get  108000 KiloBytes/sec an more
> > (mount ; cp; umount; ...)
> 
> So I don't think it's the client. The smbclient code is very efficient,
> pipelining reads and writes. Is the server using async io ?

Not according to the smb.conf. Please set

aio read size = 1
aio write size = 1

and retry.

Thanks, Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de



More information about the samba mailing list