Re: [Zope-dev] Zope Caches

2002-11-22 Thread Brian R Brinegar
Thank you for your response. How does one determine if they have a reasonably-sized ZEO cache? In our case we have about 260,000 objects in the database with an ideal cache size of 10,000 objects. I have no idea what our hit/miss ratio is or how to find that out. Any assistance would be great!

Re: [Zope-dev] Zope Caches

2002-11-22 Thread Guido van Rossum
Thank you for your response. How does one determine if they have a reasonably-sized ZEO cache? In our case we have about 260,000 objects in the database with an ideal cache size of 10,000 objects. I have no idea what our hit/miss ratio is or how to find that out. Any assistance would be

Re: [Zope-dev] Zope Caches

2002-11-22 Thread Dieter Maurer
Brian R Brinegar writes: We have diskless ZEO clients (Netboot). There is really no reason for our ZEO clients to write their caches to the disk (RAM Disk). Can we turn this off? To free up RAM for the other caches? With Zope 2.5 and Zeo 1.x, no cache is written unless you define ZEO_CLIENT.

Re: [Zope-dev] Zope Caches

2002-11-22 Thread Shane Hathaway
Dieter Maurer wrote: Brian R Brinegar writes: We have diskless ZEO clients (Netboot). There is really no reason for our ZEO clients to write their caches to the disk (RAM Disk). Can we turn this off? To free up RAM for the other caches? With Zope 2.5 and Zeo 1.x, no cache is written unless

Re: [Zope-dev] Zope Caches

2002-11-22 Thread Shane Hathaway
Brian R Brinegar wrote: Okay, Tell me where I'm wrong or if I'm lucky and got it right. There is 1 client cache per thread on a ZEO client and 1 ZEO cache per ZEO client. The ZEO cache is shared between the threads. We have 3 machines 4 threads each that's 3 * 4 + 3 = 15 caches? Is this

Re: [Zope-dev] Zope Caches

2002-11-22 Thread Brian R Brinegar
Okay, Tell me where I'm wrong or if I'm lucky and got it right. There is 1 client cache per thread on a ZEO client and 1 ZEO cache per ZEO client. The ZEO cache is shared between the threads. We have 3 machines 4 threads each that's 3 * 4 + 3 = 15 caches? Is this correct? If so what's cached in

Re: [Zope-dev] Zope Caches

2002-11-22 Thread Brian R Brinegar
On Fri, 22 Nov 2002, Shane Hathaway wrote: Brian R Brinegar wrote: Okay, Tell me where I'm wrong or if I'm lucky and got it right. There is 1 client cache per thread on a ZEO client and 1 ZEO cache per ZEO client. The ZEO cache is shared between the threads. We have 3 machines 4

[Zope-dev] Zope Caches

2002-11-21 Thread Brian R Brinegar
Okay, I'm trying to better understand Caching within Zope. Is a cache created for each Zope Thread? Or one per Zope instance? We have 3 ZEO Clients with 4 Threads each. I want to know if we have 3 copies of the cache, or 12 copies of the cache. Thanks, -Brian

Re: [Zope-dev] Zope Caches

2002-11-21 Thread Shane Hathaway
Brian R Brinegar wrote: Okay, I'm trying to better understand Caching within Zope. Is a cache created for each Zope Thread? Or one per Zope instance? We have 3 ZEO Clients with 4 Threads each. I want to know if we have 3 copies of the cache, or 12 copies of the cache. If you're talking about

Re: [Zope-dev] Zope Caches

2002-11-21 Thread Brian R Brinegar
Not RAM Cache managers, but Database caches. -Brian On Thu, 21 Nov 2002, Shane Hathaway wrote: Brian R Brinegar wrote: Okay, I'm trying to better understand Caching within Zope. Is a cache created for each Zope Thread? Or one per Zope instance? We have 3 ZEO Clients with 4 Threads

Re: [Zope-dev] Zope Caches

2002-11-21 Thread Shane Hathaway
Brian R Brinegar wrote: Not RAM Cache managers, but Database caches. In that case we still haven't narrowed it down. :-) You have 12 in-memory ZODB caches (they can't be shared) and 3 on-disk ZEO caches. Depending on your site, the ZODB cache can consume a lot of RAM, so Zope 2.6 has a

Re: [Zope-dev] Zope Caches

2002-11-21 Thread Brian R Brinegar
We have diskless ZEO clients (Netboot). There is really no reason for our ZEO clients to write their caches to the disk (RAM Disk). Can we turn this off? To free up RAM for the other caches? Thanks, -Brian On Thu, 21 Nov 2002, Shane Hathaway wrote: Brian R Brinegar wrote: Not RAM Cache

Re: [Zope-dev] Zope Caches

2002-11-21 Thread Guido van Rossum
We have diskless ZEO clients (Netboot). There is really no reason for our ZEO clients to write their caches to the disk (RAM Disk). Can we turn this off? To free up RAM for the other caches? That's a new use scenario for me. You can't turn the ZEO cache off. But I think you misunderstand the