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

Re: Performance of MDB and BDB Please suggest?



Yajuvendra Singh wrote:
> Hi,
> 
> I did some profiling on the 2.4.32 build and the output of callgrind is
> attached as graph.
> 
> below four functions are coming as bottleneck while searching
> 
> mdb_cursor_set
> mdb_entry_decode
> mdb_i2dl_insert
> mdb_i2dl_search
> 
> Can anyone help why below functions are taking too much CPU. Why
> mdb_entry_decode mdb_cursor_set and mdb_i2dl_search are taking all most all CPU.

Looks like your search is not indexed.

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/