JBoss Cache SVN: r5235 - benchmarks/benchmark-fwk/trunk.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-01-24 11:17:57 -0500 (Thu, 24 Jan 2008)
New Revision: 5235
Added:
benchmarks/benchmark-fwk/trunk/TODO
Log:
Added a TODO
Added: benchmarks/benchmark-fwk/trunk/TODO
===================================================================
--- benchmarks/benchmark-fwk/trunk/TODO (rev 0)
+++ benchmarks/benchmark-fwk/trunk/TODO 2008-01-24 16:17:57 UTC (rev 5235)
@@ -0,0 +1,3 @@
+1. Proper naming and merging of reports, with the ability to run multiple configurations (basically all that allJBossCacheTests.sh does, but in Java!)
+2. JBoss Cache 1.4.1 breaks during warmup
+3. ReplicationOccursTest doesn't always work - reports false errors.
\ No newline at end of file
16 years, 11 months
JBoss Cache SVN: r5234 - benchmarks/benchmark-fwk/trunk/src/org/cachebench/reportgenerators.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-01-24 11:17:46 -0500 (Thu, 24 Jan 2008)
New Revision: 5234
Modified:
benchmarks/benchmark-fwk/trunk/src/org/cachebench/reportgenerators/CsvSessionSimlatorReportGenerator.java
Log:
Fixed typos
Modified: benchmarks/benchmark-fwk/trunk/src/org/cachebench/reportgenerators/CsvSessionSimlatorReportGenerator.java
===================================================================
--- benchmarks/benchmark-fwk/trunk/src/org/cachebench/reportgenerators/CsvSessionSimlatorReportGenerator.java 2008-01-24 16:14:41 UTC (rev 5233)
+++ benchmarks/benchmark-fwk/trunk/src/org/cachebench/reportgenerators/CsvSessionSimlatorReportGenerator.java 2008-01-24 16:17:46 UTC (rev 5234)
@@ -57,7 +57,7 @@
protected void writeHeaderLine(BufferedWriter writer) throws IOException
{
log.debug("Write the Report Header");
- writer.write("TEST NAME, TEST DATE, REQ PER SEC, BYTES READ, BYTES WRITTEN, DURRATION, TOTOAL OPERATION COUNT, READ COUNT, WRITE COUNT" );
+ writer.write("TEST NAME, TEST DATE, REQ PER SEC, BYTES READ, BYTES WRITTEN, DURATION, TOTAL OPERATION COUNT, READ COUNT, WRITE COUNT" );
writer.newLine();
log.debug("Complted the Report Header");
16 years, 11 months
JBoss Cache SVN: r5233 - benchmarks/benchmark-fwk/trunk.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-01-24 11:14:41 -0500 (Thu, 24 Jan 2008)
New Revision: 5233
Modified:
benchmarks/benchmark-fwk/trunk/allJBossCacheTests.sh
Log:
Modified: benchmarks/benchmark-fwk/trunk/allJBossCacheTests.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/allJBossCacheTests.sh 2008-01-24 16:09:29 UTC (rev 5232)
+++ benchmarks/benchmark-fwk/trunk/allJBossCacheTests.sh 2008-01-24 16:14:41 UTC (rev 5233)
@@ -2,7 +2,7 @@
scaling="2 4 6 8 10"
configs="pess-repl-async.xml pess-repl-sync.xml ress-repl-async-br.xml"
-products="jbosscache-1.4.1 jbosscache-2.0.0 jbosscache-2.1.0"
+products="jbosscache-2.0.0 jbosscache-2.1.0"
mkdir output
16 years, 11 months
JBoss Cache SVN: r5232 - in benchmarks/benchmark-fwk/trunk: conf and 1 other directory.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-01-24 11:09:29 -0500 (Thu, 24 Jan 2008)
New Revision: 5232
Added:
benchmarks/benchmark-fwk/trunk/allJBossCacheTests.sh
Modified:
benchmarks/benchmark-fwk/trunk/bindAddress.sh
benchmarks/benchmark-fwk/trunk/conf/cachebench.xml
Log:
Added: benchmarks/benchmark-fwk/trunk/allJBossCacheTests.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/allJBossCacheTests.sh (rev 0)
+++ benchmarks/benchmark-fwk/trunk/allJBossCacheTests.sh 2008-01-24 16:09:29 UTC (rev 5232)
@@ -0,0 +1,43 @@
+#!/bin/bash
+
+scaling="2 4 6 8 10"
+configs="pess-repl-async.xml pess-repl-sync.xml ress-repl-async-br.xml"
+products="jbosscache-1.4.1 jbosscache-2.0.0 jbosscache-2.1.0"
+
+mkdir output
+
+for product in $products
+do
+ for config in $configs
+ do
+ for size in $scaling
+ do
+ ./cluster.sh start $product $config $size
+ while [ ! -e performance-$size.csv ]
+ do
+ echo Waiting for report...
+ sleep 30
+ done
+ sleep 10
+ mv performance-$size.csv output/$product-$config-$size.csv
+ ./cluster.sh stop
+ sleep 10
+ done
+ done
+done
+
+echo Combining reports
+
+cd output
+if [ -e ../combined.csv ]
+then
+ rm ../combined.csv
+fi
+
+for i in *.csv
+do
+ echo $i >> ../combined.csv
+ cat $i >> ../combined.csv
+ echo >> ../combined.csv
+done
+
Property changes on: benchmarks/benchmark-fwk/trunk/allJBossCacheTests.sh
___________________________________________________________________
Name: svn:executable
+ *
Modified: benchmarks/benchmark-fwk/trunk/bindAddress.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/bindAddress.sh 2008-01-24 15:51:20 UTC (rev 5231)
+++ benchmarks/benchmark-fwk/trunk/bindAddress.sh 2008-01-24 16:09:29 UTC (rev 5232)
@@ -1,5 +1,5 @@
#!/bin/sh
### Set your bind address for the tests to use. Could be an IP, host name or a reference to an environment variable.
-BIND_ADDRESS=${MYTESTIP_4}
+BIND_ADDRESS=${MYTESTIP_1}
Modified: benchmarks/benchmark-fwk/trunk/conf/cachebench.xml
===================================================================
--- benchmarks/benchmark-fwk/trunk/conf/cachebench.xml 2008-01-24 15:51:20 UTC (rev 5231)
+++ benchmarks/benchmark-fwk/trunk/conf/cachebench.xml 2008-01-24 16:09:29 UTC (rev 5232)
@@ -28,6 +28,7 @@
<member host="cluster07" port="17900"/>
<member host="cluster08" port="17900"/>
<member host="cluster09" port="17900"/>
+ <member host="cluster10" port="17900"/>
</cluster>
<!--
@@ -49,10 +50,12 @@
validates that replication is enabled and works. If repl does not occur and the stopOnFailure is set to true then exists.
Should be used to make sure that replication is enabled; see javadoc for more details
-->
+ <!--
<test name="replicationOccurrsTest" testClass="org.cachebench.tests.ReplicationOccursTest">
<param name="partialReplication" value="true"/>
</test>
+-->
<!--
* The "name" attrib is just used for display in the reports.
* You can write your own custom testClass.
16 years, 11 months
JBoss Cache SVN: r5231 - benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/conf.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-01-24 10:51:20 -0500 (Thu, 24 Jan 2008)
New Revision: 5231
Added:
benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/conf/pess-repl-async-br.xml
benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/conf/pess-repl-async.xml
benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/conf/pess-repl-sync.xml
Removed:
benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/conf/jbc210-br_tcp_mping.xml
Log:
Added cfg files for 2.1.0
Deleted: benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/conf/jbc210-br_tcp_mping.xml
===================================================================
--- benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/conf/jbc210-br_tcp_mping.xml 2008-01-24 15:04:03 UTC (rev 5230)
+++ benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/conf/jbc210-br_tcp_mping.xml 2008-01-24 15:51:20 UTC (rev 5231)
@@ -1,254 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ===================================================================== -->
-<!-- -->
-<!-- Sample TreeCache Service Configuration -->
-<!-- -->
-<!-- ===================================================================== -->
-
-<server>
-
- <!-- ==================================================================== -->
- <!-- Defines TreeCache configuration -->
- <!-- ==================================================================== -->
-
- <mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
- name="jboss.cache:service=TreeCache">
-
- <depends>jboss:service=Naming</depends>
- <depends>jboss:service=TransactionManager</depends>
-
- <!--
- Configure the TransactionManager
- -->
- <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup
- </attribute>
-
- <!--
- Isolation level : SERIALIZABLE
- REPEATABLE_READ (default)
- READ_COMMITTED
- READ_UNCOMMITTED
- NONE
- -->
- <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
-
- <!--<attribute name="NodeLockingScheme">OPTIMISTIC</attribute>-->
-
- <!--
- Valid modes are LOCAL
- REPL_ASYNC
- REPL_SYNC
- INVALIDATION_ASYNC
- INVALIDATION_SYNC
- -->
- <attribute name="CacheMode">REPL_ASYNC</attribute>
-
- <!--
- Just used for async repl: use a replication queue
- -->
- <attribute name="UseReplQueue">false</attribute>
-
- <!--
- Replication interval for replication queue (in ms)
- -->
- <attribute name="ReplQueueInterval">0</attribute>
-
- <!--
- Max number of elements which trigger replication
- -->
- <attribute name="ReplQueueMaxElements">0</attribute>
-
- <!-- Name of cluster. Needs to be the same for all TreeCache nodes in a
- cluster in order to find each other.
- -->
- <attribute name="ClusterName">JBossCache-Cluster</attribute>
-
- <!--Uncomment next three statements to enable JGroups multiplexer.
-This configuration is dependent on the JGroups multiplexer being
-registered in an MBean server such as JBossAS. -->
- <!--
- <depends>jgroups.mux:name=Multiplexer</depends>
- <attribute name="MultiplexerService">jgroups.mux:name=Multiplexer</attribute>
- <attribute name="MultiplexerStack">fc-fast-minimalthreads</attribute>
- -->
-
- <!-- JGroups protocol stack properties.
- ClusterConfig isn't used if the multiplexer is enabled and successfully initialized.
- -->
- <attribute name="ClusterConfig">
- <config>
- <!--<UDP mcast_addr="232.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_unicast_bundling="false"
- enable_diagnostics="true"
-
- use_concurrent_stack="true"
-
- thread_naming_pattern="pl"
-
- thread_pool.enabled="true"
- thread_pool.min_threads="1"
- thread_pool.max_threads="4"
- thread_pool.keep_alive_time="30000"
- thread_pool.queue_enabled="true"
- thread_pool.queue_max_size="50000"
- thread_pool.rejection_policy="discard"
-
- oob_thread_pool.enabled="true"
- oob_thread_pool.min_threads="2"
- oob_thread_pool.max_threads="4"
- oob_thread_pool.keep_alive_time="10000"
- oob_thread_pool.queue_enabled="false"
- oob_thread_pool.queue_max_size="10"
- oob_thread_pool.rejection_policy="Run"/>-->
-
- <TCP recv_buf_size="20000000" use_send_queues="false"
- loopback="false"
- discard_incompatible_packets="true"
- max_bundle_size="64000"
- max_bundle_timeout="30"
- use_incoming_packet_handler="true"
- enable_bundling="true"
- enable_unicast_bundling="true"
- enable_diagnostics="true"
-
- use_concurrent_stack="true"
-
- thread_naming_pattern="pl"
-
- thread_pool.enabled="true"
- thread_pool.min_threads="1"
- thread_pool.max_threads="4"
- thread_pool.keep_alive_time="30000"
- thread_pool.queue_enabled="true"
- thread_pool.queue_max_size="50000"
- thread_pool.rejection_policy="discard"
-
- oob_thread_pool.enabled="true"
- oob_thread_pool.min_threads="2"
- oob_thread_pool.max_threads="4"
- oob_thread_pool.keep_alive_time="10000"
- oob_thread_pool.queue_enabled="false"
- oob_thread_pool.queue_max_size="10"
- oob_thread_pool.rejection_policy="Run"/>
-
- <!--<PING timeout="2000" num_initial_members="3"/>-->
- <MPING mcast_addr="232.1.2.3" 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 use_mcast_xmit="false" gc_lag="0"
- retransmit_timeout="300,600,1200,2400,4800"
- discard_delivered_msgs="true"/>
- <!--<UNICAST timeout="30,60,120,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"/>
- <FC max_credits="5000000"
- min_threshold="0.20"/>
- <FRAG2 frag_size="60000"/>
- <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
- <!-- <pbcast.STATE_TRANSFER/> -->
- <pbcast.FLUSH timeout="0"/>
- </config>
- </attribute>
-
-
- <!--
- Whether or not to fetch state on joining a cluster
- NOTE this used to be called FetchStateOnStartup and has been renamed to be more descriptive.
- -->
- <attribute name="FetchInMemoryState">true</attribute>
-
- <!--
- The max amount of time (in milliseconds) we wait until the
- state (ie. the contents of the cache) are retrieved from
- existing members in a clustered environment
- -->
- <attribute name="StateRetrievalTimeout">15000</attribute>
-
- <!--
- Number of milliseconds to wait until all responses for a
- synchronous call have been received.
- -->
- <attribute name="SyncReplTimeout">15000</attribute>
-
- <!-- Max number of milliseconds to wait for a lock acquisition -->
- <attribute name="LockAcquisitionTimeout">10000</attribute>
-
- <!--
- Indicate whether to use region based marshalling or not. Set this to true if you are running under a scoped
- class loader, e.g., inside an application server. Default is "false".
- -->
- <attribute name="UseRegionBasedMarshalling">true</attribute>
-
-
- <attribute name="BuddyReplicationConfig">
- <config>
-
- <!-- Enables buddy replication. This is the ONLY mandatory configuration element here. -->
- <buddyReplicationEnabled>true</buddyReplicationEnabled>
-
- <!-- These are the default values anyway -->
- <buddyLocatorClass>org.jboss.cache.buddyreplication.NextMemberBuddyLocator</buddyLocatorClass>
-
- <!-- numBuddies is the number of backup nodes each node maintains. ignoreColocatedBuddies means
- that each node will *try* to select a buddy on a different physical host. If not able to do so though,
- it will fall back to colocated nodes. -->
- <buddyLocatorProperties>
- numBuddies = 1
- ignoreColocatedBuddies = true
- </buddyLocatorProperties>
-
- <!-- A way to specify a preferred replication group. If specified, we try and pick a buddy which shares
- the same pool name (falling back to other buddies if not available). This allows the sysdmin to
- hint at backup buddies are picked, so for example, nodes may be hinted topick buddies on a different
- physical rack or power supply for added fault tolerance. -->
- <buddyPoolName>myBuddyPoolReplicationGroup</buddyPoolName>
-
- <!-- Communication timeout for inter-buddy group organisation messages (such as assigning to and
- removing from groups, defaults to 1000. -->
- <buddyCommunicationTimeout>2000</buddyCommunicationTimeout>
-
- <!-- Whether data is removed from old owners when gravitated to a new owner. Defaults to true. -->
- <dataGravitationRemoveOnFind>true</dataGravitationRemoveOnFind>
-
- <!-- Whether backup nodes can respond to data gravitation requests, or only the data owner is
- supposed to respond. Defaults to true. -->
- <dataGravitationSearchBackupTrees>true</dataGravitationSearchBackupTrees>
-
- <!-- Whether all cache misses result in a data gravitation request. Defaults to false, requiring
- callers to enable data gravitation on a per-invocation basis using the Options API. -->
- <autoDataGravitation>false</autoDataGravitation>
-
- </config>
- </attribute>
-
-
- </mbean>
-
-
- <!-- Uncomment to get a graphical view of the TreeCache MBean above -->
- <!-- <mbean code="org.jboss.cache.TreeCacheView" name="jboss.cache:service=TreeCacheView">-->
- <!-- <depends>jboss.cache:service=TreeCache</depends>-->
- <!-- <attribute name="CacheService">jboss.cache:service=TreeCache</attribute>-->
- <!-- </mbean>-->
-
-
-</server>
Copied: benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/conf/pess-repl-async-br.xml (from rev 5229, benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.0.0/conf/pess-repl-async-br.xml)
===================================================================
--- benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/conf/pess-repl-async-br.xml (rev 0)
+++ benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/conf/pess-repl-async-br.xml 2008-01-24 15:51:20 UTC (rev 5231)
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+
+ <classpath codebase="./lib" archives="jboss-cache.jar, jgroups.jar"/>
+
+
+ <mbean code="org.jboss.cache.CacheImpl"
+ name="jboss.cache:service=TreeCache">
+
+ <depends>jboss:service=Naming</depends>
+ <depends>jboss:service=TransactionManager</depends>
+
+ <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup</attribute>
+ <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+ <attribute name="CacheMode">REPL_ASYNC</attribute>
+ <attribute name="UseReplQueue">false</attribute>
+ <attribute name="ReplQueueInterval">0</attribute>
+ <attribute name="ReplQueueMaxElements">0</attribute>
+ <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"
+
+ use_concurrent_stack="true"
+
+ recv_buf_size="20000000"
+ send_buf_size="20000000"
+
+ 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"
+
+ 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"/>
+
+ <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 />
+
+ </config>
+ </attribute>
+ <attribute name="FetchInMemoryState">false</attribute>
+ <attribute name="InitialStateRetrievalTimeout">15000</attribute>
+ <attribute name="SyncReplTimeout">60000</attribute>
+ <attribute name="LockAcquisitionTimeout">10000</attribute>
+ <attribute name="EvictionPolicyConfig">
+ </attribute>
+
+ <attribute name="CacheLoaderConfiguration">
+ </attribute>
+
+ <attribute name="UseRegionBasedMarshalling">false</attribute>
+
+ <!-- Buddy Replication config -->
+ <attribute name="BuddyReplicationConfig">
+ <config>
+ <buddyReplicationEnabled>true</buddyReplicationEnabled>
+ <buddyLocatorClass>org.jboss.cache.buddyreplication.NextMemberBuddyLocator</buddyLocatorClass>
+ <buddyLocatorProperties>
+ numBuddies = 1
+ ignoreColocatedBuddies = true
+ </buddyLocatorProperties>
+
+ <buddyPoolName>myBuddyPoolReplicationGroup</buddyPoolName>
+
+ <buddyCommunicationTimeout>10000</buddyCommunicationTimeout>
+
+
+ <autoDataGravitation>false</autoDataGravitation>
+
+ <dataGravitationRemoveOnFind>true</dataGravitationRemoveOnFind>
+
+ <dataGravitationSearchBackupTrees>true</dataGravitationSearchBackupTrees>
+
+ </config>
+ </attribute>
+
+ </mbean>
+</server>
Copied: benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/conf/pess-repl-async.xml (from rev 5229, benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.0.0/conf/pess-repl-async.xml)
===================================================================
--- benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/conf/pess-repl-async.xml (rev 0)
+++ benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/conf/pess-repl-async.xml 2008-01-24 15:51:20 UTC (rev 5231)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+
+ <classpath codebase="./lib" archives="jboss-cache.jar, jgroups.jar"/>
+
+
+ <mbean code="org.jboss.cache.CacheImpl"
+ name="jboss.cache:service=TreeCache">
+
+ <depends>jboss:service=Naming</depends>
+ <depends>jboss:service=TransactionManager</depends>
+
+ <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup</attribute>
+ <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+ <attribute name="CacheMode">REPL_ASYNC</attribute>
+ <attribute name="UseReplQueue">true</attribute>
+ <attribute name="ReplQueueInterval">0</attribute>
+ <attribute name="ReplQueueMaxElements">100</attribute>
+ <attribute name="ClusterName">JBossCache-Cluster</attribute>
+ <attribute name="ClusterConfig">
+ <config>
+ <UDP mcast_addr="232.10.10.10"
+ mcast_port="45599"
+ 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"
+ use_outgoing_packet_handler="false"
+ ip_ttl="2"
+ down_thread="false" up_thread="false"
+ enable_bundling="false"/>
+ <PING timeout="2000"
+ down_thread="false" up_thread="false" num_initial_members="3"/>
+ <MERGE2 max_interval="100000"
+ down_thread="false" up_thread="false" min_interval="20000"/>
+ <FD_SOCK down_thread="false" up_thread="false"/>
+ <FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
+ <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
+ <pbcast.NAKACK max_xmit_size="60000"
+ use_mcast_xmit="false" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800"
+ down_thread="false" up_thread="false"
+ discard_delivered_msgs="true"/>
+ <UNICAST timeout="300,600,1200,2400,3600"
+ down_thread="false" up_thread="false"/>
+ <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+ down_thread="false" up_thread="false"
+ max_bytes="400000"/>
+ <pbcast.GMS print_local_addr="true" join_timeout="3000" use_flush="true" flush_timeout="3000"
+ down_thread="false" up_thread="false"
+ join_retry_timeout="2000" shun="false"
+ view_bundling="true"/>
+ <FC max_credits="2000000" down_thread="false" up_thread="false"
+ min_threshold="0.20"/>
+ <FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
+ <!-- <pbcast.STREAMING_STATE_TRANSFER down_thread="false" up_thread="false"
+ use_flush="true" flush_timeout="3000" use_reading_thread="true"/> -->
+ <pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="true" flush_timeout="3000"/>
+ <pbcast.FLUSH down_thread="false" up_thread="false" timeout="8000" auto_flush_conf="false"/>
+ </config>
+ </attribute>
+ <attribute name="FetchInMemoryState">false</attribute>
+ <attribute name="InitialStateRetrievalTimeout">15000</attribute>
+ <attribute name="SyncReplTimeout">60000</attribute>
+ <attribute name="LockAcquisitionTimeout">10000</attribute>
+ <attribute name="EvictionPolicyConfig">
+ </attribute>
+
+ <attribute name="CacheLoaderConfiguration">
+ </attribute>
+
+ <attribute name="UseRegionBasedMarshalling">false</attribute>
+ </mbean>
+</server>
Copied: benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/conf/pess-repl-sync.xml (from rev 5227, benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.0.0/conf/pess-repl-sync.xml)
===================================================================
--- benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/conf/pess-repl-sync.xml (rev 0)
+++ benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.1.0/conf/pess-repl-sync.xml 2008-01-24 15:51:20 UTC (rev 5231)
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+
+ <classpath codebase="./lib" archives="jboss-cache.jar, jgroups.jar"/>
+
+
+ <mbean code="org.jboss.cache.CacheImpl"
+ name="jboss.cache:service=TreeCache">
+
+ <depends>jboss:service=Naming</depends>
+ <depends>jboss:service=TransactionManager</depends>
+
+ <attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup</attribute>
+ <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
+ <attribute name="CacheMode">REPL_SYNC</attribute>
+ <attribute name="UseReplQueue">false</attribute>
+ <attribute name="ReplQueueInterval">0</attribute>
+ <attribute name="ReplQueueMaxElements">0</attribute>
+ <attribute name="ClusterName">JBossCache-Cluster</attribute>
+ <attribute name="ClusterConfig">
+ <config>
+ <UDP mcast_addr="224.10.10.10"
+ mcast_port="45599"
+ 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"
+ use_outgoing_packet_handler="false"
+ ip_ttl="2"
+ down_thread="false" up_thread="false"
+ bind_addr="127.0.0.1"
+ enable_bundling="false"/>
+ <PING timeout="2000"
+ down_thread="false" up_thread="false" num_initial_members="3"/>
+ <MERGE2 max_interval="100000"
+ down_thread="false" up_thread="false" min_interval="20000"/>
+ <FD_SOCK down_thread="false" up_thread="false"/>
+ <FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
+ <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
+ <pbcast.NAKACK max_xmit_size="60000"
+ use_mcast_xmit="false" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800"
+ down_thread="false" up_thread="false"
+ discard_delivered_msgs="true"/>
+ <UNICAST timeout="300,600,1200,2400,3600"
+ down_thread="false" up_thread="false"/>
+ <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+ down_thread="false" up_thread="false"
+ max_bytes="400000"/>
+ <pbcast.GMS print_local_addr="true" join_timeout="3000" use_flush="true" flush_timeout="3000"
+ down_thread="false" up_thread="false"
+ join_retry_timeout="2000" shun="false"
+ view_bundling="true"/>
+ <FC max_credits="2000000" down_thread="false" up_thread="false"
+ min_threshold="0.20"/>
+ <FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
+ <!-- <pbcast.STREAMING_STATE_TRANSFER down_thread="false" up_thread="false"
+ use_flush="true" flush_timeout="3000" use_reading_thread="true"/> -->
+ <pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="true" flush_timeout="3000"/>
+ <pbcast.FLUSH down_thread="false" up_thread="false" timeout="8000" auto_flush_conf="false"/>
+ </config>
+ </attribute>
+ <attribute name="FetchInMemoryState">false</attribute>
+ <attribute name="InitialStateRetrievalTimeout">15000</attribute>
+ <attribute name="SyncReplTimeout">60000</attribute>
+ <attribute name="LockAcquisitionTimeout">10000</attribute>
+ <attribute name="EvictionPolicyConfig">
+ </attribute>
+
+ <attribute name="CacheLoaderConfiguration">
+ </attribute>
+
+ <attribute name="UseRegionBasedMarshalling">false</attribute>
+ </mbean>
+</server>
16 years, 11 months
JBoss Cache SVN: r5230 - benchmarks/benchmark-fwk/trunk/src/org/cachebench/tests.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-01-24 10:04:03 -0500 (Thu, 24 Jan 2008)
New Revision: 5230
Modified:
benchmarks/benchmark-fwk/trunk/src/org/cachebench/tests/ReplicationOccursTest.java
Log:
Updated messages
Modified: benchmarks/benchmark-fwk/trunk/src/org/cachebench/tests/ReplicationOccursTest.java
===================================================================
--- benchmarks/benchmark-fwk/trunk/src/org/cachebench/tests/ReplicationOccursTest.java 2008-01-24 15:01:25 UTC (rev 5229)
+++ benchmarks/benchmark-fwk/trunk/src/org/cachebench/tests/ReplicationOccursTest.java 2008-01-24 15:04:03 UTC (rev 5230)
@@ -70,8 +70,8 @@
{
return true;
}
- log.info("Replication test faild, " + (i+1) + " tries so far. Sleeping for " + REPLICATION_TRY_SLEEP
- + " millies then try again");
+ log.info("Replication test failed, " + (i+1) + " tries so far. Sleeping for " + REPLICATION_TRY_SLEEP
+ + " millis then try again");
Thread.sleep(REPLICATION_TRY_SLEEP);
}
return false;
@@ -105,7 +105,7 @@
{
if (!"true".equals(value))
{
- log.info("Replication was not successull on the entire cluster!");
+ log.info("Replication was not successful on the entire cluster!");
result.setTestPassed(false);
return result;
}
16 years, 11 months
JBoss Cache SVN: r5229 - benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.0.0/conf.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-01-24 10:01:25 -0500 (Thu, 24 Jan 2008)
New Revision: 5229
Modified:
benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.0.0/conf/pess-repl-async-br.xml
benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.0.0/conf/pess-repl-async.xml
Log:
Updated cfgs
Modified: benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.0.0/conf/pess-repl-async-br.xml
===================================================================
--- benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.0.0/conf/pess-repl-async-br.xml 2008-01-24 14:58:13 UTC (rev 5228)
+++ benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.0.0/conf/pess-repl-async-br.xml 2008-01-24 15:01:25 UTC (rev 5229)
@@ -12,7 +12,7 @@
<depends>jboss:service=TransactionManager</depends>
<attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup</attribute>
- <attribute name="IsolationLevel">READ_COMMITTED</attribute>
+ <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
<attribute name="CacheMode">REPL_ASYNC</attribute>
<attribute name="UseReplQueue">false</attribute>
<attribute name="ReplQueueInterval">0</attribute>
@@ -20,65 +20,6 @@
<attribute name="ClusterName">JBossCache-Cluster</attribute>
<attribute name="ClusterConfig">
<config>
- <!--<UDP mcast_addr="232.10.10.10"-->
- <!--mcast_port="45599"-->
- <!--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"-->
- <!--use_outgoing_packet_handler="false"-->
- <!--ip_ttl="2"-->
- <!--down_thread="false" up_thread="false"-->
- <!--enable_bundling="true"/>-->
- <!--<PING timeout="2000"-->
- <!--down_thread="false" up_thread="false" num_initial_members="3"/>-->
-
- <!--<TCP-->
- <!--loopback="false"-->
- <!--discard_incompatible_packets="true"-->
- <!--max_bundle_size="64000"-->
- <!--max_bundle_timeout="30"-->
- <!--use_incoming_packet_handler="true"-->
- <!--use_outgoing_packet_handler="false"-->
- <!--bind_addr="127.0.0.1"-->
- <!--start_port="7800"-->
- <!--enable_bundling="false"-->
- <!--tcp_nodelay="true"-->
- <!--/>-->
- <!--<MPING timeout="2000" num_initial_members="3" mcast_addr="224.10.10.15" mcast_port="44553"/>-->
- <!--<MERGE2 max_interval="100000"-->
- <!--down_thread="false" up_thread="false" min_interval="20000"/>-->
- <!--<FD_SOCK down_thread="false" up_thread="false"/>-->
- <!--<FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>-->
- <!--<VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>-->
- <!--<pbcast.NAKACK max_xmit_size="60000"-->
- <!--use_mcast_xmit="false" gc_lag="0"-->
- <!--retransmit_timeout="300,600,1200,2400,4800"-->
- <!--down_thread="false" up_thread="false"-->
- <!--discard_delivered_msgs="true"/>-->
- <!--<UNICAST timeout="300,600,1200,2400,3600"-->
- <!--down_thread="false" up_thread="false"/>-->
- <!--<pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"-->
- <!--down_thread="false" up_thread="false"-->
- <!--max_bytes="400000"/>-->
- <!--<pbcast.GMS print_local_addr="true" join_timeout="3000" use_flush="true" flush_timeout="3000"-->
- <!--down_thread="false" up_thread="false"-->
- <!--join_retry_timeout="2000" shun="false"-->
- <!--view_bundling="true"/>-->
- <!--<FC max_credits="2000000" down_thread="false" up_thread="false"-->
- <!--min_threshold="0.20"/>-->
- <!--<FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>-->
- <!-- <pbcast.STREAMING_STATE_TRANSFER down_thread="false" up_thread="false"-->
- <!--use_flush="true" flush_timeout="3000" use_reading_thread="true"/> -->
- <!--<pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="true" flush_timeout="3000"/>-->
- <!--<pbcast.FLUSH down_thread="false" up_thread="false" timeout="8000" auto_flush_conf="false"/>-->
-
<TCP start_port="7580"
loopback="false"
discard_incompatible_packets="true"
@@ -160,7 +101,7 @@
<buddyPoolName>myBuddyPoolReplicationGroup</buddyPoolName>
- <buddyCommunicationTimeout>2000</buddyCommunicationTimeout>
+ <buddyCommunicationTimeout>10000</buddyCommunicationTimeout>
<autoDataGravitation>false</autoDataGravitation>
Modified: benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.0.0/conf/pess-repl-async.xml
===================================================================
--- benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.0.0/conf/pess-repl-async.xml 2008-01-24 14:58:13 UTC (rev 5228)
+++ benchmarks/benchmark-fwk/trunk/cache-products/jbosscache-2.0.0/conf/pess-repl-async.xml 2008-01-24 15:01:25 UTC (rev 5229)
@@ -12,7 +12,7 @@
<depends>jboss:service=TransactionManager</depends>
<attribute name="TransactionManagerLookupClass">org.jboss.cache.transaction.GenericTransactionManagerLookup</attribute>
- <attribute name="IsolationLevel">READ_COMMITTED</attribute>
+ <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
<attribute name="CacheMode">REPL_ASYNC</attribute>
<attribute name="UseReplQueue">true</attribute>
<attribute name="ReplQueueInterval">0</attribute>
@@ -66,7 +66,7 @@
<pbcast.FLUSH down_thread="false" up_thread="false" timeout="8000" auto_flush_conf="false"/>
</config>
</attribute>
- <attribute name="FetchInMemoryState">true</attribute>
+ <attribute name="FetchInMemoryState">false</attribute>
<attribute name="InitialStateRetrievalTimeout">15000</attribute>
<attribute name="SyncReplTimeout">60000</attribute>
<attribute name="LockAcquisitionTimeout">10000</attribute>
16 years, 11 months
JBoss Cache SVN: r5228 - benchmarks/benchmark-fwk/trunk.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-01-24 09:58:13 -0500 (Thu, 24 Jan 2008)
New Revision: 5228
Modified:
benchmarks/benchmark-fwk/trunk/killNode.sh
benchmarks/benchmark-fwk/trunk/runNode.sh
Log:
PIDs now include hostname
Modified: benchmarks/benchmark-fwk/trunk/killNode.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/killNode.sh 2008-01-24 14:51:40 UTC (rev 5227)
+++ benchmarks/benchmark-fwk/trunk/killNode.sh 2008-01-24 14:58:13 UTC (rev 5228)
@@ -9,7 +9,7 @@
#
##################################################################################
-PIDFILE="PID.pid"
+PIDFILE=PID.`hostname -s`.pid
if [ -e ${PIDFILE} ]
then
Modified: benchmarks/benchmark-fwk/trunk/runNode.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/runNode.sh 2008-01-24 14:51:40 UTC (rev 5227)
+++ benchmarks/benchmark-fwk/trunk/runNode.sh 2008-01-24 14:58:13 UTC (rev 5228)
@@ -9,7 +9,7 @@
CACHE_PRODUCT=${2}
TEST_CFG=${3}
CLUSTER_SIZE=${4}
-PIDFILE="PID.pid"
+PIDFILE=PID.`hostname -s`.pid
if [ -e ${PIDFILE} ]
then
# first test if the process is still running. If not, clean up the PID file.
16 years, 11 months
JBoss Cache SVN: r5227 - benchmarks/benchmark-fwk/trunk.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-01-24 09:51:40 -0500 (Thu, 24 Jan 2008)
New Revision: 5227
Modified:
benchmarks/benchmark-fwk/trunk/cluster.sh
Log:
Modified: benchmarks/benchmark-fwk/trunk/cluster.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/cluster.sh 2008-01-24 14:35:24 UTC (rev 5226)
+++ benchmarks/benchmark-fwk/trunk/cluster.sh 2008-01-24 14:51:40 UTC (rev 5227)
@@ -43,7 +43,7 @@
do
server="${HOSTNAMES[idx]}"
echo Starting CacheBenchmarkFramework on host ${server}
- ssh ${SSH_USER}(a)${server}.${DOMAIN} ". .bash_profile && cd ${CACHE_BENCHMARK_HOME} && ./runNode.sh ${idx} ${CACHE_DIST} ${CFG_FILE} ${NUM_SERVERS}"
+ ssh ${SSH_USER}(a)${server}.${DOMAIN} ". .bash_profile && cd ${CACHE_BENCHMARK_HOME} && ./runNode.sh ${idx} ${CACHE_DIST} ${CFG_FILE} ${NUM_SERVERS} &" &
sleep 2
done
;;
16 years, 11 months
JBoss Cache SVN: r5226 - benchmarks/benchmark-fwk/trunk/src/org/cachebench/warmup.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2008-01-24 09:35:24 -0500 (Thu, 24 Jan 2008)
New Revision: 5226
Modified:
benchmarks/benchmark-fwk/trunk/src/org/cachebench/warmup/PutGetCacheWarmup.java
Log:
Better error handling
Modified: benchmarks/benchmark-fwk/trunk/src/org/cachebench/warmup/PutGetCacheWarmup.java
===================================================================
--- benchmarks/benchmark-fwk/trunk/src/org/cachebench/warmup/PutGetCacheWarmup.java 2008-01-24 14:31:25 UTC (rev 5225)
+++ benchmarks/benchmark-fwk/trunk/src/org/cachebench/warmup/PutGetCacheWarmup.java 2008-01-24 14:35:24 UTC (rev 5226)
@@ -25,7 +25,7 @@
wrapper.put(String.valueOf(opCount), String.valueOf(opCount));
} catch (Exception e)
{
- log.warn("Exception on cache warmup:" + e.getMessage());
+ log.warn("Exception on cache warmup", e);
}
}
16 years, 11 months