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

2007-11-27 Thread Howard Chu
Howard Chu wrote: Howard Chu wrote: Howard Chu wrote: For reference, the peak throughput with back-null on the previous code was only 7,800 auths/sec (with 8 client threads). With this patch it's 11,140 auths/sec. In both cases the throughput declines as more client threads are used. (Compare

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

2007-11-27 Thread Hallvard B Furuseth
Howard Chu writes: The -O2 build is faster from about 4 to 24 client threads. From 28 on up, the nonoptimized code is faster at every load level. I was originally using gcc 4.1.2 but I'm seeing the same result now using gcc 4.2.2. Also, slapd is only configured with 8 worker threads in all of

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

2007-11-27 Thread Volker Lendecke
On Tue, Nov 27, 2007 at 05:17:04AM -0800, Howard Chu wrote: The -O2 build is faster from about 4 to 24 client threads. From 28 on up, the nonoptimized code is faster at every load level. I was originally using gcc 4.1.2 but I'm seeing the same result now using gcc 4.2.2. Also, slapd is only

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

2007-11-26 Thread Howard Chu
[EMAIL PROTECTED] wrote: Update of /repo/OpenLDAP/pkg/ldap/servers/slapd Modified Files: connection.c 1.410 - 1.411 daemon.c 1.414 - 1.415 proto-slap.h 1.743 - 1.744 syncrepl.c 1.370 - 1.371 Log Message: Streamlined Winsock connection management This patch

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

2007-11-26 Thread Howard Chu
Howard Chu wrote: Howard Chu wrote: For reference, the peak throughput with back-null on the previous code was only 7,800 auths/sec (with 8 client threads). With this patch it's 11,140 auths/sec. In both cases the throughput declines as more client threads are used. (Compare to 35,553 auths/sec