Eliminating the 2nd level of ldap_pvt_thread_pool_submit when only a single operation has been read from the connection brings the slapd-bind throughput in HEAD back in line to the RE22 and RE23 range. Since synchronous requests are so common this is a pretty important characteristic to preserve, and for whatever reason that 2nd call into pool_submit really throws latency out of whack.
--Quanah
-- Quanah Gibson-Mount Product Engineer Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: <http://www.symas.com>