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
|
#
# This file contains configuration for the JGroups performance tests (org.jgroups.tests.perf package)
#
# Class implementing the org.jgroups.tests.perf.Transport interface
transport=org.jgroups.tests.perf.transports.JGroupsTransport
#transport=org.jgroups.tests.perf.transports.JGroupsClusterTransport
#transport=org.jgroups.tests.perf.transports.UdpTransport
#transport=org.jgroups.tests.perf.transports.TcpTransport
# Number of messages a sender multicasts
num_msgs=10000
# Message size in bytes.
msg_size=1000
# Expected number of group members.
num_members=2
# Number of senders in the group. Min 1, max num_members.
num_senders=2
# dump stats every n msgs
log_interval=1000
# number of ms to wait at the receiver to simulate delay caused by processing of the message
processing_delay=0
# Needs to either contain the full property string, or an URL pointing to a valid
# location (needs to be changed)
props=file:c:\\udp.xml
# Dumps statistics about the transport
dump_transport_stats=false
# Register JGroups channel and protocols with MBeanServer, don't terminate at the end
jmx=false
#####################################################
# These properties are only used by the UDP transport
#####################################################
bind_addr=localhost
mcast_addr=228.1.2.3
mcast_port=7500
############################
# only used by TCP Transport
############################
# List of hosts in the cluster. Since we don't specify ports, you cannot run multiple TcpTransports
# on the same machine: each ember has to be run on a separate machine (this may be changed in a next version)
cluster=127.0.0.1:7800,127.0.0.1:7801
start_port=7800
#################################################
# JNDI name of topic (only used by JMS transport)
#################################################
topic=topic/testTopic
|