On Nov 6, 2007, at 2:30 PM, Roché Compaan wrote:

If you can cut the b-node branching factor in half, I bet your
benchmark will run almost twice as fast.

I increased the 'DEFAULT_MAX_BUCKET_SIZE' from 30 to 30000 and
DEFAULT_MAX_BTREE_SIZE from 250 to 2500 and it didn't make any
noticeable difference. Despite this change there are still a huge amount
of unexplained calls to the 'persistent_id' method of the ObjectWriter
in serialize.py.

I can see here that what I wrote was not clear.  I intended
to say that the *smaller* bucket size should be faster for this because
the size of each committed transaction would be smaller.

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to