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

Re: Speed wars: NIS 1, LDAP 0

On Thu, 25 Feb 1999, Ben Collins wrote:

> On Thu, Feb 25, 1999 at 06:35:14PM -0500, Elliot Lee wrote:
> > This sucks. :) Has anyone profiled the nss_ldap module, libldap, or slapd?
> > Would a different backend help the speed? Any configuration options I
> > should be setting? What can I do to help improve the situation?
> Could you be specific about the OS? Some systems like Solaris have an
> nss cache. Glibc 2.1 sports and nscd as well, but I've yet to test it.

The NIS machine is running RHL 4.2+2.0.36 (libc5). The LDAP box is running
RHL 5.2+2.2.0 (glibc2.0.7). Neither has a name service cache that I know

> You may be getting some sort of cacheing from the NIS client too,
> but of course if your OS doesn't cache nss lookups, ldap will take longer.

What I'm getting at is "How can we speed up slapd?" not "What workarounds
can we do to hide the horrible performance of slapd?". This doesn't mean
that nscd doesn't make sense, just that I'm interested in making slapd go
faster :-)

Using bogomips as a totally inaccurate measure of system speed, right now
slapd is almost 14 times slower than ypserv on the same system. Pretty

-- Elliot
"In film you will find four basic story lines. Man versus man, man
 versus nature, nature versus nature, and dog versus vampire."
    - Steven Spielberg