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

Re: OpenLDAP-2.2.3beta slapdadd slow



> Hi,
> 
> OpenLDAP- 2.1.19
> BerkeleyDB.4.1.25
> cyrus-sasl-2.1.12
> marin:/usr/local/sbin # time ./slapadd -b o=avci,c=de -l /tmp/avci.ldif
> real    3m43.757s
> user    2m53.810s
> sys     0m19.920s
> 
> OpenLDAP-2.2.3beta
> BerkeleyDB.4.2.52
> cyrus-sasl-2.1.17
> orange:/usr/local/sbin # time ./slapadd -b o=avci,c=de -l /tmp/avci.ldif
> real    15m17.371s
> user    3m4.379s
> sys     0m15.403s
> 
> same avci.ldif with some 5,000 entries
> identical DB_CONFIG
> backend bdb
> filesystem reiserfs
> identical hosts
> 
> Can anyone confirm this rather slow slapadd with BDB-4.2.?
> 
> -Dieter

It would be interesting to see the time with an increased dbcachesize value.
It might be true that that BDB-4.2 use more pages internally...
- Jong