[jbosscache-commits] JBoss Cache SVN: r7001 - benchmarks/benchmark-fwk/trunk/cache-products/terracotta-2.5.0.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Wed Oct 22 12:10:20 EDT 2008


Author: mircea.markus
Date: 2008-10-22 12:10:20 -0400 (Wed, 22 Oct 2008)
New Revision: 7001

Added:
   benchmarks/benchmark-fwk/trunk/cache-products/terracotta-2.5.0/Readme.txt
Modified:
   benchmarks/benchmark-fwk/trunk/cache-products/terracotta-2.5.0/config.sh
Log:
enhanced session simulator

Added: benchmarks/benchmark-fwk/trunk/cache-products/terracotta-2.5.0/Readme.txt
===================================================================
--- benchmarks/benchmark-fwk/trunk/cache-products/terracotta-2.5.0/Readme.txt	                        (rev 0)
+++ benchmarks/benchmark-fwk/trunk/cache-products/terracotta-2.5.0/Readme.txt	2008-10-22 16:10:20 UTC (rev 7001)
@@ -0,0 +1,16 @@
+Terracotta replicates through an centralized server, so this needs to be installed and configured as well.
+Before running the tests on your environment, please follow the following steps in order to install the Terracotta server.
+
+1) Download and install terracotta from http://www.terracotta.org. For simplicity we'll assume that Terracotta is install in TC_ROOT
+2) Create the DSO boot jar by running TC_ROOT/bin/make-boot-jar.sh. This will generate a jar file in the directory TC_ROOT/lib/dso-boot
+ E.g. lib/dso-boot/dso-boot-hotspot_linux_150_11.jar. This jar file is system specific (as its name shows), so it's name might
+ vary from system to system.
+3) Update ./config.sh
+  a) make sure TC_HOME points to the terracotta installation directory (i.e. TC_ROOT)
+  b) make sure that the jar file generated at 2) is in the class path
+  Note: each line that needs to be changed is prefixed by a comment: "#next line should be modified based on the environment"
+4) Before running the tests, make sure you start the TC server first. A server with default configuration can be started using the script: TC_ROOT/samples/start-demo-server.sh
+5) Run the tests by by using allJBossCacheTests.sh or runNode.sh
+
+Note: steps 1-3 should only be performed once
+

Modified: benchmarks/benchmark-fwk/trunk/cache-products/terracotta-2.5.0/config.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/cache-products/terracotta-2.5.0/config.sh	2008-10-22 04:47:51 UTC (rev 7000)
+++ benchmarks/benchmark-fwk/trunk/cache-products/terracotta-2.5.0/config.sh	2008-10-22 16:10:20 UTC (rev 7001)
@@ -3,6 +3,8 @@
 #see "$CACHE_ROOT/cache-products/cache.sh" for details
 
 THIS_DIR=./cache-products/terracotta-2.5.0
+
+#next line should be modified based on the environment
 TC_HOME="${HOME}/java/terracotta-2.5.0"
 
 #addint terracotta wrapper class to classpath
@@ -10,6 +12,8 @@
 
 #other specific JVM options
 JVM_OPTIONS="$JVM_OPTIONS -DpreferIPv4Stack=true -Dtc.config=$THIS_DIR/tc-client-config.xml -Dtc.install-root=${TC_HOME}"
+
+#next line should be modified based on the environment
 JVM_OPTIONS="$JVM_OPTIONS -Xbootclasspath/p:${TC_HOME}/lib/dso-boot/dso-boot-hotspot_linux_150_11.jar"
 JVM_OPTIONS="$JVM_OPTIONS -DcacheBenchFwk.cacheWrapperClassName=org.cachebench.cachewrappers.TerracottaWrapper"
 




More information about the jbosscache-commits mailing list