This post has been moved to here:
A great set of benchmarks are in Howard’s presentation from LinuxCon 2012. A copy of the presentation can be found here: http://www.symas.com/documents/LinuxCon12-MDB.pdf. Also, it shouldn’t take 12 hours to load a database- either move the database file to an ext2 file system or turn off journaling. MDB doesn’t benefit from it anyway.
Yes, I just saw here yesterday that the slapadd slowness is probably due to the filesystem: http://www.openldap.org/lists/openldap-technical/201208/msg00238.html
but I haven’t had a chance to compare it to a slapadd using optimized hdb on the same system yet.
Regarding benchmarks, comparing to other database backends is nice, but what I’d like to see is comparison to other directory products (OpenDJ, 389/Red Hat Directory Server, Apache Directory Server, etc). The most recent benchmarks of that type are so old I have to use the Wayback Machine just to see them:
I went ahead and tested a slappadd using optimized hdb on the same machine, and mdb was definitely faster. It continues to impress!
I finally got around to running a slapadd using ext4 with journaling disabled and a few other tweaks (http://fenidik.blogspot.com/2010/03/ext4-disable-journal.html). slapadd took around 30 minutes, down from over 12 hours using a 1.6 GB LDIF!
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
You are commenting using your Google+ account. ( Log Out / Change )
Connecting to %s
Notify me of new comments via email.
Notify me of new posts via email.