
<!--
  UDP based stack modified to run well in clusters of large size. This is ongoing work<p/>
  JIRA: https://issues.jboss.org/browse/JGRP-100
  author: Bela Ban
-->

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns="urn:org:jgroups"
        xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/jgroups.xsd">

    <UDP mcast_addr="${jgroups.udp.mcast_addr:239.9.9.9}"
         mcast_port="${jgroups.udp.mcast_port:45588}"
         tos="8"
         ucast_recv_buf_size="5M"
         ucast_send_buf_size="5M"
         mcast_recv_buf_size="5M"
         mcast_send_buf_size="5M"
         max_bundle_size="64K"
         enable_diagnostics="true"
         thread_naming_pattern="cl"
         logical_addr_cache_max_size="1000"

         thread_pool.min_threads="0"
         thread_pool.max_threads="500"
         thread_pool.keep_alive_time="5000"/>

    <PING break_on_coord_rsp="true" />
    <MERGE3 max_interval="30000"
            min_interval="10000"/>
    <FD_SOCK/>
    <FD_ALL/>
    <VERIFY_SUSPECT timeout="1500"  />
    <BARRIER />
    <pbcast.NAKACK2 xmit_interval="500"
                    xmit_table_num_rows="100"
                    xmit_table_msgs_per_row="2000"
                    xmit_table_max_compaction_time="30000"
                    use_mcast_xmit="true"
                    discard_delivered_msgs="true"/>
    <UNICAST3
              xmit_table_num_rows="100"
              xmit_table_msgs_per_row="1000"
              xmit_table_max_compaction_time="30000"/>
    <pbcast.STABLE desired_avg_gossip="60000"
                   max_bytes="4M"/>
    <pbcast.GMS print_local_addr="true"
                join_timeout="10000"
                merge_timeout="5000"
                resume_task_timeout="15000"
            />
    <UFC max_credits="4M"
         min_threshold="0.4"/>
    <MFC max_credits="4M"
         min_threshold="0.4"/>
    <FRAG2 frag_size="60K"  />
    <RSVP resend_interval="2000" timeout="10000"/>
    <pbcast.STATE_TRANSFER />
</config>
