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

slapadd performance problem in solaris



We are testing openldap 2.2.20 recently.  We have met serveral problems. 

slapadd's performance is not linear with the count of entry in solaris.
under solaris,at the begging of load,size of data file increase quickly,but subsequently load slowly and slowly.And I found,slapd
is always in sleep stat.but it isn't happen when loading 10k data. BTW,suse linux have no such problem.

test result:
     solaris       suse linux
1k   5seconds      
10k  45seconds     
100k 780seconds    156 second
1000k 15hours      2031 second

sun test envirment:
hardware:sun v880 2*900Mhz CPU 4G RAM
software:openldap2.2.20 BerkelyDB 4.3.27
config:

DB_CONFIG:
set_cachesize 1 0 0

#   For Loading indexing only
set_flags       DB_TXN_NOSYNC

slapd.conf
database        bdb
suffix          "o=xxx.com"
rootdn          "cn=Manager,o=xxx.com"
rootpw          secret
directory       /export/home/pldap/pldap_run/var/openldap-data
index   objectClass     eq
index   cn   pres,eq,sub