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

RE: (ITS#4308) poor performance under load

--On Friday, January 06, 2006 3:11 AM +0000 KevinS@bmrb.co.uk wrote:

>> Great, the patch is now in CVS HEAD.
> thanks again, having turned optimization back on (duh) I'm now seeing
> performance comparable with 2.3.13.
>> What is your cachesize set to by the way? You may want to play with the
>> (new) cachefree setting and raise it to a larger number. (See
>> slapd-bdb(5) in CVS HEAD.)
> My cachesize on each db (and bear in mind my tree consists of five db's
> glued together) is 5000, right now my entire tree only contains 6500
> entries so if anything my cache is on the large size.  I can certainly
> see the cachefree option could be useful when my db grows (currently
> growing a few hundred records a month, so I've got a way to go yet).
> Thanks again for all your help this evening.

If you've got the memory, I'd run with a cachesize that matched (or 
slightly exceeded) your entries, it'll only help and not hurt.

You might try even reducing the thread settings below the default and 
seeing if that helps performance, sometimes it does (I run with 8 threads).


Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html