You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Emmanuel Lécharny <el...@gmail.com> on 2013/02/27 14:50:45 UTC
Perf tests done on add operation (without the network)
Hi,
I have played a bit with Yourkit this morning, and I tried to get a clue
about where in the server we are spending time while processing a simple
add. This is pretty clear :
97,1% is spent in AbstractBTreePartition.add()
out of which :
90,1% is spent in JdbmPartition.sync()
4.9% is spent in JdbmIndex.add()
Those methods call the Jdbm.commit() method, and the
EntrySerializer.serialize() method (4.6% of the time spent)
We can do whatever we want to improve the rest of the server, JDBM will
remain the bottleneck. We can of course improve the Entry serialization,
but the gain would be minimal for an important effort.
Just FTR...
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com