Sean Allen wrote at 2008-3-25 15:23 -0400:
> ...
>
>On Mar 25, 2008, at 2:54 PM, Dieter Maurer wrote:
>> Benji York wrote at 2008-3-25 14:24 -0400:
>>> ... commit contentions ...
>>>> Almost surely there are several causes that all can lead to  
>>>> contention.
>>>>
>>>> We already found:
>>>>
>>>>  *  client side causes (while the client helds to commit lock)
>>>>
>>>>    - garbage collections (which can block a client in the order of
>>>>      10 to 20 s)
>...
>> A reconfiguration of the garbage collector helped us with this one
>> (the standard configuration is not well tuned to processes with
>> large amounts of objects).
>
>what'd you do?

# reconfigure garbage collector
#  generation 0 GC at "(allocated - freed) == 7.000"; analyse 7.000 objects
#  generation 1 GC at "(allocated - freed) == 140.000"; analyse 140.000 objects
#  generation 2 GC at "(allocated - freed) == 1.400.000"; analyse all objects
import gc; gc.set_threshold(7000, 20, 10)



-- 
Dieter
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to