Samba 4.1.9 and outstanding AIO requests

Krishna Harathi kharathi at
Thu Jul 24 15:44:07 MDT 2014


Thanks for responding with the options, tried with aio_pthread, did not
make a difference.

I also tried a W8 client connected to a W2007 server and the result is the

What I noticed  in all these cases is that during SMB2 session setup W8
SMB2 client is setting (requesting) "Credits' field to 31.
Samba as well as W2007 server is returning the same Credits = 31 in  the
session response.

Question - Is it this value that dictates how many outstanding AIO possible?

                 - I tried setting windows client registry "Smb2CreditsMin"
to 512 ,and rebooted the client and tested again,  but made no difference.

Any help in getting > 2 AIO requests is appreciated.

Krishna Harathi

On Wed, Jul 23, 2014 at 4:35 AM, Jones <jones.kstw at> wrote:

> Hello Krishna,
> 2014-07-23 14:13 GMT+08:00 Krishna Harathi <kharathi at>:
> We used the default implementation as well as aio_posix VFS module.
> Perhaps could use aio_pthread or aio_fork instead of aio_posix,
> for example:
> [global]
> aio read size = 1
> aio write size = 1
> vfs objects = aio_pthread
> reference:
> --
> Regards,
> Jones

More information about the samba-technical mailing list