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

Re: any experience with DirectoryMark LDAP benchmark?



On Thu, 2 Dec 1999, William L Anderson wrote:

   When I loaded up the test data (only the 1000 entry version) and ran
   the simplest search tests I had very slow performance (~7sec /
   search). When I did adds and deletes the time was astronomical
   (~44*10^6 sec). So, I'm wondering if (1) we just don't have things
   configured right, (2) we have OS or hardware errors, (3) if others
   have experience with these benchmarks, and (4) where there are
   pointers to tuning the LDAP server to perform well under specific
   scenarios.
   
   We're running OpenLDAP 1.2.6, BerkekeyDB 2.7.5, Solaris 2.6, on a
   Sparc10 w/ 96MB RAM.
   
I have OpenLDAP 1.2.7/BDB 2.7.7 compiled --with-treads=posix on an IPC
running solaris 2.6.

The database has about 1500 entries for users in it and it takes 6.75
seconds to do the following query:

(|(&(givenname=simon*)(sn=murcott*))(&(givenname=simon*)(sn=murcott*))(mail=simon*murcott*)(mail=murcott*simon*)(cn=*simon*murcott*)(display-name=*simon*murcott*))

On a SPARCstation 5 it takes less than a second for the same thing and
on any flavour of Ultra it is INSTANT. The limiting factor with ultra's
is the speed of the network, not the LDAP server.

The important things in the config file are:
cachesize       256
dbcachesize     25600
index           cn,sn,givenname,display-name,uid,mail   pres,sub,eq

Regards

Simon Murcott