Hi William,

Thanks much for the quick response! This is super helpful. I’m attaching my cpu and meminfo info.

dn: cn=monitor,cn=ldbm database,cn=plugins,cn=config
^ This monitors the general BDB performance.

Got it.


dn: cn=monitor,cn=changelog,cn=ldbm database,cn=plugins,cn=config
dn: cn=monitor,cn=ipaca,cn=ldbm database,cn=plugins,cn=config
dn: cn=monitor,cn=userRoot,cn=ldbm database,cn=plugins,cn=config


^ These are monitors of unique suffixes and their indexes and other
content like entrycaches that are per backend.

Cool. One question I’ve been meaning to ask — what’s under userRoot in general?

entrycachehitratio: 67

^ this 5 is super important. This is saying you have only hit 67% of
the time. You really want this to be 85% or higher, else you are
constantly importing/evicting from the entry cache. Every eviction and
inclusion is costly as you have to-reread id2entry which is io
intensive.

I'd recommend increasing your entry cache size by double at a guess,
but I'd want to see your /proc/meminfo and /proc/cpuinfo to advise
properly. I'd also need to see your ds version and userroot config to
really advise what changes to make.

Great info! I think we have plenty of RAM (64G) to make any adjustment we want.

I’ve also heard of nsslapd-cachememsize — what does that control?

Thanks so much, William!!

Sergei