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 ) value having different process priorities.

The test script (load_cpu):

while [ 1 ] ; do
 echo "" > /dev/null

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

370K_requesttime_load.png 370K_requesttimeout_load.png

Without Load

370K_requesttime.png 370K_requesttimeout.png

With Indexing

  • RUN1 indexed DB,
  • RUN2 non-indexed DB,

370K_requesttime2.png 370K_requesttimeout2.png

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng 370K_requesttime.png r1 manage 2.5 K 2008-02-22 - 15:52 LaurenceField  
PNGpng 370K_requesttime2.png r1 manage 2.7 K 2008-02-26 - 14:22 LaurenceField  
PNGpng 370K_requesttime_load.png r1 manage 3.0 K 2008-02-22 - 15:52 LaurenceField  
PNGpng 370K_requesttimeout.png r1 manage 1.8 K 2008-02-22 - 15:53 LaurenceField  
PNGpng 370K_requesttimeout2.png r1 manage 2.2 K 2008-02-26 - 14:23 LaurenceField  
PNGpng 370K_requesttimeout_load.png r1 manage 2.5 K 2008-02-22 - 15:53 LaurenceField  
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2008-02-26 - LaurenceField
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EGEE All webs login

This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright & by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Ask a support question or Send feedback