[Date Prev][Date Next]
How do I fix issues of really poor performance
- To: firstname.lastname@example.org
- Subject: How do I fix issues of really poor performance
- From: Rob Tanner <email@example.com>
- Date: Thu, 05 Oct 2006 11:58:55 -0700
- User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:22.214.171.124) Gecko/20060719 Thunderbird/126.96.36.199 Mnenhy/0.7.4.666
I'm replacing an old Netscape server running on a 296 MHz dual processor
Solaris 5.7 (sun4u sparc) box with OpenLDAP 2.3.27 running on a single
2.4GHz processor Intel box running Fedora Core 4. I have duplicated one
of my hierarchies -- approx 9000 entries. There is an index on an
attribute called deptaffiliationcodes (on both systems) which I'm using
as a search filter to make sure everything is working. Dumping the
results to /dev/null, a search on the Netscape server takes typically 35
milliseconds to complete. The exact same search on the OpenLDAP server
takes between 2.5 to 3.5 seconds. And that's way too slow for me to put
the OpenLDAP server into production.
I am using the bdb backend and the example DB_CONFIG file which sets the
cache size to 268435456 bytes, which is bigger than the actual size of
dn2id.bdb and id2entry.bdb combined (about 16Mb). What other factors
can affect performance?
Any help would be most appreciated.
UNIX Services Manager
Linfield College, McMinnville OR