[ZODB-Dev] ZEO's stats.py and simul.py
Chris Withers
chris at simplistix.co.uk
Wed Mar 30 10:40:45 EST 2005
Hi there,
Does anyone know if the stats.py and simul.py that ship in Zope 2.7.2's
ZEO package are up to date?
I turned on cache tracing and tried to analyze the resulting logs using
these two tools.
stats.py told me I had a 98% hit rate, while
http://www.zope.org/Wikis/ZODB/HowtoTraceZEOCache/trace.html says the
theoretical maximum is 90%.
simul.py barfed out on the same log file
Traceback (most recent call last):
File "C:\zope\2.7.2\lib\python\ZEO\simul.py", line 758, in ?
sys.exit(main())
File "C:\zope\2.7.2\lib\python\ZEO\simul.py", line 132, in main
sim.event(ts, dlen, version, code, current, oid, serial)
File "C:\zope\2.7.2\lib\python\ZEO\simul.py", line 198, in event
self.report()
File "C:\zope\2.7.2\lib\python\ZEO\simul.py", line 228, in report
print self.format % (
ValueError: unconvertible time
In any case, what's the best way to determine how large the
ClientStorage cache_size should be set?
Are there any penalties for setting it too large?
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the ZODB-Dev
mailing list