Slapd Performance Under Load
Test Environment
OpenLDAP server (slapd V 2.0.27 ) installed on a Dual Intel(R) Xeon(TM) CPU 2.40GHz with 1GB of RAM running Scientific Linux 3. The size of the LDAP database is 20MB.
Test Description
To emulate cpu load, a simple script is used to run a do-nothing loop which as with nice (see
http://linux.about.com/library/cmd/blcmdl1_nice.htm
) value having different process priorities.
The test script (load_cpu):
#!/bin/bash
while [ 1 ] ; do
echo "" > /dev/null
done
Started using:
nice -n 0 ./load_cpu
Test with Script
The graphs below show the average time a request takes to be processed. The left graph is the time/requests relation, the right one the timeout/request relation.
Each scenario (with/without load) was done for 4 cycles each represented by one line in the graph.
Test Results
With Load
Without Load
With Indexing
- RUN1 indexed DB,
- RUN2 non-indexed DB,