project(groups): Switch to a faster config (still only scoped to localhost)

This commit is contained in:
Owain van Brakel
2022-05-02 05:51:08 +02:00
parent 350b738c2f
commit 6847237429

View File

@@ -1,7 +1,8 @@
<!-- <!--
Default stack using IP multicasting. It is similar to the "udp" Fast configuration for local mode, ie. all members reside on the same host. Setting ip_ttl to 0 means that
stack in stacks.xml, but doesn't use streaming state transfer and flushing no multicast packet will make it outside the local host.
author: Bela Ban Therefore, this configuration will NOT work to cluster members residing on different hosts !
Author: Bela Ban
--> -->
<config xmlns="urn:org:jgroups" <config xmlns="urn:org:jgroups"
@@ -9,48 +10,27 @@
xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/jgroups.xsd" xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/jgroups.xsd"
version="5.0.0"> version="5.0.0">
<UDP <UDP
bind_addr="127.0.0.1"
mcast_port="${jgroups.udp.mcast_port:45588}" mcast_port="${jgroups.udp.mcast_port:45588}"
ip_ttl="4" thread_pool.min_threads="2"
tos="8" thread_pool.max_threads="200"
ucast_recv_buf_size="5M" thread_pool.keep_alive_time="5000"
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"
thread_pool.min_threads="0"
thread_pool.max_threads="20"
thread_pool.keep_alive_time="30000"/>
ip_ttl="0"/>
<RED/>
<PING/> <PING/>
<MERGE3 max_interval="30000" <MERGE3 max_interval="30000"
min_interval="10000"/> min_interval="10000"/>
<FD_SOCK/> <FD_SOCK2/>
<FD_ALL/> <FD_ALL3/>
<VERIFY_SUSPECT timeout="1500"/> <VERIFY_SUSPECT timeout="1500"/>
<BARRIER/> <pbcast.NAKACK2 xmit_interval="500"/>
<pbcast.NAKACK2 xmit_interval="500" <UNICAST3 xmit_interval="500"/>
xmit_table_num_rows="100"
xmit_table_msgs_per_row="2000"
xmit_table_max_compaction_time="30000"
use_mcast_xmit="false"
discard_delivered_msgs="true"/>
<UNICAST3 xmit_interval="500"
xmit_table_num_rows="100"
xmit_table_msgs_per_row="2000"
xmit_table_max_compaction_time="60000"
conn_expiry_timeout="0"/>
<pbcast.STABLE desired_avg_gossip="50000" <pbcast.STABLE desired_avg_gossip="50000"
max_bytes="4M"/> max_bytes="8m"/>
<pbcast.GMS print_local_addr="false" join_timeout="2000"/> <pbcast.GMS print_local_addr="false" join_timeout="3000"/>
<UFC max_credits="2M" <UFC max_credits="2M"
min_threshold="0.4"/> min_threshold="0.4"/>
<MFC max_credits="2M" <MFC max_credits="2M"
min_threshold="0.4"/> min_threshold="0.4"/>
<FRAG2 frag_size="60K"/> <FRAG2 frag_size="60K"/>
<RSVP resend_interval="2000" timeout="10000"/>
<pbcast.STATE_TRANSFER/>
</config> </config>