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

Re: Casual benchmarking OS performace with OpenLDAP



On Wed, 30 Mar 2005 17:33:55 -0800
Howard Chu <hyc@symas.com> wrote:

> >
> The DB library would be my first suspect; check and see if it has a 
> dependency on -lpthread. We usually build BDB with fast gcc/asm mutexes 
> but they may have built it with posixmutex support instead, which is 
> significantly slower. In 4.2 the gcc mutexes are the default, but I have 
> no idea how Debian configures their build.
> 
> In general, you can't construct a test like this unless you know you're 
> doing apples-to-apples comparisons. If you built your own BDB library on 
> Solaris x86 but used the distro's stock BDB install on Linux, you really 
> have no idea if the two builds are comparable.

> There are a lot of global directives interspersed with database-only 
> directives here. Generally we discourage this because it leads to false 
> assumptions about how things work. The slapd.conf(5) manpage (and 
> associated config manpages) are pretty explicit about what directives 
> are global vs not. In 2.3 with the LDIF configuration it will be firmly 
> delineated, since directives will only be valid in specific config entries.

Great, thanks for the feedback. I'll report if I can improve things on 
Linux.

Is the kind of performance I'm seeing on Sol10x86 reasonable?

Jim