Re: [Zope-dev] Default ZODB cache size

2005-07-10 Thread Dieter Maurer
Tim Peters wrote at 2005-7-8 15:08 -0400:
>[Florent Guillaume]
>>> How about boosting the default ZODB cache_size to something less
>>> ridiculous than the default 4000 ?
>>> I propose changing etc/zope.conf.skel to have an explicit value of
>>> 2.
>
>[Dieter Maurer]
>|> That may already be a bit large:
>>
>>  We use 15.000 with 6 workers and our Zope easily comsumes
>>  about 1 to 1.5 GB of RAM.
>>
>> I would keep the 4.000 default in order not to bring
>> newbies with low RAM into problems.
>> 
>> Experts can easily reconfigue the cache size.
>
>It's unclear to me which default we're talking about.  ZODB's
>DB.__init__ has cache_size=400 (not 4000) as the default.  The example
>ZEO client in skel/etc/zope.conf.in sets
>
>#   cache-size 5000
>
>as its "default".

I think Florent had the Zope default in mind (which is 5.000
rather than 4.000 when I am right -- but this does not really matter).


-- 
Dieter
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Default ZODB cache size

2005-07-08 Thread Tim Peters
[Florent Guillaume]
>> How about boosting the default ZODB cache_size to something less
>> ridiculous than the default 4000 ?
>> I propose changing etc/zope.conf.skel to have an explicit value of
>> 2.

[Dieter Maurer]
|> That may already be a bit large:
>
>  We use 15.000 with 6 workers and our Zope easily comsumes
>  about 1 to 1.5 GB of RAM.
>
> I would keep the 4.000 default in order not to bring
> newbies with low RAM into problems.
> 
> Experts can easily reconfigue the cache size.

It's unclear to me which default we're talking about.  ZODB's
DB.__init__ has cache_size=400 (not 4000) as the default.  The example
ZEO client in skel/etc/zope.conf.in sets

#   cache-size 5000

as its "default".

Since this isn't a "one size fits all" setting anyway, I doubt that
changing the default would help more than it would hurt.
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Default ZODB cache size

2005-07-08 Thread Dieter Maurer
Florent Guillaume wrote at 2005-7-8 12:02 +0200:
>How about boosting the default ZODB cache_size to something less  
>ridiculous than the default 4000 ?
>I propose changing etc/zope.conf.skel to have an explicit value of  
>2.

That may already be a bit large:

  We use 15.000 with 6 workers and our Zope easily comsumes
  about 1 to 1.5 GB of RAM.

I would keep the 4.000 default in order not to bring
newbies with low RAM into problems.

Experts can easily reconfigue the cache size.

-- 
Dieter
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )