[jbosscache-commits] JBoss Cache SVN: r4991 - cache-bench-fwk/trunk/smartfrog.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Fri Jan 4 13:51:20 EST 2008


Author: mircea.markus
Date: 2008-01-04 13:51:19 -0500 (Fri, 04 Jan 2008)
New Revision: 4991

Modified:
   cache-bench-fwk/trunk/smartfrog/main.sf
Log:
chnaged config 

Modified: cache-bench-fwk/trunk/smartfrog/main.sf
===================================================================
--- cache-bench-fwk/trunk/smartfrog/main.sf	2008-01-04 17:54:32 UTC (rev 4990)
+++ cache-bench-fwk/trunk/smartfrog/main.sf	2008-01-04 18:51:19 UTC (rev 4991)
@@ -1,13 +1,64 @@
-#include "org/smartfrog/components.sf"
-#include "cacheBenchComponent.sf"
-
-sfConfig extends Compound {
-
-   node1 extends BaseCacheBenchPrim{
-      sfProcessHost "localhost";
-      nodeIndex 1;
-      scriptToExec "runNode.bat"
-   }
-   
-}
-
+#include "org/smartfrog/components.sf"
+
+
+BaseCacheBenchPrim extends Prim {
+   sfClass "org.cachebench.smartfrog.CacheBenchmarkPrim";
+
+   scriptToExec "./runNode.sh"
+
+   //FQN of the directory where the framework was checked out (noramally is th eparent of the dir that contains this file)
+   //this should be edited
+   cacheBenchmarkHome "/qa/home/mmarkus/code/cache-bench-fwk";
+
+   //should be the name of a subdirectory of 'cache-products' directory.
+   cacheDistribution "jbosscache-2.0.0";
+
+   //defines on how many nodes the benchmark will run
+   clusterSize 1;
+
+   //might take a value from 0..max_nr_of_nodes, representing the index of the current node in the cluster
+   nodeIndex TBD;
+}
+
+sfConfig extends Compound {
+
+   node1 extends BaseCacheBenchPrim{
+      sfProcessHost "cluster01";
+      nodeIndex 0;
+   }
+   
+   node2 extends BaseCacheBenchPrim{
+      sfProcessHost "cluster02";
+      nodeIndex 1;
+   }
+      
+   node3 extends BaseCacheBenchPrim{
+      sfProcessHost "cluster03";
+      nodeIndex 2;
+   }
+      
+   node4 extends BaseCacheBenchPrim{
+      sfProcessHost "cluster04";
+      nodeIndex 3;
+   }
+   
+   node5 extends BaseCacheBenchPrim{
+      sfProcessHost "cluster05";
+      nodeIndex 4;
+   }
+   
+   node6 extends BaseCacheBenchPrim{
+      sfProcessHost "cluster06";
+      nodeIndex 5;
+   }
+   
+   node7 extends BaseCacheBenchPrim{
+      sfProcessHost "cluster07";
+      nodeIndex 6;
+   }
+   
+   node8 extends BaseCacheBenchPrim{
+      sfProcessHost "cluster08";
+      nodeIndex 7;
+   }
+}




More information about the jbosscache-commits mailing list