I'm fighting with openldap and writing to the database.
I was updating an object that had an attribute with 640 elements and it was taking about 37 seconds. I turned off syncing on every write, 27 seconds. Indexes are already on that attribute.
I'm thinking of bumping my cache sizes up around 5 MB 'cachesize' and 'dbcachesize', at least.
All this fuss over a few seconds. :-\