[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: openldap on Linux/alpha (ITS#295)
jeffgus@zimage.com wrote:
> On Sat, 18 Sep 1999, Kurt D. Zeilenga wrote:
> > >db_appinit(3) ERRORS
> > >EINVAL: The DB_THREAD flag was specified and spinlocks are not implemented for this architecture.
> > >
> > >No spinlocks under Linux/alpha?
> >
> > Looks like BerkeleyDB does not support GCC spinlocks under
> > Linux/alpha (or other non-x86 architectures).
> >
> > Unless you want to write a little assembler code (or modify ldbm.c
> > to support non-DB_THREAD BerkeleyDB2 use), you'll have to use
> > GDBM (--with-ldbm-api=gdbm).
>
> Okay... that works. I haven't tried to populate anything yet, but
> the daemon is running now. How much is my performance going to be
> affected?
GDBM and BerkeleyDB (without DB_THREAD support) should yield about the same
performance for small directories.
Kurt