Hi, Sequencer is the layer that implements the total order that is needed by Sequoia. What is in that layer is pretty simple and should just unicast the messages to a coordinator that broadcast them to the group in the total order it defines. I am not sure why it does not work on your setup. What JDK vendor and version are you using?
Thanks for your feedback, Emmanuel Bogon Choi wrote: > I am testing JGroups 2.6.5 with sequoia_jgroups.xml, which comes with > Sequoia 4, the up-to-date version. > With the normal udp.xml of JGroups, Perf test works perfectly. BTW, > when I use the xml of Sequoia 4, the Perf test doesn't work. It just > hangs. I am using Gigabit switch. And, to expose which tags make this > problem, I added one tag by tag to the working udp.xml. Then, after I > put SEQUENCER tag, the Perf test stops working. > > To make sure this problem, I removed SEQUENCER tag from > sequoia_jgroups.xml. And then, the perf test starts working. Some > parts of its result showed 63MB/sec performance, which is much better > performance than normal udp.xml. Definitely, this problem is caused by > SEQUENCER tag. Do you have any idea? Thanks. > > > == NOT WORKING UDP.XML == > <config> > <UDP bind_addr="192.168.10.202 <http://192.168.10.202>" > mcast_addr="224.1.1.5 <http://224.1.1.5>" > mcast_port="10009" > 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" > use_incoming_packet_handler="true" > ip_ttl="${jgroups.udp.ip_ttl:2}" > enable_bundling="true" > enable_diagnostics="true" > thread_naming_pattern="cl" > > use_concurrent_stack="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="true" > thread_pool.queue_max_size="1000" > thread_pool.rejection_policy="Run" > > 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="Run"/> > > <PING timeout="2000" > num_initial_members="3"/> > <MERGE2 max_interval="30000" > min_interval="10000"/> > <FD_SOCK/> > <FD timeout="10000" max_tries="5" shun="true"/> > <VERIFY_SUSPECT timeout="1500" /> > <BARRIER /> > <pbcast.NAKACK use_stats_for_retransmission="false" > exponential_backoff="150" > 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"/> > <VIEW_SYNC avg_send_interval="60000" /> > <pbcast.GMS print_local_addr="true" join_timeout="3000" > shun="false" > view_bundling="true"/> > <SEQUENCER/> <======== AFTER PUTTING THIS, NOT WORKING!! > <FC max_credits="500000" > min_threshold="0.20"/> > <FRAG2 frag_size="60000" /> > <!--pbcast.STREAMING_STATE_TRANSFER /--> > <!--<pbcast.STATE_TRANSFER />--> > <!-- pbcast.FLUSH /--> > </config> > > > > == WORKING SEQUOIA_JGROUPS.XML == > <config> > <UDP bind_addr="192.168.10.202 <http://192.168.10.202>" > mcast_port="10009" > mcast_addr="224.1.1.5 <http://224.1.1.5>" > tos="16" > 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" > use_incoming_packet_handler="true" > ip_ttl="2" > enable_bundling="true"/> > <PING timeout="2000" num_initial_members="2"/> > <!-- MERGE2 max_interval="100000" min_interval="5000"/ --> > <FD_SOCK/> > <!-- FD_SOCK is not enough in some OS cases, add the FD protocol if > failure detection takes too much of time. --> > <!-- <FD timeout="1000" max_tries="3" shun="true" /> --> > <!--VERIFY_SUSPECT timeout="1500"/--> > <BARRIER /> > <pbcast.NAKACK use_mcast_xmit="false" gc_lag="0" > retransmit_timeout="100,200,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"/> > <VIEW_SYNC avg_send_interval="60000"/> > <pbcast.GMS print_local_addr="true" join_timeout="3000" > view_bundling="true" shun="false"/> > > <!--<SEQUENCER/>--> <======== I COMMENTED THIS OUT!! > <FC max_credits="2000000" min_threshold="0.10"/> > <FRAG2 frag_size="60000"/> > <!-- pbcast.STATE_TRANSFER/ --> > </config> > > > On Wed, Oct 29, 2008 at 11:16 PM, Emmanuel Cecchet > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > Bogon Choi wrote: > > Let me know which parts I should look at first from sequencer.xml. > > Give me some hints. And, can I use sequoia with the version 2.6.5? > Yes, you can. Just replace lib/jgroups-core.jar with the new version. > Take also the sequencer.xml config file that comes in the JGroups > distribution, that should get you started. > > You can also get these files from Sequoia CVS HEAD (Sequoia 4). All > information to access CVS are on the Forge. > > Hope this helps, > Emmanuel > -- Emmanuel Cecchet FTO @ Frog Thinker Open Source Development & Consulting -- Web: http://www.frogthinker.org email: [EMAIL PROTECTED] Skype: emmanuel_cecchet _______________________________________________ Sequoia mailing list [email protected] https://forge.continuent.org/mailman/listinfo/sequoia
