[jboss-cvs] CacheBenchFwk/conf ...
Manik Surtani
manik at jboss.org
Thu May 17 03:37:44 EDT 2007
User: msurtani
Date: 07/05/17 03:37:44
Modified: conf cachebench.xml log4j.xml
Log:
Many changes
Revision Changes Path
1.10 +28 -74 CacheBenchFwk/conf/cachebench.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: cachebench.xml
===================================================================
RCS file: /cvsroot/jboss/CacheBenchFwk/conf/cachebench.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- cachebench.xml 16 May 2007 16:59:09 -0000 1.9
+++ cachebench.xml 17 May 2007 07:37:44 -0000 1.10
@@ -1,7 +1,6 @@
<!--
- Configures and controls the behaviour of the cache tester framework.
--->
-<!--
+ Configures and controls the behaviour of the cache benchmarking framework.
+
sampleSize - this is the number of putsgets to be performed, an average is used in metrics.
gcBetweenTestsEnabled - if true, the framework pauses between each test and requests System.gc() - use this if you find yourself running out of mem!
sleepBetweenTests - ms to sleep between tests. useful to allow the JVM some time to do a gc
@@ -10,99 +9,54 @@
-->
<cachebench sampleSize="100000" gcBetweenTestsEnabled="true" sleepBetweenTests="1000" emptyCacheBetweenTests="true" numThreads="25">
- <!-- Each testcase represents either a single configuration of a cacheing product.
+ <!-- Each testcase represents either a single configuration or a cacheing product.
For example, WhirlyCache would be one test case. JBossCache-standalone could be another, JBossCache-replicated could be yet another
See the javadoc for org.cachebench.CacheWrapper for the cacheWrapper property
-->
-
- <!-- note that if you are using REPLICATED tests, using the runSlave.sh script, it is best to run a single test at a time. -->
-
- <!-- Note that weights are currently ignored. -->
- <testcase
- name="JBossCache-Pessimistic-REPL_SYNC"
- cacheWrapper="org.cachebench.cachewrappers.JBossCacheWrapper">
- <test name="Strings" testClass="org.cachebench.tests.StringTest" weight="2.0" />
<!--
- <test name="Primitive Wrappers" testClass="org.cachebench.tests.PrimitiveTest" weight="1.0" />
- <test name="Custom Class Types" testClass="org.cachebench.tests.CustomClassTest" weight="1.0" />
- <test name="Custom Subclasses of Abstracts" testClass="org.cachebench.tests.SubclassTest" weight="1.5" />
- <test name="Custom Types With Transients" testClass="org.cachebench.tests.TransientTest" weight="1.0" />
- <test name="Custom Types With Statics" testClass="org.cachebench.tests.StaticsTest" weight="1.5" />
- <test name="Custom Types With Associations" testClass="org.cachebench.tests.AssociationsTest" weight="2.0" />
+ Note that if you are using REPLICATED tests, using the "ant runSlave" command, you can only run one test at a time.
+ Otherwise, if you are using the test in standalone mode (testing a LOCAL cache), you can add multiple "testcase" elements.
-->
-
- <!-- arbitrary params may be passed into the cacheWrapper implementation, typically used to pass in config files for the cache product. -->
- <param name="config" value="pess-repl-sync.xml" />
- </testcase>
+ <testcase name="JBossCache140-Pessimistic-REPL_SYNC" cacheWrapper="org.cachebench.cachewrappers.JBossCacheWrapper">
+ <!--<testcase name="JBossCache200-Pessimistic-REPL_SYNC" cacheWrapper="org.cachebench.cachewrappers.JBossCache200Wrapper">-->
+ <!--<testcase name="EHCache124-replicated" cacheWrapper="org.cachebench.cachewrappers.EHCacheWrapper">-->
+ <!--<testcase name="Terracotta230" cacheWrapper="org.cachebench.cachewrappers.TerracottaWrapper">-->
<!--
- <testcase
- name="JBossCache-Pessimistic-REPL_ASYNC"
- cacheWrapper="org.cachebench.cachewrappers.JBossCache200Wrapper">
- <test name="Strings" testClass="org.cachebench.tests.StringTest" weight="2.0" />
- <param name="config" value="pess-repl-sync.xml" />
- </testcase>
-
- <testcase
- name="JBossCache-Optimistic-REPL_SYNC"
- cacheWrapper="org.cachebench.cachewrappers.JBossCache200Wrapper">
- <test name="Strings" testClass="org.cachebench.tests.StringTest" weight="2.0" />
- <param name="config" value="pess-repl-sync.xml" />
- </testcase>
-
- <testcase
- name="JBossCache-Optimistic-REPL_ASYNC"
- cacheWrapper="org.cachebench.cachewrappers.JBossCache200Wrapper">
- <test name="Strings" testClass="org.cachebench.tests.StringTest" weight="2.0" />
- <param name="config" value="pess-repl-sync.xml" />
- </testcase>
+ * The "name" attrib is just used for display in the reports.
+ * You can write your own custom testClass.
+ * weight is currently unused.
-->
+ <test name="Strings" testClass="org.cachebench.tests.StringTest" weight="2.0" />
<!--
-
- You can have multiple test cases in a single profile, so they are all tested concurrently
- -->
- <!--
- <testcase
- name="EHCache-Standalone"
- cacheWrapper="org.cachebench.cachewrappers.EHCacheWrapper">
-
- <test name="Strings" testClass="org.cachebench.tests.StringTest" weight="2.0" />
<test name="Primitive Wrappers" testClass="org.cachebench.tests.PrimitiveTest" weight="1.0" />
<test name="Custom Class Types" testClass="org.cachebench.tests.CustomClassTest" weight="1.0" />
<test name="Custom Subclasses of Abstracts" testClass="org.cachebench.tests.SubclassTest" weight="1.5" />
<test name="Custom Types With Transients" testClass="org.cachebench.tests.TransientTest" weight="1.0" />
<test name="Custom Types With Statics" testClass="org.cachebench.tests.StaticsTest" weight="1.5" />
<test name="Custom Types With Associations" testClass="org.cachebench.tests.AssociationsTest" weight="2.0" />
-
- <param name="config" value="ehcache-config-standalone.xml" />
-
- </testcase>
-
-->
-<!--
- <testcase
- name="Tangosol"
- cacheWrapper="org.cachebench.cachewrappers.TangosolCacheWrapper">
- <test name="Strings" testClass="org.cachebench.tests.StringTest" weight="2.0" />
- <test name="Primitive Wrappers" testClass="org.cachebench.tests.PrimitiveTest" weight="1.0" />
- <test name="Custom Class Types" testClass="org.cachebench.tests.CustomClassTest" weight="1.0" />
- <test name="Custom Subclasses of Abstracts" testClass="org.cachebench.tests.SubclassTest" weight="1.5" />
- <test name="Custom Types With Transients" testClass="org.cachebench.tests.TransientTest" weight="1.0" />
- <test name="Custom Types With Statics" testClass="org.cachebench.tests.StaticsTest" weight="1.5" />
- <test name="Custom Types With Associations" testClass="org.cachebench.tests.AssociationsTest" weight="2.0" />
+ <!-- arbitrary params may be passed into the cacheWrapper implementation, typically used to pass in config files for the cache product. -->
+ <!-- JBoss Cache 1.4.x and 2.x -->
+ <param name="config" value="pess-repl-sync.xml" />
- <param name="config" value="tangosol-config.xml" />
+ <!-- EHCache -->
+ <!--<param name="config" value="ehcache.xml" />-->
+ <!-- Terracotta -->
+ <!--<param name="config" value="tc-config-pojo.xml" />-->
</testcase>
--->
+
<!-- Currently we only have a CSVReportGenerator. See javadocs for org.cachebench.reportgenerators.ReportGenerator for writing your
own report generators such as XML generators, graphic generators, etc -->
+
+ <!-- The CSV report generated can be plugged in to a spreadsheet to generate graphs, etc. -->
<report
outputFile="performance.csv"
generator="org.cachebench.reportgenerators.CSVReportGenerator" />
1.7 +2 -2 CacheBenchFwk/conf/log4j.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: log4j.xml
===================================================================
RCS file: /cvsroot/jboss/CacheBenchFwk/conf/log4j.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- log4j.xml 18 Apr 2007 19:09:30 -0000 1.6
+++ log4j.xml 17 May 2007 07:37:44 -0000 1.7
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<!-- The Log4j Configuration -->
-<!-- $Id: log4j.xml,v 1.6 2007/04/18 19:09:30 msurtani Exp $ -->
+<!-- $Id: log4j.xml,v 1.7 2007/05/17 07:37:44 msurtani Exp $ -->
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<!-- The list of appenders -->
<!-- The rolling file appender -->
@@ -28,7 +28,7 @@
<!-- The list of Categories-->
- <category name="org.cachebench.CacheBenchMarker" additivity="false">
+ <category name="org.cachebench.CacheBenchmarkRunner" additivity="false">
<priority value="TRACE"/>
<appender-ref ref="CONSOLE"/>
</category>
More information about the jboss-cvs-commits
mailing list