--On Friday, July 28, 2017 5:56 PM +0000 hyc@openldap.org wrote:
Was benchmarking on an Oracle M8 box with 2048 SPARC VCPUs. With 1024 slapd threads configured, we needed 64 listener threads and 64 threadqueues to eliminate slapd bottlenecks, but the current default in daemon.c only allows up to 16 listener threads.
It's a #ifndef so easily overridable at compile time, but 16 is probably too small in this age of processors with more and more cores.
It would be nice if instead of something hard coded, it was instead configurable by switching its usage to dynamically allocated arrays.
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com