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

RE: Performance of MDB and BDB Please suggest?

> Chris Card wrote:
> >

> > I am using openldap 2.4.32 on centos 6, on a 24 core box with 132 Gb RAM.
> > My test directory has ~ 3 million entries, and I loaded it into mdb using
> slapadd which took over 2 days (by comparison, the same load into bdb takes
> 2-3 hours).
> > (as an aside, I initially tried using 2.4.31, but slapadd crashed after
> having loaded about 90% of the data, and this was repeatable).
> This is not normal. With slapadd -q MDB is faster than BDB assuming you're
> using a decent filesystem and sensible mount options. JFS, EXT2, do better
> than other filesystems in my tests. Very recent EXT4 may be better than EXT3
> as well.
The filesystem is xfs, mounted as a drbd device (although at the moment the other 
half of the drbd pair is not configured, so it doesn't have to wait for synchronous 
writes across the network)

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