Author: julien_viet
Date: 2010-09-28 18:03:47 -0400 (Tue, 28 Sep 2010)
New Revision: 4417
Modified:
exo/portal/branches/3.1.4-PLF-perf/component/common/src/main/java/conf/jcr/jbosscache/cluster/config.xml
exo/portal/branches/3.1.4-PLF-perf/component/common/src/main/java/conf/jcr/jbosscache/local/config.xml
Log:
TESTFR-7: Remove JBoss Cache eviction policy contention
Modified:
exo/portal/branches/3.1.4-PLF-perf/component/common/src/main/java/conf/jcr/jbosscache/cluster/config.xml
===================================================================
---
exo/portal/branches/3.1.4-PLF-perf/component/common/src/main/java/conf/jcr/jbosscache/cluster/config.xml 2010-09-28
22:02:32 UTC (rev 4416)
+++
exo/portal/branches/3.1.4-PLF-perf/component/common/src/main/java/conf/jcr/jbosscache/cluster/config.xml 2010-09-28
22:03:47 UTC (rev 4417)
@@ -30,11 +30,12 @@
<!-- Eviction configuration -->
<eviction wakeUpInterval="5000">
- <default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"
-
actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy"
- eventQueueSize="1000000">
- <property name="maxNodes" value="5000" />
- <property name="timeToLive" value="20000" />
- </default>
+ <default algorithmClass="org.jboss.cache.eviction.ExpirationAlgorithm"
+
actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy"
+ eventQueueSize="1000000">
+ <property name="maxNodes" value="1000000" />
+ <property name="warnNoExpirationKey" value="false" />
+ </default>
</eviction>
+
</jbosscache>
\ No newline at end of file
Modified:
exo/portal/branches/3.1.4-PLF-perf/component/common/src/main/java/conf/jcr/jbosscache/local/config.xml
===================================================================
---
exo/portal/branches/3.1.4-PLF-perf/component/common/src/main/java/conf/jcr/jbosscache/local/config.xml 2010-09-28
22:02:32 UTC (rev 4416)
+++
exo/portal/branches/3.1.4-PLF-perf/component/common/src/main/java/conf/jcr/jbosscache/local/config.xml 2010-09-28
22:03:47 UTC (rev 4417)
@@ -27,11 +27,13 @@
<invocationBatching enabled="true" />
<!-- Eviction configuration -->
- <eviction wakeUpInterval="5000">
- <default algorithmClass="org.jboss.cache.eviction.FIFOAlgorithm"
actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy"
eventQueueSize="1000000">
- <property name="maxNodes" value="5000" />
- <property name="minTimeToLive" value="20000" />
- </default>
- </eviction>
+ <eviction wakeUpInterval="5000">
+ <default algorithmClass="org.jboss.cache.eviction.ExpirationAlgorithm"
+
actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy"
+ eventQueueSize="1000000">
+ <property name="maxNodes" value="1000000" />
+ <property name="warnNoExpirationKey" value="false" />
+ </default>
+ </eviction>
</jbosscache>
Show replies by date