[jbosscache-commits] JBoss Cache SVN: r5232 - in benchmarks/benchmark-fwk/trunk: conf and 1 other directory.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Thu Jan 24 11:09:29 EST 2008


Author: manik.surtani at jboss.com
Date: 2008-01-24 11:09:29 -0500 (Thu, 24 Jan 2008)
New Revision: 5232

Added:
   benchmarks/benchmark-fwk/trunk/allJBossCacheTests.sh
Modified:
   benchmarks/benchmark-fwk/trunk/bindAddress.sh
   benchmarks/benchmark-fwk/trunk/conf/cachebench.xml
Log:


Added: benchmarks/benchmark-fwk/trunk/allJBossCacheTests.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/allJBossCacheTests.sh	                        (rev 0)
+++ benchmarks/benchmark-fwk/trunk/allJBossCacheTests.sh	2008-01-24 16:09:29 UTC (rev 5232)
@@ -0,0 +1,43 @@
+#!/bin/bash
+
+scaling="2 4 6 8 10"
+configs="pess-repl-async.xml pess-repl-sync.xml ress-repl-async-br.xml"
+products="jbosscache-1.4.1 jbosscache-2.0.0 jbosscache-2.1.0"
+
+mkdir output
+
+for product in $products
+do
+	for config in $configs
+	do
+		for size in $scaling
+		do
+			./cluster.sh start $product $config $size
+			while [ ! -e performance-$size.csv ]
+			do
+				echo Waiting for report... 
+				sleep 30
+			done
+			sleep 10
+			mv performance-$size.csv output/$product-$config-$size.csv
+			./cluster.sh stop
+			sleep 10
+		done
+	done
+done
+
+echo Combining reports
+
+cd output
+if [ -e ../combined.csv ]
+then
+	rm ../combined.csv
+fi
+
+for i in *.csv
+do
+	echo $i >> ../combined.csv
+	cat $i >> ../combined.csv
+	echo >> ../combined.csv	
+done
+


Property changes on: benchmarks/benchmark-fwk/trunk/allJBossCacheTests.sh
___________________________________________________________________
Name: svn:executable
   + *

Modified: benchmarks/benchmark-fwk/trunk/bindAddress.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/bindAddress.sh	2008-01-24 15:51:20 UTC (rev 5231)
+++ benchmarks/benchmark-fwk/trunk/bindAddress.sh	2008-01-24 16:09:29 UTC (rev 5232)
@@ -1,5 +1,5 @@
 #!/bin/sh
 
 ### Set your bind address for the tests to use. Could be an IP, host name or a reference to an environment variable.
-BIND_ADDRESS=${MYTESTIP_4}
+BIND_ADDRESS=${MYTESTIP_1}
 

Modified: benchmarks/benchmark-fwk/trunk/conf/cachebench.xml
===================================================================
--- benchmarks/benchmark-fwk/trunk/conf/cachebench.xml	2008-01-24 15:51:20 UTC (rev 5231)
+++ benchmarks/benchmark-fwk/trunk/conf/cachebench.xml	2008-01-24 16:09:29 UTC (rev 5232)
@@ -28,6 +28,7 @@
       <member host="cluster07" port="17900"/> 
       <member host="cluster08" port="17900"/> 
       <member host="cluster09" port="17900"/> 
+      <member host="cluster10" port="17900"/>
    </cluster>
 
    <!--
@@ -49,10 +50,12 @@
         validates that replication is enabled and works. If repl does not occur and the stopOnFailure is set to true then exists.
         Should be used to make sure that replication is enabled; see javadoc for more details
       -->
+	<!--
       <test name="replicationOccurrsTest" testClass="org.cachebench.tests.ReplicationOccursTest">
          <param name="partialReplication" value="true"/>
       </test>
 
+-->
       <!--
          * The "name" attrib is just used for display in the reports.
          * You can write your own custom testClass.




More information about the jbosscache-commits mailing list