[jboss-cvs] JBossAS SVN: r92706 - branches/Branch_5_x/cluster/src/resources/jgroups.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Aug 23 12:53:23 EDT 2009
Author: bstansberry at jboss.com
Date: 2009-08-23 12:53:23 -0400 (Sun, 23 Aug 2009)
New Revision: 92706
Modified:
branches/Branch_5_x/cluster/src/resources/jgroups/jgroups-channelfactory-stacks.xml
Log:
[JBAS-7197] Review JGroups stacks
Modified: branches/Branch_5_x/cluster/src/resources/jgroups/jgroups-channelfactory-stacks.xml
===================================================================
--- branches/Branch_5_x/cluster/src/resources/jgroups/jgroups-channelfactory-stacks.xml 2009-08-23 16:52:47 UTC (rev 92705)
+++ branches/Branch_5_x/cluster/src/resources/jgroups/jgroups-channelfactory-stacks.xml 2009-08-23 16:53:23 UTC (rev 92706)
@@ -16,18 +16,13 @@
loopback="true"
discard_incompatible_packets="true"
enable_bundling="false"
- max_bundle_size="64000"
- max_bundle_timeout="30"
- use_incoming_packet_handler="true"
ip_ttl="${jgroups.udp.ip_ttl:2}"
thread_naming_pattern="cl"
timer.num_threads="12"
- enable_diagnostics="${jboss.jgroups.enable_diagnostics:true}"
- diagnostics_addr="${jboss.jgroups.diagnostics_addr:224.0.0.75}"
- diagnostics_port="${jboss.jgroups.diagnostics_port:7500}"
-
- use_concurrent_stack="true"
-
+ enable_diagnostics="${jboss.jgroups.enable_diagnostics:true}"
+ diagnostics_addr="${jboss.jgroups.diagnostics_addr:224.0.0.75}"
+ diagnostics_port="${jboss.jgroups.diagnostics_port:7500}"
+
thread_pool.enabled="true"
thread_pool.min_threads="20"
thread_pool.max_threads="200"
@@ -38,11 +33,10 @@
oob_thread_pool.enabled="true"
oob_thread_pool.min_threads="1"
- oob_thread_pool.max_threads="20"
- oob_thread_pool.keep_alive_time="5000"
+ oob_thread_pool.max_threads="1000"
+ oob_thread_pool.keep_alive_time="1000"
oob_thread_pool.queue_enabled="false"
- oob_thread_pool.queue_max_size="100"
- oob_thread_pool.rejection_policy="run"/>
+ oob_thread_pool.rejection_policy="discard"/>
'>
]>
@@ -79,22 +73,26 @@
<FD_SOCK/>
<FD timeout="6000" max_tries="5" shun="true"/>
<VERIFY_SUSPECT timeout="1500"/>
- <pbcast.NAKACK use_mcast_xmit="false" gc_lag="0"
+ <BARRIER/>
+ <pbcast.NAKACK use_mcast_xmit="true" 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="3000"
+ <VIEW_SYNC avg_send_interval="10000"/>
+ <pbcast.GMS print_local_addr="true"
+ join_timeout="3000"
shun="true"
- view_bundling="true"
- view_ack_collection_timeout="5000"/>
+ view_bundling="true"
+ view_ack_collection_timeout="5000"
+ resume_task_timeout="7500"/>
<FC max_credits="2000000" min_threshold="0.10"
ignore_synchronous_response="true"/>
<FRAG2 frag_size="60000"/>
<!-- pbcast.STREAMING_STATE_TRANSFER/ -->
<pbcast.STATE_TRANSFER/>
- <pbcast.FLUSH timeout="0"/>
+ <pbcast.FLUSH timeout="0" start_flush_timeout="10000"/>
</config>
</stack>
@@ -117,18 +115,15 @@
mcast_send_buf_size="640000"
loopback="true"
discard_incompatible_packets="true"
- enable_bundling="false"
+ enable_bundling="true"
max_bundle_size="64000"
max_bundle_timeout="30"
- use_incoming_packet_handler="true"
ip_ttl="${jgroups.udp.ip_ttl:2}"
thread_naming_pattern="cl"
timer.num_threads="12"
enable_diagnostics="${jboss.jgroups.enable_diagnostics:true}"
diagnostics_addr="${jboss.jgroups.diagnostics_addr:224.0.0.75}"
diagnostics_port="${jboss.jgroups.diagnostics_port:7500}"
-
- use_concurrent_stack="true"
thread_pool.enabled="true"
thread_pool.min_threads="8"
@@ -140,32 +135,34 @@
oob_thread_pool.enabled="true"
oob_thread_pool.min_threads="1"
- oob_thread_pool.max_threads="8"
- oob_thread_pool.keep_alive_time="5000"
+ oob_thread_pool.max_threads="1000"
+ oob_thread_pool.keep_alive_time="1000"
oob_thread_pool.queue_enabled="false"
- oob_thread_pool.queue_max_size="100"
- oob_thread_pool.rejection_policy="run"/>
+ oob_thread_pool.rejection_policy="discard"/>
<PING timeout="2000" num_initial_members="3"/>
<MERGE2 max_interval="100000" min_interval="20000"/>
<FD_SOCK/>
<FD timeout="6000" max_tries="5" shun="true"/>
<VERIFY_SUSPECT timeout="1500"/>
- <pbcast.NAKACK use_mcast_xmit="false" gc_lag="0"
+ <BARRIER/>
+ <pbcast.NAKACK use_mcast_xmit="true" 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"/>
+ max_bytes="400000"/>
+ <VIEW_SYNC avg_send_interval="10000"/>
<pbcast.GMS print_local_addr="true" join_timeout="3000"
shun="true"
view_bundling="true"
- view_ack_collection_timeout="5000"/>
+ view_ack_collection_timeout="5000"
+ resume_task_timeout="7500"/>
<FC max_credits="2000000" min_threshold="0.10"
ignore_synchronous_response="true"/>
<FRAG2 frag_size="60000"/>
<!-- pbcast.STREAMING_STATE_TRANSFER/ -->
<pbcast.STATE_TRANSFER/>
- <pbcast.FLUSH timeout="0"/>
+ <pbcast.FLUSH timeout="0" start_flush_timeout="10000"/>
</config>
</stack>
@@ -190,15 +187,10 @@
loopback="true"
discard_incompatible_packets="true"
enable_bundling="false"
- max_bundle_size="64000"
- max_bundle_timeout="30"
- use_incoming_packet_handler="true"
ip_ttl="${jgroups.udp.ip_ttl:2}"
enable_diagnostics="${jboss.jgroups.enable_diagnostics:true}"
diagnostics_addr="${jboss.jgroups.diagnostics_addr:224.0.0.75}"
diagnostics_port="${jboss.jgroups.diagnostics_port:7500}"
-
- use_concurrent_stack="true"
thread_pool.enabled="true"
thread_pool.min_threads="8"
@@ -210,30 +202,32 @@
oob_thread_pool.enabled="true"
oob_thread_pool.min_threads="1"
- oob_thread_pool.max_threads="8"
- oob_thread_pool.keep_alive_time="5000"
+ oob_thread_pool.max_threads="1000"
+ oob_thread_pool.keep_alive_time="1000"
oob_thread_pool.queue_enabled="false"
- oob_thread_pool.queue_max_size="100"
- oob_thread_pool.rejection_policy="run"/>
+ oob_thread_pool.rejection_policy="discard"/>
<PING timeout="2000" num_initial_members="3"/>
<MERGE2 max_interval="100000" min_interval="20000"/>
<FD_SOCK/>
<FD timeout="6000" max_tries="5" shun="true"/>
<VERIFY_SUSPECT timeout="1500"/>
- <pbcast.NAKACK use_mcast_xmit="false" gc_lag="0"
+ <BARRIER/>
+ <pbcast.NAKACK use_mcast_xmit="true" 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"/>
+ max_bytes="400000"/>
+ <VIEW_SYNC avg_send_interval="10000"/>
<pbcast.GMS print_local_addr="true" join_timeout="3000"
shun="true"
view_bundling="true"
- view_ack_collection_timeout="5000"/>
+ view_ack_collection_timeout="5000"
+ resume_task_timeout="7500"/>
<FRAG2 frag_size="60000"/>
<!--pbcast.STREAMING_STATE_TRANSFER/ -->
<pbcast.STATE_TRANSFER/>
- <pbcast.FLUSH timeout="0"/>
+ <pbcast.FLUSH timeout="0" start_flush_timeout="10000"/>
</config>
</stack>
@@ -248,14 +242,14 @@
singleton_name="tcp"
start_port="${jboss.jgroups.tcp.tcp_port:7600}"
tcp_nodelay="true"
- loopback="false"
+ loopback="true"
recv_buf_size="20000000"
send_buf_size="640000"
discard_incompatible_packets="true"
max_bundle_size="64000"
max_bundle_timeout="30"
use_incoming_packet_handler="true"
- enable_bundling="true"
+ enable_bundling="false"
use_send_queues="false"
sock_conn_timeout="300"
skip_suspected_members="true"
@@ -263,8 +257,6 @@
enable_diagnostics="${jboss.jgroups.enable_diagnostics:true}"
diagnostics_addr="${jboss.jgroups.diagnostics_addr:224.0.0.75}"
diagnostics_port="${jboss.jgroups.diagnostics_port:7500}"
-
- use_concurrent_stack="true"
thread_pool.enabled="true"
thread_pool.min_threads="20"
@@ -276,11 +268,10 @@
oob_thread_pool.enabled="true"
oob_thread_pool.min_threads="1"
- oob_thread_pool.max_threads="20"
- oob_thread_pool.keep_alive_time="5000"
+ oob_thread_pool.max_threads="1000"
+ oob_thread_pool.keep_alive_time="1000"
oob_thread_pool.queue_enabled="false"
- oob_thread_pool.queue_max_size="100"
- oob_thread_pool.rejection_policy="run"/>
+ oob_thread_pool.rejection_policy="discard"/>
<!-- Alternative 1: multicast-based automatic discovery. -->
<MPING timeout="3000"
num_initial_members="3"
@@ -298,22 +289,25 @@
<FD_SOCK/>
<FD timeout="6000" max_tries="5" shun="true"/>
<VERIFY_SUSPECT timeout="1500"/>
+ <BARRIER/>
<pbcast.NAKACK 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"/>
+ max_bytes="400000"/>
+ <VIEW_SYNC avg_send_interval="10000"/>
<pbcast.GMS print_local_addr="true" join_timeout="3000"
shun="true"
view_bundling="true"
- view_ack_collection_timeout="5000"/>
+ view_ack_collection_timeout="5000"
+ resume_task_timeout="7500"/>
<FC max_credits="2000000" min_threshold="0.10"
ignore_synchronous_response="true"/>
<FRAG2 frag_size="60000"/>
<!-- pbcast.STREAMING_STATE_TRANSFER/ -->
<pbcast.STATE_TRANSFER/>
- <pbcast.FLUSH timeout="0"/>
+ <pbcast.FLUSH timeout="0" start_flush_timeout="10000"/>
</config>
</stack>
@@ -331,13 +325,10 @@
singleton_name="tcp_sync"
start_port="${jboss.jgroups.tcp_sync.tcp_port:7650}"
tcp_nodelay="true"
- loopback="false"
+ loopback="true"
recv_buf_size="20000000"
send_buf_size="640000"
discard_incompatible_packets="true"
- max_bundle_size="64000"
- max_bundle_timeout="30"
- use_incoming_packet_handler="true"
enable_bundling="false"
use_send_queues="false"
sock_conn_timeout="300"
@@ -346,8 +337,6 @@
diagnostics_addr="${jboss.jgroups.diagnostics_addr:224.0.0.75}"
diagnostics_port="${jboss.jgroups.diagnostics_port:7500}"
- use_concurrent_stack="true"
-
thread_pool.enabled="true"
thread_pool.min_threads="8"
thread_pool.max_threads="200"
@@ -358,11 +347,10 @@
oob_thread_pool.enabled="true"
oob_thread_pool.min_threads="1"
- oob_thread_pool.max_threads="8"
- oob_thread_pool.keep_alive_time="5000"
+ oob_thread_pool.max_threads="1000"
+ oob_thread_pool.keep_alive_time="1000"
oob_thread_pool.queue_enabled="false"
- oob_thread_pool.queue_max_size="100"
- oob_thread_pool.rejection_policy="run"/>
+ oob_thread_pool.rejection_policy="discard"/>
<!-- Alternative 1: multicast-based automatic discovery. -->
<MPING timeout="3000"
num_initial_members="3"
@@ -380,19 +368,22 @@
<FD_SOCK/>
<FD timeout="6000" max_tries="5" shun="true"/>
<VERIFY_SUSPECT timeout="1500"/>
+ <BARRIER/>
<pbcast.NAKACK 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"/>
+ max_bytes="400000"/>
+ <VIEW_SYNC avg_send_interval="10000"/>
<pbcast.GMS print_local_addr="true" join_timeout="3000"
shun="true"
view_bundling="true"
- view_ack_collection_timeout="5000"/>
+ view_ack_collection_timeout="5000"
+ resume_task_timeout="7500"/>
<!-- pbcast.STREAMING_STATE_TRANSFER/ -->
<pbcast.STATE_TRANSFER/>
- <pbcast.FLUSH timeout="0"/>
+ <pbcast.FLUSH timeout="0" start_flush_timeout="10000"/>
</config>
</stack>
@@ -435,7 +426,7 @@
ignore_synchronous_response="true"/>
<FRAG2 frag_size="60000" />
<pbcast.STATE_TRANSFER/>
- <pbcast.FLUSH timeout="20000"/>
+ <pbcast.FLUSH timeout="20000" start_flush_timeout="10000"/>
</config>
</stack>
@@ -449,9 +440,6 @@
recv_buf_size="20000000"
send_buf_size="640000"
discard_incompatible_packets="true"
- max_bundle_size="64000"
- max_bundle_timeout="30"
- use_incoming_packet_handler="true"
enable_bundling="false"
use_send_queues="false"
sock_conn_timeout="300"
@@ -460,8 +448,6 @@
diagnostics_addr="${jboss.jgroups.diagnostics_addr:224.0.0.75}"
diagnostics_port="${jboss.jgroups.diagnostics_port:7500}"
- use_concurrent_stack="true"
-
thread_pool.enabled="true"
thread_pool.min_threads="8"
thread_pool.max_threads="200"
@@ -475,8 +461,7 @@
oob_thread_pool.max_threads="100"
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.rejection_policy="discard"/>
<MPING timeout="5000"
mcast_addr="${jboss.partition.udpGroup:228.6.6.6}"
mcast_port="${jboss.messaging.datachanneludpport:45710}"
More information about the jboss-cvs-commits
mailing list