Re: [Zope] Re: compile time optimizations for python
--On 19. Januar 2008 13:42:30 +0530 Suresh V. [EMAIL PROTECTED] wrote: Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - Tune the ZEO disk cache size (the warning sign is seen lots of ZEO cache flip entries in the event log). Can you explain this some more? 1. Do we increase the cache size when we see these ZEO cache flips? 2. What is a good rate for these cache flips? offtopic, but persistent zeo caches - especially with larger cache sizes - require a lot of time for performing cache validation/invalidation at start time (sometimes minutes..). Andreas pgpU27chZEi0q.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: compile time optimizations for python
Tres Seaver wrote at 2008-1-18 16:31 -0500: ... - Tune the ZEO disk cache size (the warning sign is seen lots of ZEO cache flip entries in the event log). Modern ZEO versions no longer use a flipping client-cache. The cache is now maintained in a single disk file (and no longer two, with flipping between them). -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: compile time optimizations for python
So would this also apply to older zopes? Like 2.7.5?? Exactly where is that changed and in what increments are safe to increase it by? Thanks Allen Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Suresh V. wrote: Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - Tune the ZEO disk cache size (the warning sign is seen lots of ZEO cache flip entries in the event log). Can you explain this some more? 1. Do we increase the cache size when we see these ZEO cache flips? Yes In general, keep increasing it until they are no longer noticeable. 2. What is a good rate for these cache flips? I don't have a firm sense, but no oftener than every hour, say: when the cache flips, you lose half the working set (the oldest half). Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHkfTy+gerLs4ltQ4RAsrnAKCpQBnp/eARWtDLbLaVqxU6acd+NwCghkpP oKdWmCIhDs8dUW8uNtHXk3I= =DhiR -END PGP SIGNATURE- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )