1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
|
<!--
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="urn:org:jgroups"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/JGroups-2.12.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="20M"
ucast_send_buf_size="640K"
mcast_recv_buf_size="25M"
mcast_send_buf_size="640K"
loopback="true"
discard_incompatible_packets="true"
max_bundle_size="64K"
max_bundle_timeout="30"
ip_ttl="${jgroups.udp.ip_ttl:8}"
enable_bundling="true"
enable_diagnostics="false"
thread_naming_pattern="cl"
timer_type="new"
timer.min_threads="4"
timer.max_threads="10"
timer.keep_alive_time="5000"
timer.queue_max_size="500"
thread_pool.enabled="true"
thread_pool.min_threads="10"
thread_pool.max_threads="100"
thread_pool.keep_alive_time="5000"
thread_pool.queue_enabled="true"
thread_pool.queue_max_size="50000"
thread_pool.rejection_policy="discard"
oob_thread_pool.enabled="true"
oob_thread_pool.min_threads="5"
oob_thread_pool.max_threads="100"
oob_thread_pool.keep_alive_time="5000"
oob_thread_pool.rejection_policy="Run"/>
<!-- Reset ergonomics to true once https://issues.jboss.org/browse/JGRP-1309 is fixed -->
<PING timeout="2000"
num_initial_members="100"
break_on_coord_rsp="true"
max_rank="0"
ergonomics="false" />
<MERGE2 max_interval="30000"
min_interval="10000"/>
<FD_SOCK/>
<FD_ALL/>
<VERIFY_SUSPECT timeout="1500" />
<BARRIER />
<pbcast.NAKACK use_stats_for_retransmission="false"
exponential_backoff="500"
use_mcast_xmit="true"
discard_delivered_msgs="true"/>
<UNICAST2 timeout="300,600,1200"/>
<pbcast.STABLE stability_delay="2000" desired_avg_gossip="60000"
max_bytes="4M"
cap="0.1"/>
<pbcast.GMS print_local_addr="true"
join_timeout="10000"
view_bundling="true"
max_bundling_time="1000"
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" />
<!--pbcast.STREAMING_STATE_TRANSFER /-->
<pbcast.STATE_TRANSFER />
</config>
|