[PATCH] Measure parallel performance and use standard process model in ldap

Stefan Metzmacher metze at samba.org
Wed Apr 5 10:00:30 UTC 2017

Am 05.04.2017 um 06:36 schrieb Andrew Bartlett via samba-technical:
> The attached patches make our LDAP server multi-process.
> This brings performance gains and losses.  Essentially if we have one
> client binding and going away, strictly one at a time, then there is a
> significant overhead.  However, with multiple clients we get to use
> multiple CPUs and it is worth it if there are multiple incoming
> connections or the connections are long-lasting. 
> We hope to fix up and restore the prefork process model in the future,
> but this isn't on the cards right now, and our users need the extra
> speed.
> Please review/push the attached patch and the performance tests. 

I guess this should be on top of the ldb/tdb patches?

Is a server with these and the ldb/tdb patches able to handle
a zarafa server which serves about 500-1000 users which make use of
the webmail interface? We have a customer were we used a OpenLDAP
proxy in front of the samba servers to handle the load.
The proxy was able to deliver responses under 10 msecs,
while samba needed about 350 msecs. The problem is that the proxy
db gets corrupted every few days.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170405/ad3f53a5/signature.sig>

More information about the samba-technical mailing list