Samba 4.1.9 and outstanding AIO requests

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Jul 25 04:23:32 MDT 2014


Hi!

What application do you use on the client to trigger this?
Does the Windows client behave differently against a Windows
Server? If so, can you take comparative network traces, so
that we can see where we behave differently? And, what
do you exactly mean by "only 2 outstanding IO requests"?

Maybe Samba is so fast it replies quickly enough? (just
kidding :-)

Volker

On Thu, Jul 24, 2014 at 02:44:07PM -0700, Krishna Harathi wrote:
> Jones,
> 
> 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
> same,
> 
> 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.
> 
> 
> Regards.
> Krishna Harathi
> 
> 
> On Wed, Jul 23, 2014 at 4:35 AM, Jones <jones.kstw at gmail.com> wrote:
> 
> > Hello Krishna,
> >
> > 2014-07-23 14:13 GMT+08:00 Krishna Harathi <kharathi at exablox.com>:
> >
> > 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:
> >
> > http://www.snia.org/sites/default/files2/SDC2012/presentations/Revisions/JeremyAllison_The_Evolution_of_Samba-ion.pdf
> >
> > --
> > Regards,
> > Jones
> >

-- 
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-technical mailing list