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

update on: Re: thread problem OpenLDAP 2.1.8 + Solaris 9



Hi all.

I ran a couple of tests today with OpenLDAP 2.1.8, BDB 4.1.24 and Linux
2.4/Solaris 9.

Both behave the same so by now I don't think about this being a thread
problem anymore. I removed all not required libs like OpenSSL and SASL but
this didn't change a thing. The backend ist still ldbm. As a testcase I
used a pre-created list of filter expressions (about 1000) which were send
to the LDAP server via 'ldapserach -f ...'. The only ACL in place was
read-access to anyone. Logging was disabled.

Sending the requests from a one client to the server on a big SMP showed a
CPU utilization on the server of close to 100% and the test finished in
about 26 seconds. Using 2 clients in parallel (started on another SMP)
raised the servers CPU utilization to about 190% but each of the client
processes required 48 seconds. I expected it to be about 26-30 again as
the requests are independent from each other. Trussing the server on
Solaris showed that after the first run almost no reads to the DB files
where issued anymore so IO performance shouldn't cause this. On the other
hand there have been tons of timer() and yield() syscalls.

Would some of the developers please enlighten me about what's going on and
in which way the server takes advantage of SMP systems? Are there any
tunables for it?

-----------------------------------------------------------------
PGP fingerprint: B1 EE D2 39 2C 82 26 DA  A5 4D E0 50 35 75 9E ED
Phone:           +49 731 50 22464
FAX:             +49 731 50 22471