From: Quanah Gibson-Mount [mailto:firstname.lastname@example.org]
Sent: Monday, April 11, 2011 12:41 PM
To: Chris Jackson; openldap-technical(a)openldap.org
Subject: Re: Optimization help
--On Friday, April 08, 2011 6:31 PM +0000 Chris Jackson <cjackson(a)pasco.k12.fl.us>
What can I do to maximize the performance of my setup? System has
16gb of ram.
Import LDIF is 4,611,156 bytes. Backend is BDB.
du -c -h *.bdb
Portion of slapd.conf:
checkpoint 1024 15
## threads 8
***no dncachesize (default infinite)
# one 0.25 GB cache
## set_cachesize 0 268435456 1
set_cachesize 1 0 1
# Data Directory
# set_data_dir db
# Transaction Log settings
# set_lg_dir logs
It is always advised to keep the BDB logs on a separate drive/spool. You don't state
how many DNs are in your database, so there's no way to say whether or not your
cachesize/idlcachesize settings are valid. Your DB_CONFIG setting seems fine, although
1GB cache for a 48MB size DB is a bit overkill.
I have 9967 DNs in database.