[Samba] This old tune again : read performance optimisations

Emmanuel Florac eflorac at intellique.com
Thu Mar 22 11:37:45 MDT 2012


Le Thu, 22 Mar 2012 09:58:31 -0700
Jeremy Allison <jra at samba.org> écrivait:

> Until the next 3.6.x ships with the aio_pthread module,
> you might we better off removing the "aio XXX" lines.
> 

Actually I tried it both ways, and it didn't make much difference
anyway. At least in the fact that reading is much slower than writing...

> Linux glibc aio is fundamentally broken (and Ulrich
> doesn't seem interested in fixing it) - this is why
> I ended up writing the aio_pthread module.

Ah, the legendary Drepper stroke again :)

> You could try using Volker's aio_fork module, which
> might help (with the Linux clients, but probably not
> the Windows clients unless you're running SMB2).
> 
> You're more adventurous you could try running
> from v3-6-test git tree and ensure you have the
> aio_pthread module loaded.
> 

Well, maybe. But this machine is due to go into production at some
point :)

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac at intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------


More information about the samba mailing list