Author: mircea.markus
Date: 2008-01-07 09:07:27 -0500 (Mon, 07 Jan 2008)
New Revision: 5033
Modified:
cache-bench-fwk/trunk/smartfrog/main.sf
Log:
overwritting with cluster config
Modified: cache-bench-fwk/trunk/smartfrog/main.sf
===================================================================
--- cache-bench-fwk/trunk/smartfrog/main.sf 2008-01-07 13:40:59 UTC (rev 5032)
+++ cache-bench-fwk/trunk/smartfrog/main.sf 2008-01-07 14:07:27 UTC (rev 5033)
@@ -3,15 +3,16 @@
BaseCacheBenchPrim extends Prim {
sfClass "org.cachebench.smartfrog.CacheBenchmarkPrim";
+ sfRootLocatorPort 3801;
- scriptToExec "runNode.bat"
+ 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 "/projects/jboss/cache/benchmark/cache-bench-fwk";
+ cacheBenchmarkHome "/qa/home/mmarkus/code/cache-bench-fwk";
//should be the name of a subdirectory of 'cache-products' directory.
- cacheDistribution "jbosscache-2.0.0";
+ cacheDistribution "terracotta-2.5.0";
//might take a value from 0..max_nr_of_nodes, representing the index of the current
node in the cluster
nodeIndex TBD;
@@ -25,13 +26,14 @@
sfConfig extends Compound {
- minimumClusterSize 0;
- maximumClusterSize 9;
+ minimumClusterSize 2;
+ maximumClusterSize 7;
oneClusterSize extends Compound {
c1FirstMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster01";
nodeIndex 0;
clusterSize 1;
minClusterSize ATTRIB minimumClusterSize;
@@ -44,7 +46,8 @@
sizeOfTheCluster 2;
c2FirstMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster01";
nodeIndex 0;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -52,7 +55,8 @@
}
c2SecondMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster02";
nodeIndex 1;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -65,7 +69,8 @@
sizeOfTheCluster 3;
c3FirstMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster01";
nodeIndex 0;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -73,7 +78,8 @@
}
c3SecondMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster02";
nodeIndex 1;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -81,7 +87,8 @@
}
c3ThirdMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster03";
nodeIndex 2;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -94,7 +101,8 @@
sizeOfTheCluster 4;
c4FirstMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster01";
nodeIndex 0;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -102,7 +110,8 @@
}
c4SecondMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster02";
nodeIndex 1;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -110,7 +119,8 @@
}
c4ThirdMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster03";
nodeIndex 2;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -118,7 +128,8 @@
}
c4ForthMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster04";
nodeIndex 3;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -131,7 +142,8 @@
sizeOfTheCluster 5;
c5FirstMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster01";
nodeIndex 0;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -139,7 +151,8 @@
}
c5SecondMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster02";
nodeIndex 1;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -147,7 +160,8 @@
}
c5ThirdMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster03";
nodeIndex 2;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -155,7 +169,8 @@
}
c5ForthMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster04";
nodeIndex 3;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -163,7 +178,8 @@
}
c5FifthMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster05";
nodeIndex 4;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -176,7 +192,8 @@
sizeOfTheCluster 6;
c6FirstMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster01";
nodeIndex 0;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -184,7 +201,8 @@
}
c6SecondMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster02";
nodeIndex 1;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -192,7 +210,8 @@
}
c6ThirdMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster03";
nodeIndex 2;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -200,7 +219,8 @@
}
c6ForthMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster04";
nodeIndex 3;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -208,7 +228,8 @@
}
c6FifthMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster05";
nodeIndex 4;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -216,7 +237,8 @@
}
c6SixthMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster06";
nodeIndex 5;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -229,7 +251,8 @@
sizeOfTheCluster 7;
c7FirstMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster01";
nodeIndex 0;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -237,7 +260,8 @@
}
c7SecondMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster02";
nodeIndex 1;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -245,7 +269,8 @@
}
c7ThirdMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster03";
nodeIndex 2;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -253,7 +278,8 @@
}
c7ForthMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster04";
nodeIndex 3;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -261,7 +287,8 @@
}
c7FifthMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster05";
nodeIndex 4;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -269,7 +296,8 @@
}
c7SixthMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster06";
nodeIndex 5;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -277,7 +305,8 @@
}
c7SeventhMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster07";
nodeIndex 6;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -290,7 +319,8 @@
sizeOfTheCluster 8;
c8FirstMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster01";
nodeIndex 0;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -298,7 +328,8 @@
}
c8SecondMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster02";
nodeIndex 1;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -306,7 +337,8 @@
}
c8ThirdMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster03";
nodeIndex 2;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -314,7 +346,8 @@
}
c8ForthMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster04";
nodeIndex 3;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -322,7 +355,8 @@
}
c8FifthMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster05";
nodeIndex 4;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -330,7 +364,8 @@
}
c8SixthMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster06";
nodeIndex 5;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -338,7 +373,8 @@
}
c8SeventhMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster07";
nodeIndex 6;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -346,7 +382,8 @@
}
c8EighthMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster08";
nodeIndex 7;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -359,7 +396,8 @@
sizeOfTheCluster 9;
c9FirstMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster01";
nodeIndex 0;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -367,7 +405,8 @@
}
c9SecondMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster02";
nodeIndex 1;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -375,7 +414,8 @@
}
c9ThirdMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster03";
nodeIndex 2;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -383,7 +423,8 @@
}
c9ForthMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster04";
nodeIndex 3;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -391,7 +432,8 @@
}
c9FifthMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster05";
nodeIndex 4;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -399,7 +441,8 @@
}
c9SixthMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster06";
nodeIndex 5;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -407,7 +450,8 @@
}
c9SeventhMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster07";
nodeIndex 6;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -415,7 +459,8 @@
}
c9EighthMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
+
+ sfProcessHost "cluster08";
nodeIndex 7;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
@@ -423,12 +468,13 @@
}
c9NinthMember extends BaseCacheBenchPrim {
- sfProcessHost "localhost";
- nodeIndex 7;
+
+ sfProcessHost "cluster09";
+ nodeIndex 8;
clusterSize ATTRIB sizeOfTheCluster;
minClusterSize ATTRIB minimumClusterSize;
maxClusterSize ATTRIB maximumClusterSize;
}
}
+}
-}