[jboss-cvs] JBossAS SVN: r92024 - branches/JBPAPP_5_0/cluster/src/resources/jgroups.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Aug 5 16:20:25 EDT 2009


Author: bstansberry at jboss.com
Date: 2009-08-05 16:20:25 -0400 (Wed, 05 Aug 2009)
New Revision: 92024

Modified:
   branches/JBPAPP_5_0/cluster/src/resources/jgroups/jgroups-channelfactory-stacks.xml
Log:
[JBPAPP-2337] Adjust OOB thread pool configs to avoid starvation
Also added VIEW_SYNC and BARRIER

Modified: branches/JBPAPP_5_0/cluster/src/resources/jgroups/jgroups-channelfactory-stacks.xml
===================================================================
--- branches/JBPAPP_5_0/cluster/src/resources/jgroups/jgroups-channelfactory-stacks.xml	2009-08-05 20:10:58 UTC (rev 92023)
+++ branches/JBPAPP_5_0/cluster/src/resources/jgroups/jgroups-channelfactory-stacks.xml	2009-08-05 20:20:25 UTC (rev 92024)
@@ -38,11 +38,11 @@
 		      
 		     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="500"
 		     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,16 +79,20 @@
           <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"/>
-          <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"/>
@@ -140,22 +144,24 @@
       
              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="500"
              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"/>
+          <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"
@@ -210,22 +216,24 @@
     		
     		        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="500"
     		        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"/>
+            <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"
@@ -276,11 +284,11 @@
 		
                  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="500"
 		           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,12 +306,14 @@
             <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"
@@ -358,11 +368,11 @@
 		
 		           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="500"
 		           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,12 +390,14 @@
             <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"
@@ -476,7 +488,7 @@
                  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