[jbosscache-commits] JBoss Cache SVN: r6817 - core/trunk/src/main/resources/config-samples.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Tue Sep 30 09:34:39 EDT 2008


Author: mircea.markus
Date: 2008-09-30 09:34:39 -0400 (Tue, 30 Sep 2008)
New Revision: 6817

Modified:
   core/trunk/src/main/resources/config-samples/buddy-replication.xml
   core/trunk/src/main/resources/config-samples/invalidation-async.xml
   core/trunk/src/main/resources/config-samples/total-replication.xml
Log:
updated config files

Modified: core/trunk/src/main/resources/config-samples/buddy-replication.xml
===================================================================
--- core/trunk/src/main/resources/config-samples/buddy-replication.xml	2008-09-30 09:31:13 UTC (rev 6816)
+++ core/trunk/src/main/resources/config-samples/buddy-replication.xml	2008-09-30 13:34:39 UTC (rev 6817)
@@ -29,13 +29,13 @@
       <!-- JGroups protocol stack properties. -->
       <jgroupsConfig>
          <TCP discard_incompatible_packets="true" enable_bundling="false" enable_diagnostics="true"
-              enable_unicast_bundling="true" loopback="false" max_bundle_size="64000" max_bundle_timeout="30"
-              oob_thread_pool.enabled="true" oob_thread_pool.keep_alive_time="10000" oob_thread_pool.max_threads="4"
+              enable_unicast_bundling="false" loopback="false" max_bundle_size="64000" max_bundle_timeout="30"
+              oob_thread_pool.enabled="true" oob_thread_pool.keep_alive_time="10000" oob_thread_pool.max_threads="8"
               oob_thread_pool.min_threads="2" oob_thread_pool.queue_enabled="false" oob_thread_pool.queue_max_size="10"
               oob_thread_pool.rejection_policy="Run" recv_buf_size="20000000" thread_naming_pattern="pl"
               thread_pool.enabled="true" thread_pool.keep_alive_time="30000" thread_pool.max_threads="4"
-              thread_pool.min_threads="1" thread_pool.queue_enabled="true" thread_pool.queue_max_size="50000"
-              thread_pool.rejection_policy="discard" use_concurrent_stack="true" use_incoming_packet_handler="true"
+              thread_pool.min_threads="1" thread_pool.queue_enabled="true" thread_pool.queue_max_size="10000"
+              thread_pool.rejection_policy="discard" use_concurrent_stack="true"
               use_send_queues="false"/>
          <MPING mcast_addr="232.1.2.3" num_initial_members="3" timeout="2000"/>
          <MERGE2 max_interval="30000" min_interval="10000"/>
@@ -47,7 +47,7 @@
          <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000" stability_delay="1000"/>
          <pbcast.GMS join_timeout="5000" print_local_addr="true" shun="false"
                      view_ack_collection_timeout="5000" view_bundling="true"/>
-         <FC max_credits="5000000" min_threshold="0.20"/>
+         <FC max_credits="1000000" min_threshold="0.20"/>
          <FRAG2 frag_size="60000"/>
          <pbcast.STREAMING_STATE_TRANSFER/>
          <pbcast.FLUSH timeout="0"/>

Modified: core/trunk/src/main/resources/config-samples/invalidation-async.xml
===================================================================
--- core/trunk/src/main/resources/config-samples/invalidation-async.xml	2008-09-30 09:31:13 UTC (rev 6816)
+++ core/trunk/src/main/resources/config-samples/invalidation-async.xml	2008-09-30 13:34:39 UTC (rev 6817)
@@ -29,28 +29,30 @@
    <transport clusterName="JBossCache-Cluster">
       <!-- JGroups protocol stack properties. -->
       <jgroupsConfig>
-         <TCP discard_incompatible_packets="true" enable_bundling="true" enable_diagnostics="true"
-              enable_unicast_bundling="true" loopback="false" max_bundle_size="64000" max_bundle_timeout="30"
-              oob_thread_pool.enabled="true" oob_thread_pool.keep_alive_time="10000" oob_thread_pool.max_threads="4"
-              oob_thread_pool.min_threads="2" oob_thread_pool.queue_enabled="false" oob_thread_pool.queue_max_size="10"
-              oob_thread_pool.rejection_policy="Run" recv_buf_size="20000000" thread_naming_pattern="pl"
-              thread_pool.enabled="true" thread_pool.keep_alive_time="30000" thread_pool.max_threads="4"
-              thread_pool.min_threads="1" thread_pool.queue_enabled="true" thread_pool.queue_max_size="50000"
-              thread_pool.rejection_policy="discard" use_concurrent_stack="true" use_incoming_packet_handler="true"
-              use_send_queues="false"/>
-         <MPING mcast_addr="232.1.2.3" num_initial_members="3" timeout="2000"/>
+         <UDP discard_incompatible_packets="true" enable_bundling="true" enable_diagnostics="false" ip_ttl="2"
+              loopback="false" max_bundle_size="64000" max_bundle_timeout="30" mcast_addr="228.10.10.10"
+              mcast_port="45588" mcast_recv_buf_size="100000000" mcast_send_buf_size="640000"
+              oob_thread_pool.enabled="true" oob_thread_pool.keep_alive_time="10000" oob_thread_pool.max_threads="20"
+              oob_thread_pool.min_threads="8" oob_thread_pool.queue_enabled="false" oob_thread_pool.queue_max_size="10"
+              oob_thread_pool.rejection_policy="Run" thread_naming_pattern="pl" thread_pool.enabled="true"
+              thread_pool.keep_alive_time="10000" thread_pool.max_threads="15" thread_pool.min_threads="8"
+              thread_pool.queue_enabled="true" thread_pool.queue_max_size="100000" thread_pool.rejection_policy="Discard"
+              tos="8" ucast_recv_buf_size="20000000" ucast_send_buf_size="640000" use_concurrent_stack="true"
+              use_incoming_packet_handler="true"/>
+         <PING num_initial_members="3" timeout="2000"/>
          <MERGE2 max_interval="30000" min_interval="10000"/>
          <FD_SOCK/>
          <FD max_tries="5" shun="true" timeout="10000"/>
          <VERIFY_SUSPECT timeout="1500"/>
          <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0" retransmit_timeout="300,600,1200,2400,4800"
