Re: LDBM recommended Setting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




While it is true that you want to have the highest possible hit ratio on the two kinds of cache slapd maintains in order to achieve optimal read performance, you _can_ simply configure quite small caches for slapd (e.g. 1 few thousand entry cache and a few 100 MB DB cache) and rely on the OS's filesystem cache and the relatively high speed of I/O these days (SSDs...). This has the big advantage of removing the cognitive load associated with setting the "correct" cache size.


On 8/14/2018 9:48 AM, Mark Reynolds wrote:



On 08/14/2018 11:32 AM, Paul Whitney wrote:
Hi guys,

Am looking to improve performance in my 389 DS deployment.  In reviewing the documentation, the recommended size for the LDBM cache is the sum of the backend database + 15% of the backend database.  For me that comes out to almost 27GB.  Seems high considering the database cache is set very high as well. Is that a recommended setting or is there a better practice?
Well the more of the database you can keep in the cache the better the performance.   However, you are talking about the same cache: LDBM cache is the same thing as the database cache.

But you should also include the entry cache for your database.  So you almost want to double that to 50GB total ;-)    27 GB for DB cache, and 20 GB for entry cache (this varies of course for the entry cache and it will probably be less than 20GB, but you won't know until you start priming the entry cache and checking the database monitor - trying to achieve 99% cache hit ratio).

_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx/message/F7KUNPB7DYLYE6EXKXCANRIBONAABBOP/

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux