Fixing the Solaris groups limit (CR 4088757 *Escalated* Updated P5 kernel/other Customer would like to increase ngroups_max more than 32)

Jeremy Allison jra at
Thu Jun 16 17:18:00 GMT 2005

On Thu, Jun 16, 2005 at 01:10:06PM -0400, David Collier-Brown wrote:
> No, I'm sorry to say I haven't.  I'll have a look tonight.

Ok, you turn it on by adding the following to the smb.conf :

       aio read size = <size in bytes>
       aio write size = <size in bytes>

Where any reads/writes greater than "size in bytes" will be done
using the aio calls.

There's also an "eeeeevilllll (tm)" option - "aio write behind"
which causes smbd to *prematurely* acknowledge writes to the client
(in a vain attempt to get stupid Windows clients to do *any* kind
of write pipelining :-).

You use it by :

	aio write behind = /if matches this wildcard do write behind/

(ie. to turn on for all writes do :

	aio write behind = /*/

but I wouldn't recommend it unless it's a benchmark special :-).

I finally discovered that there are kernel aio calls in Linux, see
these pages for details :

However I believe they're only available for files opened with O_DIRECT
and not used by the libc aio_XXX interfaces in glibc. Doh !


More information about the samba-technical mailing list