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

RE: Ldbm writing and sync speed.

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Ugen

> I was poking around the 2.0.27 server, and got interested in
> database write performance. I have made a number of tests but
> the results don't add up and anyone with insight into the following
> is welcome to reply.

Performance in all the OpenLDAP releases < 2.1 leaves much to be desired. If
performance is an issue for you, you need to use OpenLDAP 2.1.

> To recap:
> Time(Ldap no sync) + Time(plain db writes) < Time(Ldap with sync)
> Where did the minute go? What am i overlooking?
> --Ugen

The answer to that question can be revealed with a good profiling tool.
Having already created such a tool and used it on the OpenLDAP code
(http://highlandsun.com/hyc/ FunctionCheck 1.5) I can tell you that most of
the execution time disappears in libc, calls to malloc and free. Most of that
is wasted execution time and has been eliminated in OpenLDAP 2.1.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support