Default ZODB cache size
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 20000. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 59 http://nuxeo.com fg@nuxeo.com
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 20000.
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
[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 20000.
[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.
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 20000.
[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
participants (3)
-
Dieter Maurer -
Florent Guillaume -
Tim Peters