[jbosscache-commits] JBoss Cache SVN: r6759 - benchmarks/benchmark-fwk/trunk.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Fri Sep 19 07:15:40 EDT 2008


Author: manik.surtani at jboss.com
Date: 2008-09-19 07:15:40 -0400 (Fri, 19 Sep 2008)
New Revision: 6759

Added:
   benchmarks/benchmark-fwk/trunk/compareJBC2and3.sh
Log:
New script

Added: benchmarks/benchmark-fwk/trunk/compareJBC2and3.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/compareJBC2and3.sh	                        (rev 0)
+++ benchmarks/benchmark-fwk/trunk/compareJBC2and3.sh	2008-09-19 11:15:40 UTC (rev 6759)
@@ -0,0 +1,100 @@
+#!/bin/bash
+
+scaling="2 4 6 8"
+
+
+
+configs="pess-repl-sync.xml pess-repl-sync-br.xml pess-repl-async.xml mvcc-repl-sync.xml mvcc-repl-sync-br.xml mvcc-repl-async.xml"
+#configs="distributed replicated"
+
+
+mkdir output
+
+#### JBoss Cache 3.0.0
+product="jbosscache-3.0.0"
+configs="mvcc-repl-sync.xml mvcc-repl-sync-br.xml mvcc-repl-async.xml"
+
+for config in $configs
+do
+   for size in $scaling
+   do
+      nohup ./cluster.sh start $product $config $size
+
+      outputFileName=data_${product}_${config}_${size}.csv
+      while [ ! -e $outputFileName ]
+      do
+         echo "Waiting for report [ $outputFileName ]"
+         sleep 5
+      done
+      sleep 60
+      mv $outputFileName output/
+   done
+done
+
+#### JBoss Cache 2.2.0
+product="jbosscache-2.2.0"
+configs="pess-repl-sync.xml pess-repl-sync-br.xml pess-repl-async.xml"
+
+for config in $configs
+do
+   for size in $scaling
+   do
+      nohup ./cluster.sh start $product $config $size
+
+      outputFileName=data_${product}_${config}_${size}.csv
+      while [ ! -e $outputFileName ]
+      do
+         echo "Waiting for report [ $outputFileName ]"
+         sleep 5
+      done
+      sleep 60
+      mv $outputFileName output/
+   done
+done
+
+#### EHCache
+product="ehcache-1.5.0"
+configs="ehcache-repl-sync.xml ehcache-repl-async.xml"
+
+for config in $configs
+do
+   for size in $scaling
+   do
+      nohup ./cluster.sh start $product $config $size
+
+      outputFileName=data_${product}_${config}_${size}.csv
+      while [ ! -e $outputFileName ]
+      do
+         echo "Waiting for report [ $outputFileName ]"
+         sleep 5
+      done
+      sleep 60
+      mv $outputFileName output/
+   done
+done
+
+#### Coherence
+product="coherence-3.3.1"
+configs="repl-cache.xml dist-cache.xml"
+
+for config in $configs
+do
+   for size in $scaling
+   do
+      nohup ./cluster.sh start $product $config $size
+
+      outputFileName=data_${product}_${config}_${size}.csv
+      while [ ! -e $outputFileName ]
+      do
+         echo "Waiting for report [ $outputFileName ]"
+         sleep 5
+      done
+      sleep 60
+      mv $outputFileName output/
+   done
+done
+
+
+echo Generating charts ...
+
+./generateChart -reportDir output




More information about the jbosscache-commits mailing list