Sorry, but I could not understand the meaning of back-bdb residing in HEAD.
I have attached a diff over openldap-2.3.35 for changes regarding BDB in-memory. This mainly has changes for keeping logs,environment and databases in memory. The bdb in-memory code is under #ifdef BDB_INMEMORY
I am trying out different environment cache sizes to check any performance difference.
Thanks and Regards, Suhel
On 8/31/07, Howard Chu hyc@symas.com wrote:
Suhel Momin wrote:
Hi,
I have made changes such that backend BDB ( ver 4.5 ) resides in
memory instead of on disk . This is with default slapd configuration. I was hoping to have a better performance with this.
back-bdb as currently residing in HEAD already yields efficiencies of 95% of available system bandwidth. It is extremely unlikely that you are going to be able to improve the performance significantly, most changes you could make to the code at this point will only yield performance losses.
But what I now see is that do_add takes much more time then what it use to take when BDB was on-Disk. Indexing is done on objectclass in both the cases.
Any pointers on why this could be an issue?
-- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/