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

Re: slapadd, 1 million entries, some numbers



In a message dated: Wed, 28 May 2003 13:49:54 -0300
Andreas said:

>ok, after tuning some parameters, I got the following:
>
># time slapadd -l saida.ldif
>
>real    31m14.530s
>user    8m32.710s
>sys     1m30.840s
>
>This is a huge improvement,

Well, I'd say that warrants an award for the understatement of the day :)

You started off with a time of roughly 3 hours and now you're down to 
31 minutes!  I'd say you've done well :)

>This is what I added to my DB_CONFIG:
>set_flags       DB_TXN_NOSYNC
>set_lg_dir      /data/ldap
>set_lg_max      104857600
>set_lg_bsize    26214400  <----------- added
>set_cachesize   0 1048576 0 <--------- added

Interesting (as I run off to read the BDB docs to find out what these are :)

>Now to the indexes :)

Keep those numbers coming :)

Thanks for all the info!
-- 

Seeya,
Paul
--
Key fingerprint = 1660 FECC 5D21 D286 F853  E808 BB07 9239 53F1 28EE

	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.

	 If you're not having fun, you're not doing it right!