[infinispan-commits] Infinispan SVN: r1034 - trunk/core/src/main/resources/config-samples.

infinispan-commits at lists.jboss.org infinispan-commits at lists.jboss.org
Tue Oct 27 13:47:09 EDT 2009


Author: manik.surtani at jboss.com
Date: 2009-10-27 13:47:09 -0400 (Tue, 27 Oct 2009)
New Revision: 1034

Added:
   trunk/core/src/main/resources/config-samples/jgroups-tcp.xml
   trunk/core/src/main/resources/config-samples/jgroups-udp.xml
Log:
Ship with these defaults

Added: trunk/core/src/main/resources/config-samples/jgroups-tcp.xml
===================================================================
--- trunk/core/src/main/resources/config-samples/jgroups-tcp.xml	                        (rev 0)
+++ trunk/core/src/main/resources/config-samples/jgroups-tcp.xml	2009-10-27 17:47:09 UTC (rev 1034)
@@ -0,0 +1,71 @@
+<config xmlns="urn:org:jgroups"
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:schemaLocation="urn:org:jgroups file:schema/JGroups-2.8.xsd">
+   <TCP bind_port="7800"
+        loopback="true"
+        port_range="30"
+        recv_buf_size="20000000"
+        send_buf_size="640000"
+        discard_incompatible_packets="true"
+        max_bundle_size="64000"
+        max_bundle_timeout="30"
+        enable_bundling="true"
+        use_send_queues="true"
+        sock_conn_timeout="300"
+        enable_diagnostics="false"
+        skip_suspected_members="true"
+
+        thread_pool.enabled="true"
+        thread_pool.min_threads="2"
+        thread_pool.max_threads="8"
+        thread_pool.keep_alive_time="5000"
+        thread_pool.queue_enabled="false"
+        thread_pool.queue_max_size="100"
+        thread_pool.rejection_policy="Discard"
+
+        oob_thread_pool.enabled="true"
+        oob_thread_pool.min_threads="2"
+        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="Discard"
+
+        marshaller_pool_size="25"
+        
+         />
+
+   <!--<TCPPING timeout="3000"-->
+            <!--initial_hosts="localhost[7800],localhost[7801]}"-->
+            <!--port_range="5"-->
+            <!--num_initial_members="3"/>-->
+
+   <MPING bind_addr="${jgroups.bind_addr:127.0.0.1}" break_on_coord_rsp="true"
+      mcast_addr="${jgroups.udp.mcast_addr:228.6.7.8}" mcast_port="${jgroups.udp.mcast_port:46655}" ip_ttl="${jgroups.udp.ip_ttl:2}"
+      num_initial_members="3"/>
+
+   <MERGE2 max_interval="30000"
+           min_interval="10000"/>
+   <FD_SOCK/>
+   <!--
+       Note that this is an atypically short timeout and a small number of retries
+       configured this way to speed up unit testing, since we know all nodes run in the same JVM
+       and hence failure detections will be very quick.
+          -->
+   <FD timeout="3000" max_tries="3"/>
+   <VERIFY_SUSPECT timeout="1500"/>
+   <pbcast.NAKACK
+         use_mcast_xmit="false" gc_lag="0"
+         retransmit_timeout="300,600,1200,2400,4800"
+         discard_delivered_msgs="false"/>
+   <UNICAST timeout="300,600,1200"/>
+   <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+                  max_bytes="400000"/>
+   <pbcast.GMS print_local_addr="false" join_timeout="7000" view_bundling="true"/>
+   <FC max_credits="2000000"
+       min_threshold="0.10"/>
+   <FRAG2 frag_size="60000"/>
+   <pbcast.STREAMING_STATE_TRANSFER/>
+   <!-- <pbcast.STATE_TRANSFER/> -->
+   <pbcast.FLUSH timeout="0"/>
+</config>


Property changes on: trunk/core/src/main/resources/config-samples/jgroups-tcp.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: trunk/core/src/main/resources/config-samples/jgroups-udp.xml
===================================================================
--- trunk/core/src/main/resources/config-samples/jgroups-udp.xml	                        (rev 0)
+++ trunk/core/src/main/resources/config-samples/jgroups-udp.xml	2009-10-27 17:47:09 UTC (rev 1034)
@@ -0,0 +1,59 @@
+<config xmlns="urn:org:jgroups"
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:schemaLocation="urn:org:jgroups file:schema/JGroups-2.8.xsd">
+   <UDP
+         mcast_addr="${jgroups.udp.mcast_addr:228.6.7.8}"
+         mcast_port="${jgroups.udp.mcast_port:46655}"
+         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"
+         ip_ttl="${jgroups.udp.ip_ttl:2}"
+         enable_bundling="true"
+         enable_diagnostics="false"
+
+         thread_naming_pattern="pl"
+
+         thread_pool.enabled="true"
+         thread_pool.min_threads="1"
+         thread_pool.max_threads="8"
+         thread_pool.keep_alive_time="5000"
+         thread_pool.queue_enabled="false"
+         thread_pool.queue_max_size="100"
+         thread_pool.rejection_policy="Discard"
+
+         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.queue_enabled="false"
+         oob_thread_pool.queue_max_size="100"
+         oob_thread_pool.rejection_policy="Discard"
+
+         marshaller_pool_size="25"
+         />
+
+   <PING timeout="3000" num_initial_members="3"/>
+   <MERGE2 max_interval="30000" min_interval="10000"/>
+   <FD_SOCK/>
+   <FD_ALL/>
+   <BARRIER />
+   <pbcast.NAKACK use_stats_for_retransmission="false"
+                   exponential_backoff="0"
+                   use_mcast_xmit="true" gc_lag="0"
+                   retransmit_timeout="50,300,600,1200"
+                   discard_delivered_msgs="true"/>
+   <UNICAST timeout="300,600,1200"/>
+   <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000" max_bytes="1000000"/>
+   <pbcast.GMS print_local_addr="false" join_timeout="3000" view_bundling="true"/>
+   <FC max_credits="500000" min_threshold="0.20"/>
+   <FRAG2 frag_size="60000"  />
+   <pbcast.STREAMING_STATE_TRANSFER/>
+   <!-- <pbcast.STATE_TRANSFER/> -->
+   <pbcast.FLUSH timeout="0"/>
+</config>


Property changes on: trunk/core/src/main/resources/config-samples/jgroups-udp.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF



More information about the infinispan-commits mailing list