[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: commit: ldap/servers/slapd bconfig.c daemon.c proto-slap.h



Howard Chu wrote:
hyc@OpenLDAP.org wrote:
Update of /repo/OpenLDAP/pkg/ldap/servers/slapd

Modified Files:
	bconfig.c  1.413 ->   1.414
	daemon.c  1.444 ->   1.445
	proto-slap.h  1.802 ->   1.803

Log Message:
Add support for multiple listener threads. Lightly tested on Linux,
Winsock needs a couple more tweaks

Well, it doesn't look like this patch caused any harm for the default case.
I'm only seeing about a 10% gain in throughput using two listener threads on a
16 core machine. Not earth-shattering, not bad.

Eh. 10% was on a pretty lightly loaded test. On a heavy load the advantage is only 1.2%. Hardly seems worth the trouble.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/