[Samba] No increased throughput with SMB Multichannel and two NICs

Jeremy Allison jra at samba.org
Tue Sep 6 18:15:07 UTC 2016

On Tue, Sep 06, 2016 at 08:06:48PM +0200, Volker Lendecke via samba wrote:
> On Tue, Sep 06, 2016 at 07:58:27PM +0200, Daniel Vogelbacher via samba wrote:
> > I don't have these options in my smb.conf.
> > Do you recommend any specific values?
> aio read size = 1
> aio write size = 1
> You might try with current master. There we have improved async I/O
> handling significantly.

Yep. Without those values smbd reads/writes synchronously, meaning
issuing two requests down different TCP sockets still get serialized
in the server. With aio turned on they'll get handed to a pthread
pool to complete, allowing as many requests as your client will send
to be outstanding (and your disk and network bandwith will allow of
course :-).

More information about the samba mailing list