[Zope] RE: Performance issues - excessive object loads
Gerry Kirk
gerry at faithonline.com
Tue Jun 8 14:09:15 EDT 2004
> -----Original Message-----
> From: Casey Duncan [mailto:casey at zope.com]
> Sent: June 8, 2004 10:23 AM
> To: Gerry Kirk
> Cc: zope at zope.org
> Subject: Re: Performance issues - excessive object loads
>
>
> A cache size of 2000 only allows 1% of the objects to be
> cached at once. 15000 is much better (about 8.5%), but you
> could still go higher if you have the RAM.
>
Thanks - will monitor.
> Since the cache is per-thread, it can sometimes be better to
> run fewer threads with bigger caches. You could try lowering
> the number of threads to 2 and doubling the cache size. This
> may be better than 4 at 15000, but it depends heavily on your
> application and the load it experiences
>
How do I determine which way to go? What should I monitor?
> Try upping the client disk cache size as well. This looks
> like the default (20MB) which is quite small. I would
> probably multiply this by 10-30x. An indication for a too
> small ZEO client cache is many "Cache flip" log messages from Zope.
>
Yep - cache was flipping once per hour. I multiplied it by 10.
Thanks for all your help,
Gerry
> -Casey
>
More information about the Zope
mailing list