[Date Prev][Date Next]
Re: how to set entry cache
I know cachesize <integer>If you don't know how large your entries are, certainly nobody else on
this mailing list knows either.
Specify the size in entries of the in-memory entry cache
maintained by the BDB backend database instance. The default is
but I didn't know how large in byte is one entry or one index.so I didn't know how to set cachesize in slapd.conf due to my machine memory.
The most obvious way to tune these settings is to start with some
initial value and then run tests to measure the server response time,
then alter some settings and repeat the tests. When your measured
response time meets your performance requirements, you're done.
Exactly how to conduct the tests depends on your application, and the
normal workload it will impose on the server. You're going to have to
use your own brain to determine this, nobody can discover it for you.
--On Wednesday, April 27, 2005 5:30 PM +0800 çåå
And the FAQ didn't say how to set cachesize and index cache size inI suggest reading the slapd.conf man page, which details what those
parameters are. There is no "right" setting for them, other than what you
determine as being right for your needs.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
Symas: Premier OpenSource Development and Support