* John Morrissey:

> tl;dr summary: It seems BerkeleyDB should be built with:
>
>       --enable-posixmutexes --with-mutex=POSIX/pthreads
>
> on NPTL Linux systems, since native POSIX mutexes substantially
> lower context switches, at least with OpenLDAP's slapd.

Wasn't it the other way round for previous versions?  Anyway, I think
this is the way to go, but we can't do it on all architectures because
some of them are still not NPTL-enabled.  We also should get it right
early because changing the mutex algorithm changes the database
environment layout in a way which cannot detected by Berkeley DB.

If you think it's not too late for that, we can make the change now,
or with the release of version 4.8.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to