#######################################################
# Additional config file for fine tuning of Berkley DB
#
# needs to be copied in the same directory as 
# the bdii-slapd.conf so the Berkley Db picks it up
#
# please check Berkley DB documentation for details
#
# F.Ehm, CERN 3/2008


set_flags DB_CDB_ALLDB 
#set_flags DB_DIRECT_DB 
#set_flags DB_DIRECT_LOG
#set_flags DB_LOG_INMEMORY

#set_flags DB_NOLOCKING
set_flags DB_TXN_NOSYNC
set_flags DB_TXN_WRITE_NOSYNC
set_flags DB_TXN_NOT_DURABLE
set_lk_max_locks 2000

#test and spin, 50x #processors
# here, example of 2 cores
set_tas_spins 100

# cache size
set_cachesize 0 500000000 1