-                        use_mcast_xmit="false"/>
+                        use_mcast_xmit="true"/>
+         <UNICAST timeout="300,600,1200,2400,3600"/>
          <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000" stability_delay="1000"/>
-         <pbcast.GMS join_timeout="5000" print_local_addr="true" shun="false"
-                     view_ack_collection_timeout="5000" view_bundling="true"/>
-         <FC max_credits="5000000" min_threshold="0.20"/>
+         <pbcast.GMS join_timeout="5000" print_local_addr="true" shun="false" view_ack_collection_timeout="5000"
+                     view_bundling="true"/>
+         <FC max_credits="500000" min_threshold="0.2"/>
          <FRAG2 frag_size="60000"/>
-         <pbcast.STREAMING_STATE_TRANSFER/>
+         <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
          <pbcast.FLUSH timeout="0"/>
       </jgroupsConfig>
    </transport>

Modified: core/trunk/src/main/resources/config-samples/total-replication.xml
===================================================================
--- core/trunk/src/main/resources/config-samples/total-replication.xml	2008-09-30 09:31:13 UTC (rev 6816)
+++ core/trunk/src/main/resources/config-samples/total-replication.xml	2008-09-30 13:34:39 UTC (rev 6817)
@@ -28,29 +28,31 @@
    <transport clusterName="JBossCache-Cluster">
       <!-- JGroups protocol stack properties. -->
       <jgroupsConfig>
-         <TCP discard_incompatible_packets="true" enable_bundling="false" enable_diagnostics="true"
-              enable_unicast_bundling="true" loopback="false" max_bundle_size="64000" max_bundle_timeout="30"
+         <UDP discard_incompatible_packets="true" enable_bundling="false" enable_diagnostics="false" ip_ttl="2"
+              loopback="false" max_bundle_size="64000" max_bundle_timeout="30" mcast_addr="228.10.10.10"
+              mcast_port="45588" mcast_recv_buf_size="25000000" mcast_send_buf_size="640000"
               oob_thread_pool.enabled="true" oob_thread_pool.keep_alive_time="10000" oob_thread_pool.max_threads="4"
-              oob_thread_pool.min_threads="2" oob_thread_pool.queue_enabled="false" oob_thread_pool.queue_max_size="10"
-              oob_thread_pool.rejection_policy="Run" recv_buf_size="20000000" thread_naming_pattern="pl"
-              thread_pool.enabled="true" thread_pool.keep_alive_time="30000" thread_pool.max_threads="4"
-              thread_pool.min_threads="1" thread_pool.queue_enabled="true" thread_pool.queue_max_size="50000"
-              thread_pool.rejection_policy="discard" use_concurrent_stack="true" use_incoming_packet_handler="true"
-              use_send_queues="false"/>
-         <MPING mcast_addr="232.1.2.3" num_initial_members="3" timeout="2000"/>
+              oob_thread_pool.min_threads="1" oob_thread_pool.queue_enabled="true" oob_thread_pool.queue_max_size="10"
+              oob_thread_pool.rejection_policy="Run" thread_naming_pattern="pl" thread_pool.enabled="true"
+              thread_pool.keep_alive_time="30000" thread_pool.max_threads="25" thread_pool.min_threads="1"
+              thread_pool.queue_enabled="true" thread_pool.queue_max_size="10" thread_pool.rejection_policy="Run"
+              tos="8" ucast_recv_buf_size="20000000" ucast_send_buf_size="640000" use_concurrent_stack="true"
+              use_incoming_packet_handler="true"/>
+         <PING num_initial_members="3" timeout="2000"/>
          <MERGE2 max_interval="30000" min_interval="10000"/>
          <FD_SOCK/>
          <FD max_tries="5" shun="true" timeout="10000"/>
          <VERIFY_SUSPECT timeout="1500"/>
          <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0" retransmit_timeout="300,600,1200,2400,4800"
                         use_mcast_xmit="false"/>
+         <UNICAST timeout="300,600,1200,2400,3600"/>
          <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000" stability_delay="1000"/>
-         <pbcast.GMS join_timeout="5000" print_local_addr="true" shun="false"
-                     view_ack_collection_timeout="5000" view_bundling="true"/>
-         <FC max_credits="5000000" min_threshold="0.20"/>
+         <pbcast.GMS join_timeout="5000" print_local_addr="true" shun="false" view_ack_collection_timeout="5000"
+                     view_bundling="true"/>
          <FRAG2 frag_size="60000"/>
-         <pbcast.STREAMING_STATE_TRANSFER/>
+         <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
          <pbcast.FLUSH timeout="0"/>
+      
       </jgroupsConfig>
    </transport>
 




More information about the jbosscache-commits mailing list