directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <aok...@bellsouth.net>
Subject Re: [ApacheDS][performance] Add, Search, Del throughput
Date Tue, 11 Jul 2006 06:13:32 GMT
Trustin,

That's a nice machine you got there :D.  I guess I have something 
terribly wrong with my OpenLDAP setup.  I figured I did with these results.

Now I have to figure out why OpenLDAP is doing so poorly on my machine. 
  Regardless of the fact that your machine is hot stuff, I should still 
see OLD performing faster.

Alex

P.S. Can we get another person to run these tests as well?


Trustin Lee wrote:
> I'm attaching my result...
> 
> My PC has two dual core opterons (= 4 2GHz opteron cores), 4GB RAM, and 
> 0+1 RAID with 6 250GB segate SATA2 disks.

Hey don't show off; you only have 3GB! :D he he.

> Trustin
> -- 
> what we call human nature is actually human habit
> --
> http://gleamynode.net/
> --
> PGP key fingerprints:
> * E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
> * B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6
> 
> 
> ------------------------------------------------------------------------
> 
> db4.2-util ldap-utils libdb4.2 libiodbc2 libldap-2.2-7 slapd
> 
> trustin@ubuntu:~$ uname -a
> Linux ubuntu 2.6.15-25-686 #1 SMP PREEMPT Wed Jun 14 11:34:19 UTC 2006 i686 GNU/Linux
> 
> trustin@ubuntu:~$ cat /proc/cpuinfo
> processor       : 0
> vendor_id       : AuthenticAMD
> cpu family      : 15
> model           : 33
> model name      : Dual Core AMD Opteron(tm) Processor 270
> stepping        : 2
> cpu MHz         : 2000.203
> cache size      : 1024 KB
> physical id     : 0
> siblings        : 2
> core id         : 0
> cpu cores       : 2
> 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
clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm cmp_legacy
> bogomips        : 4004.49
> 
> processor       : 1
> vendor_id       : AuthenticAMD
> cpu family      : 15
> model           : 33
> model name      : Dual Core AMD Opteron(tm) Processor 270
> stepping        : 2
> cpu MHz         : 2000.203
> cache size      : 1024 KB
> physical id     : 0
> siblings        : 2
> core id         : 1
> cpu cores       : 2
> 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
clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm cmp_legacy
> bogomips        : 4000.31
> 
> processor       : 2
> vendor_id       : AuthenticAMD
> cpu family      : 15
> model           : 33
> model name      : Dual Core AMD Opteron(tm) Processor 270
> stepping        : 2
> cpu MHz         : 2000.203
> cache size      : 1024 KB
> physical id     : 1
> siblings        : 2
> core id         : 0
> cpu cores       : 2
> 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
clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm cmp_legacy
> bogomips        : 4000.30
> 
> processor       : 3
> vendor_id       : AuthenticAMD
> cpu family      : 15
> model           : 33
> model name      : Dual Core AMD Opteron(tm) Processor 270
> stepping        : 2
> cpu MHz         : 2000.203
> cache size      : 1024 KB
> physical id     : 1
> siblings        : 2
> core id         : 1
> cpu cores       : 2
> 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
clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm cmp_legacy
> bogomips        : 4000.32
> 
> trustin@ubuntu:~$ cat /proc/meminfo
> MemTotal:      2972896 kB
> MemFree:        671740 kB
> Buffers:        227792 kB
> Cached:        1554148 kB
> SwapCached:          0 kB
> Active:         783916 kB
> Inactive:      1376768 kB
> HighTotal:     2096960 kB
> HighFree:       120160 kB
> LowTotal:       875936 kB
> LowFree:        551580 kB
> SwapTotal:     8385920 kB
> SwapFree:      8385920 kB
> Dirty:             280 kB
> Writeback:           0 kB
> Mapped:         995344 kB
> Slab:            83612 kB
> CommitLimit:   9872368 kB
> Committed_AS:   745516 kB
> PageTables:       3080 kB
> VmallocTotal:   114680 kB
> VmallocUsed:     56608 kB
> VmallocChunk:    57728 kB
> 
> trustin@ubuntu:~$ java -version
> java version "1.5.0_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
> Java HotSpot(TM) Server VM (build 1.5.0_07-b03, mixed mode)
> 
> trustin@ubuntu:~$ time ldapadd -h localhost -p 10389 -D 'uid=admin,ou=system' -x -w secret
-f add.10k.ldif >> /dev/null
> 
> real    0m40.262s
> user    0m0.900s
> sys     0m0.228s
> trustin@ubuntu:~$ time ldapsearch -h localhost -p 10389 -D 'uid=admin,ou=system' -x -w
secret -b 'dc=example,dc=com' 1.1 >> /dev/null
> 
> real    0m2.396s
> user    0m0.104s
> sys     0m0.100s
> trustin@ubuntu:~$ time ldapsearch -h localhost -p 10389 -D 'uid=admin,ou=system' -x -w
secret -b 'dc=example,dc=com' 1.1 >> /dev/null
> 
> real    0m2.283s
> user    0m0.112s
> sys     0m0.108s
> trustin@ubuntu:~$ time ldapsearch -h localhost -p 10389 -D 'uid=admin,ou=system' -x -w
secret -b 'dc=example,dc=com' 1.1 >> /dev/null
> 
> real    0m2.276s
> user    0m0.096s
> sys     0m0.092s
> trustin@ubuntu:~$ time ldapdelete -h localhost -p 10389 -D 'uid=admin,ou=system' -x -w
secret -f del.10k.ldif3 >> /dev/null
> 
> real    0m22.003s
> user    0m0.136s
> sys     0m0.280s
> 
> 
> 
> ------------------------------------------------------------------------
> 
> trustin@ubuntu:~$ time ldapadd -h localhost -p 389 -D 'cn=admin,dc=example,dc=co m' -x
-w secret -f add.10k.ldif >> /dev/null
> 
> real    0m6.200s
> user    0m0.920s
> sys     0m0.272s
> trustin@ubuntu:~$ 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
> 
> real    0m0.652s
> user    0m0.076s
> sys     0m0.104s
> trustin@ubuntu:~$ 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
> 
> real    0m0.657s
> user    0m0.152s
> sys     0m0.068s
> trustin@ubuntu:~$ 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
> 
> real    0m0.486s
> user    0m0.088s
> sys     0m0.104s
> trustin@ubuntu:~$ time ldapdelete -h localhost -p 389 -D 'cn=admin,dc=example,dc=com'
-x -w secret -f del.10k.ldif3 > /dev/null
> 
> real    0m4.336s
> user    0m0.108s
> sys     0m0.160s


Mime
View raw message