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

Andrew Bartlett abartlet at samba.org
Wed Apr 5 04:36:42 UTC 2017


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. 

Thanks,

Andrew Bartlett
-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-perf-tests-Add-tests-running-a-bind-in-parallel.patch
Type: text/x-patch
Size: 15041 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170405/a7016e1d/0001-perf-tests-Add-tests-running-a-bind-in-parallel.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ldap-Run-the-LDAP-server-with-the-default-typically-.patch
Type: text/x-patch
Size: 1427 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170405/a7016e1d/0002-ldap-Run-the-LDAP-server-with-the-default-typically-.bin>


More information about the samba-technical mailing list