JBoss Cache SVN: r5098 - benchmarks.
by jbosscache-commits@lists.jboss.org
Author: mircea.markus
Date: 2008-01-08 17:55:28 -0500 (Tue, 08 Jan 2008)
New Revision: 5098
Added:
benchmarks/benchmark-fwk/
Log:
17 years
JBoss Cache SVN: r5097 - benchmarks.
by jbosscache-commits@lists.jboss.org
Author: mircea.markus
Date: 2008-01-08 17:54:52 -0500 (Tue, 08 Jan 2008)
New Revision: 5097
Added:
benchmarks/trunk/
Removed:
benchmarks/benchmark-fwk/
Log:
moving benchmark fwk
Copied: benchmarks/trunk (from rev 5096, benchmarks/benchmark-fwk)
17 years
JBoss Cache SVN: r5096 - in benchmarks/benchmark-fwk/cache-products: jbosscache-2.0.0/conf and 2 other directories.
by jbosscache-commits@lists.jboss.org
Author: mircea.markus
Date: 2008-01-08 17:25:59 -0500 (Tue, 08 Jan 2008)
New Revision: 5096
Modified:
benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/conf/pess-repl-sync-br.xml
benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/config.sh
benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/src/org/cachebench/cachewrappers/JBossCache200Wrapper.java
benchmarks/benchmark-fwk/cache-products/jbosscache-2.1.0cr2/config.sh
Log:
added prefer IP v4....
Modified: benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/conf/pess-repl-sync-br.xml
===================================================================
--- benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/conf/pess-repl-sync-br.xml 2008-01-08 22:14:01 UTC (rev 5095)
+++ benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/conf/pess-repl-sync-br.xml 2008-01-08 22:25:59 UTC (rev 5096)
@@ -20,60 +20,61 @@
<attribute name="ClusterName">JBossCache-Cluster</attribute>
<attribute name="ClusterConfig">
<config>
- <TCP start_port="7580"
- loopback="false"
- discard_incompatible_packets="true"
- max_bundle_size="64000"
- max_bundle_timeout="30"
- use_incoming_packet_handler="true"
- enable_bundling="true"
- enable_diagnostics="true"
- thread_naming_pattern="cl"
+ <UDP mcast_addr="228.10.10.10"
+ mcast_port="45588"
+ tos="8"
+ ucast_recv_buf_size="20000000"
+ ucast_send_buf_size="640000"
+ mcast_recv_buf_size="25000000"
+ mcast_send_buf_size="640000"
+ loopback="false"
+ discard_incompatible_packets="true"
+ max_bundle_size="64000"
+ max_bundle_timeout="30"
+ use_incoming_packet_handler="true"
+ ip_ttl="2"
+ enable_bundling="false"
+ enable_diagnostics="true"
- use_concurrent_stack="true"
+ use_concurrent_stack="true"
- recv_buf_size="20000000"
- send_buf_size="20000000"
+ thread_naming_pattern="pl"
- thread_pool.enabled="true"
- thread_pool.min_threads="2"
- thread_pool.max_threads="4"
- thread_pool.keep_alive_time="5000"
- thread_pool.queue_enabled="true"
- thread_pool.queue_max_size="100000"
- thread_pool.rejection_policy="discard"
+ thread_pool.enabled="true"
+ thread_pool.min_threads="1"
+ thread_pool.max_threads="25"
+ thread_pool.keep_alive_time="30000"
+ thread_pool.queue_enabled="true"
+ thread_pool.queue_max_size="10"
+ thread_pool.rejection_policy="Run"
- oob_thread_pool.enabled="true"
- oob_thread_pool.min_threads="4"
- oob_thread_pool.max_threads="8"
- oob_thread_pool.keep_alive_time="5000"
- oob_thread_pool.queue_enabled="false"
- oob_thread_pool.queue_max_size="100"
- oob_thread_pool.rejection_policy="Run"/>
+ oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1"
+ oob_thread_pool.max_threads="4"
+ oob_thread_pool.keep_alive_time="10000"
+ oob_thread_pool.queue_enabled="true"
+ oob_thread_pool.queue_max_size="10"
+ oob_thread_pool.rejection_policy="Run"/>
- <MPING timeout="2000" mcast_addr="232.1.2.3"
- num_initial_members="3"/>
- <MERGE2 max_interval="30000"
- min_interval="10000"/>
- <FD_SOCK/>
- <FD timeout="10000" max_tries="5" shun="true"/>
- <VERIFY_SUSPECT timeout="1500" />
- <BARRIER />
- <pbcast.NAKACK use_stats_for_retransmission="false"
- exponential_backoff="150"
- use_mcast_xmit="false" gc_lag="0"
- retransmit_timeout="50,300,600,1200"
- discard_delivered_msgs="true"/>
- <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
- max_bytes="1000000"/>
- <VIEW_SYNC avg_send_interval="60000" />
- <pbcast.GMS print_local_addr="true" join_timeout="3000"
- shun="false"
- view_bundling="true"/>
- <FC max_credits="10000000"
- min_threshold="0.20"/>
- <FRAG2 frag_size="60000" />
- <pbcast.STATE_TRANSFER />
+ <PING timeout="2000" num_initial_members="3"/>
+ <MERGE2 max_interval="30000" min_interval="10000"/>
+ <FD_SOCK/>
+ <FD timeout="10000" max_tries="5" shun="true"/>
+ <VERIFY_SUSPECT timeout="1500"/>
+ <pbcast.NAKACK max_xmit_size="60000"
+ use_mcast_xmit="false" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800"
+ discard_delivered_msgs="true"/>
+ <UNICAST timeout="300,600,1200,2400,3600"/>
+ <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+ max_bytes="400000"/>
+ <pbcast.GMS print_local_addr="true" join_timeout="5000"
+ join_retry_timeout="2000" shun="false"
+ view_bundling="true" view_ack_collection_timeout="5000"/>
+ <FRAG2 frag_size="60000"/>
+ <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
+ <!-- <pbcast.STATE_TRANSFER/> -->
+ <pbcast.FLUSH timeout="0"/>
</config>
</attribute>
<attribute name="FetchInMemoryState">true</attribute>
Modified: benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/config.sh
===================================================================
--- benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/config.sh 2008-01-08 22:14:01 UTC (rev 5095)
+++ benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/config.sh 2008-01-08 22:25:59 UTC (rev 5096)
@@ -14,5 +14,5 @@
#--classpath was set
#additional JVM options
-JVM_OPTIONS="$JVM_OPTIONS -Xmx1024m -DpreferIPv4Stack=true"
+JVM_OPTIONS="$JVM_OPTIONS -Xmx1024m -Djava.net.preferIPv4Stack=true"
Modified: benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/src/org/cachebench/cachewrappers/JBossCache200Wrapper.java
===================================================================
--- benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/src/org/cachebench/cachewrappers/JBossCache200Wrapper.java 2008-01-08 22:14:01 UTC (rev 5095)
+++ benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/src/org/cachebench/cachewrappers/JBossCache200Wrapper.java 2008-01-08 22:25:59 UTC (rev 5096)
@@ -10,6 +10,7 @@
import org.jboss.cache.buddyreplication.GravitateResult;
import org.jboss.cache.marshall.NodeData;
+import java.net.URL;
import java.util.Map;
public class JBossCache200Wrapper implements CacheWrapper
@@ -20,9 +21,13 @@
public void init(Map parameters) throws Exception
{
log.info("Creating cache with the following configuration: " + parameters);
- cache = DefaultCacheFactory.getInstance().createCache((String)parameters.get("config"));
+ String configFile = (String) parameters.get("config");
+ URL url = Thread.currentThread().getContextClassLoader().getResource(configFile);
+ log.info("Loading cache with config file: " + url);
log.info("Running follwing JBossCacheVersion: " + org.jboss.cache.Version.version);
- log.info("Running follwing JBossCacheCodeName: " + org.jboss.cache.Version.codename); }
+ log.info("Running follwing JBossCacheCodeName: " + org.jboss.cache.Version.codename);
+ cache = DefaultCacheFactory.getInstance().createCache(configFile);
+ }
public void setUp() throws Exception
{
Modified: benchmarks/benchmark-fwk/cache-products/jbosscache-2.1.0cr2/config.sh
===================================================================
--- benchmarks/benchmark-fwk/cache-products/jbosscache-2.1.0cr2/config.sh 2008-01-08 22:14:01 UTC (rev 5095)
+++ benchmarks/benchmark-fwk/cache-products/jbosscache-2.1.0cr2/config.sh 2008-01-08 22:25:59 UTC (rev 5096)
@@ -15,4 +15,4 @@
#--classpath was set
#additional JVM options
-JVM_OPTIONS="$JVM_OPTIONS -Xmx1024m -DpreferIPv4Stack=true"
\ No newline at end of file
+JVM_OPTIONS="$JVM_OPTIONS -Xmx1024m -Djava.net.preferIPv4Stack=true"
\ No newline at end of file
17 years
JBoss Cache SVN: r5095 - benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/lib.
by jbosscache-commits@lists.jboss.org
Author: mircea.markus
Date: 2008-01-08 17:14:01 -0500 (Tue, 08 Jan 2008)
New Revision: 5095
Added:
benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/lib/jgroups-all.jar
Removed:
benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/lib/jgroups-2.6.1.jar
benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/lib/jgroups.jar
Modified:
benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/lib/jboss-common-core.jar
Log:
changed the lib
Modified: benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/lib/jboss-common-core.jar
===================================================================
(Binary files differ)
Deleted: benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/lib/jgroups-2.6.1.jar
===================================================================
(Binary files differ)
Added: benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/lib/jgroups-all.jar
===================================================================
(Binary files differ)
Property changes on: benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/lib/jgroups-all.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: benchmarks/benchmark-fwk/cache-products/jbosscache-2.0.0/lib/jgroups.jar
===================================================================
(Binary files differ)
17 years
JBoss Cache SVN: r5094 - benchmarks/benchmark-fwk/src/org/cachebench/smartfrog.
by jbosscache-commits@lists.jboss.org
Author: mircea.markus
Date: 2008-01-08 15:53:02 -0500 (Tue, 08 Jan 2008)
New Revision: 5094
Modified:
benchmarks/benchmark-fwk/src/org/cachebench/smartfrog/CacheBenchmarkPrim.java
Log:
changed as the runNode.sh changed
Modified: benchmarks/benchmark-fwk/src/org/cachebench/smartfrog/CacheBenchmarkPrim.java
===================================================================
--- benchmarks/benchmark-fwk/src/org/cachebench/smartfrog/CacheBenchmarkPrim.java 2008-01-08 20:46:08 UTC (rev 5093)
+++ benchmarks/benchmark-fwk/src/org/cachebench/smartfrog/CacheBenchmarkPrim.java 2008-01-08 20:53:02 UTC (rev 5094)
@@ -98,7 +98,7 @@
correctTerminationOfTestsIfNeeded();
return;
}
- String command = scriptToExec + " " + nodeIndex + " " + cacheDistribution + " -DclusterSize=" + clusterSize;
+ String command = scriptToExec + " " + nodeIndex + " " + cacheDistribution + " " + clusterSize;
log.info("Executing command: " + command);
Process process = Runtime.getRuntime().exec(command, null, toRunIn);
InputStreamReader reader = new InputStreamReader(process.getInputStream());
17 years
JBoss Cache SVN: r5093 - benchmarks/benchmark-fwk.
by jbosscache-commits@lists.jboss.org
Author: mircea.markus
Date: 2008-01-08 15:46:08 -0500 (Tue, 08 Jan 2008)
New Revision: 5093
Modified:
benchmarks/benchmark-fwk/build.xml
Log:
renamed file
Modified: benchmarks/benchmark-fwk/build.xml
===================================================================
--- benchmarks/benchmark-fwk/build.xml 2008-01-08 20:44:03 UTC (rev 5092)
+++ benchmarks/benchmark-fwk/build.xml 2008-01-08 20:46:08 UTC (rev 5093)
@@ -414,7 +414,7 @@
<property name="compiler.args.jbosscache200-plugin" value="${compiler.args}"/>
<property name="jbosscache200-plugin.output.dir" value="${module.jbosscache200-plugin.basedir}/classes/production/jbosscache-2.0.0"/>
- <property name="jbosscache210cr2-plugin.output.dir" value="${module.jbosscache210cr2-plugin.basedir}/classes/production/jbosscache-2.1.0CR2"/>
+ <property name="jbosscache210cr2-plugin.output.dir" value="${module.jbosscache210cr2-plugin.basedir}/classes/production/jbosscache-2.1.0cr2"/>
<property name="jbosscache200-plugin.testoutput.dir" value="${module.jbosscache200-plugin.basedir}/classes/test/jbosscache-2.0.0"/>
<path id="jbosscache200-plugin.module.bootclasspath">
@@ -431,7 +431,7 @@
</path>
<path id="jbosscache210cr2-plugin.module.classpath">
- <fileset dir="${module.jbosscache210cr2-plugin.basedir}/cache-products/jbosscache-2.1.0CR2/lib" includes="*.jar" />
+ <fileset dir="${module.jbosscache210cr2-plugin.basedir}/cache-products/jbosscache-2.1.0cr2/lib" includes="*.jar" />
<pathelement location="${module.framework.basedir}/lib/commons-logging.jar"/>
<pathelement location="${framework.output.dir}"/>
<pathelement location="${framework.testoutput.dir}"/>
@@ -474,12 +474,12 @@
</copy>
</target>
- <target name="compile.module.jbosscache210cr2-plugin.production" depends="compile.module.framework" description="Compile module jbosscache-2.1.0CR2; production classes">
+ <target name="compile.module.jbosscache210cr2-plugin.production" depends="compile.module.framework" description="Compile module jbosscache-2.1.0cr2; production classes">
<mkdir dir="${jbosscache210cr2-plugin.output.dir}"/>
<javac destdir="${jbosscache210cr2-plugin.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
<compilerarg line="${compiler.args}"/>
<classpath refid="jbosscache210cr2-plugin.module.classpath"/>
- <src path="${module.jbosscache210cr2-plugin.basedir}/cache-products/jbosscache-2.1.0CR2"/>
+ <src path="${module.jbosscache210cr2-plugin.basedir}/cache-products/jbosscache-2.1.0cr2"/>
</javac>
</target>
17 years
JBoss Cache SVN: r5092 - benchmarks/benchmark-fwk.
by jbosscache-commits@lists.jboss.org
Author: mircea.markus
Date: 2008-01-08 15:44:03 -0500 (Tue, 08 Jan 2008)
New Revision: 5092
Modified:
benchmarks/benchmark-fwk/build.xml
Log:
Modified: benchmarks/benchmark-fwk/build.xml
===================================================================
--- benchmarks/benchmark-fwk/build.xml 2008-01-08 20:29:49 UTC (rev 5091)
+++ benchmarks/benchmark-fwk/build.xml 2008-01-08 20:44:03 UTC (rev 5092)
@@ -407,14 +407,14 @@
<!-- Module jbosscache-2.0.0 -->
<dirname property="module.jbosscache200-plugin.basedir" file="${ant.file}"/>
- <dirname property="module.jbosscache210CR2-plugin.basedir" file="${ant.file}"/>
+ <dirname property="module.jbosscache210cr2-plugin.basedir" file="${ant.file}"/>
<property name="compiler.args.jbosscache200-plugin" value="${compiler.args}"/>
<property name="jbosscache200-plugin.output.dir" value="${module.jbosscache200-plugin.basedir}/classes/production/jbosscache-2.0.0"/>
- <property name="jbosscache210CR2-plugin.output.dir" value="${module.jbosscache210CR2-plugin.basedir}/classes/production/jbosscache-2.1.0CR2"/>
+ <property name="jbosscache210cr2-plugin.output.dir" value="${module.jbosscache210cr2-plugin.basedir}/classes/production/jbosscache-2.1.0CR2"/>
<property name="jbosscache200-plugin.testoutput.dir" value="${module.jbosscache200-plugin.basedir}/classes/test/jbosscache-2.0.0"/>
<path id="jbosscache200-plugin.module.bootclasspath">
@@ -430,12 +430,12 @@
<pathelement location="${jbosscache200-plugin.output.dir}" />
</path>
- <path id="jbosscache210CR2-plugin.module.classpath">
- <fileset dir="${module.jbosscache210CR2-plugin.basedir}/cache-products/jbosscache-2.1.0CR2/lib" includes="*.jar" />
+ <path id="jbosscache210cr2-plugin.module.classpath">
+ <fileset dir="${module.jbosscache210cr2-plugin.basedir}/cache-products/jbosscache-2.1.0CR2/lib" includes="*.jar" />
<pathelement location="${module.framework.basedir}/lib/commons-logging.jar"/>
<pathelement location="${framework.output.dir}"/>
<pathelement location="${framework.testoutput.dir}"/>
- <pathelement location="${jbosscache210CR2-plugin.output.dir}" />
+ <pathelement location="${jbosscache210cr2-plugin.output.dir}" />
</path>
@@ -474,12 +474,12 @@
</copy>
</target>
- <target name="compile.module.jbosscache210CR2-plugin.production" depends="compile.module.framework" description="Compile module jbosscache-2.1.0CR2; production classes">
- <mkdir dir="${jbosscache210CR2-plugin.output.dir}"/>
- <javac destdir="${jbosscache210CR2-plugin.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
+ <target name="compile.module.jbosscache210cr2-plugin.production" depends="compile.module.framework" description="Compile module jbosscache-2.1.0CR2; production classes">
+ <mkdir dir="${jbosscache210cr2-plugin.output.dir}"/>
+ <javac destdir="${jbosscache210cr2-plugin.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
<compilerarg line="${compiler.args}"/>
- <classpath refid="jbosscache210CR2-plugin.module.classpath"/>
- <src path="${module.jbosscache210CR2-plugin.basedir}/cache-products/jbosscache-2.1.0CR2"/>
+ <classpath refid="jbosscache210cr2-plugin.module.classpath"/>
+ <src path="${module.jbosscache210cr2-plugin.basedir}/cache-products/jbosscache-2.1.0CR2"/>
</javac>
</target>
@@ -494,7 +494,7 @@
<delete dir="${module.framework.basedir}/classes"/>
</target>
- <target name="all" depends="init, clean, compile.module.framework, compile.module.ehcache124-plugin, compile.module.coherence322-plugin,compile.module.jbosscache140-plugin, compile.module.jbosscache200-plugin, compile.module.jbosscache210CR2-plugin.production, compile.module.terracotta-plugin" description="build all"/>
+ <target name="all" depends="init, clean, compile.module.framework, compile.module.ehcache124-plugin, compile.module.coherence322-plugin,compile.module.jbosscache140-plugin, compile.module.jbosscache200-plugin, compile.module.jbosscache210cr2-plugin.production, compile.module.terracotta-plugin" description="build all"/>
<target name="checkClusterAddresses" depends="compile.module.framework.production"
description="Check whether the cluster config is a valid one">
17 years