|
These are personal experiments I'm performing for now. After I validate their correctness and make them easily reproducable I will move these to the performance section. |
Materials Listing
These are the LDIF files and configuration files used for running the following tests with ApacheDS 1.0-RC4-SNAPSHOT and OpenLDAP 2.3.
LDIF to add 10K entries![]()
LDIF to del 10K entries![]()
OpenLDAP BerkeleyDB Configuration![]()
OpenLDAP slapd.conf![]()
ApacheDS server.xml![]()
ApacheDS 1.0-RC4-SNAPSHOT (07112006) Linux![]()
ApacheDS 1.0-RC4-SNAPSHOT (07112006) Solaris Sparc![]()
Single Processor Reference Machine (newton)
Uname Output
akarasulu@newton:~$ uname -a Linux newton 2.6.15-25-386 #1 PREEMPT Wed Jun 14 11:25:49 UTC 2006 i686 GNU/Linux
/proc/cpuinfo Contents
akarasulu@newton:~/tmp$ cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 10 model name : AMD Athlon(TM) XP stepping : 0 cpu MHz : 2500.561 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow bogomips : 5005.28
/proc/meminfo Contents (partial)
akarasulu@newton:~/tmp$ cat /proc/meminfo MemTotal: 2596692 kB SwapTotal: 3156636 kB VmallocTotal: 114680 kB
JVM Version
akarasulu@newton:~$ java -version java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)
Test I
| ApacheDS Heap Settings You must modify the JVM heap startup and maximum settings in the apacheds init script for these experiments. |
In this test we perform the following operations in order using OpenLDAP clients. ApacheDS runs on port 10389 on my machine while OpenLDAP's slapd runs on port 389. Just presume changing the port setting to perform these opertations on the other servers. Only one of these operations is run at the same time with minimal background activity.
time ldapadd -h localhost -p 389 -D 'cn=admin,dc=example,dc=com' -x -w secret -f add.10k.ldif >> /dev/null
time ldapsearch -h localhost -p 389 -D 'cn=admin,dc=example,dc=com' -x -w secret -b 'dc=example,dc=com' 1.1 > /dev/null
The search operation is run 3 times. The first to flood the cache. The second and third to get results with all entries in cache.
time ldapdelete -h localhost -p 389 -D 'cn=admin,dc=example,dc=com' -x -w secret -f del.10k.ldif