Dear Wiki user,
You have subscribed to a wiki page or wiki category on
"Lenya Wiki" for change notification.
The following page has been changed by JörnNettingsmeier:
http://wiki.apache.org/lenya/How_to_tune_
Lenya_1%2e4_for_Production_Use
------------------------------------------------------------
------------------
}}}
== Cache ==
+
The default store implementation in cocoon is an in-memory
store backed by a disk store (based on EHCache). You can
configure this store
using a file called ehcache.xml which is located in
''org/apache/cocoon/components/store/impl/ehcache.xml''.
The default entries of the defaultCache are as follows:
 -80, +81

== Performance Tuning ==
- see HowToPerformance.
+ DougChestnut recommends to adapt the garbage collector to
make use of all available CPU cores. This can be done by
adding the following to your JAVA options (for a machine
with 4 cores):
+ {{{
+ -XX:+UseParallelGC -XX:ParallelGCThreads=4
+ }}}
+ You can also increase stack and heap size to make better
use of available memory (be careful not to starve other
processes on the same machine, though):
+ {{{
+ -Xms512m -Xmx1024m
+ }}}
+ see also HowToPerformance.
+
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe lenya.apache.org
For additional commands, e-mail: dev-help lenya.apache.org
|