aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed.conf.in
blob: 5dbb86d9d5f82fa911e52d753f4dcc0c4b95e3d1 (plain) (blame)
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
[testbed]
AUTOSTART = NO
@UNIXONLY@ PORT = 2101
HOSTNAME = localhost
HOME = $SERVICEHOME
BINARY = gnunet-service-testbed

# How long should operations wait?
OPERATION_TIMEOUT = 30 s

# Set this to the path where the testbed helper is installed.  By default the
# helper binary is searched in @prefix@/lib/gnunet/libexec/
# HELPER_BINARY_PATH = @prefix@/lib/gnunet/libexec/gnunet-helper-testbed

# Add your local network address here. For example, if you want to running
# testbed on a group of hosts connected to network 192.168.1.0/24, then set
#   ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
# Multiple network addresses can be given.  They should be separated by `;'
ACCEPT_FROM = 127.0.0.1;
ACCEPT_FROM6 = ::1;

UNIXPATH = /tmp/gnunet-service-testbed.sock
UNIX_MATCH_UID = YES
UNIX_MATCH_GID = YES

# How many maximum number of operations can be run in parallel.  This number
# should be decreased if the system is getting overloaded and to keep reduce the
# load of testbed.
MAX_PARALLEL_OPERATIONS = 1000
MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 1

# How many maximum number of handles to peers' services should be kept open at
# any time.  This number also keeps a check on the number of open descriptors as
# opening a service connection results in opening a file descriptor.
MAX_PARALLEL_SERVICE_CONNECTIONS = 256

# Size of the internal testbed cache.  It is used to cache handles to peers
# while trying to connect them.
CACHE_SIZE = 30

# Maximum number of file descriptors a testbed controller is permitted to keep
# open.
MAX_OPEN_FDS = 512

# How long should we wait for testbed to setup while using helper functions
# GNUNET_TESTBED_test_run() and GNUNET_TESTBED_run()
SETUP_TIMEOUT = 5 m

# Where should testbed write load statistics data
# STATS_DIR = /tmp/load

# What services should be shared among peers.  
# Format is "[<service:share>] [<service:share>] ...".  The shared services are
# started standalone without any other peer services or a hostkey.  For this
# reason, only services which doesn't depend on other services can only be
# shared.  Example: To share peerinfo among every 10 peers.  The following spec
# will start 5 peerinfo services when 50 peers are started:
#
#   SHARED_SERVICES = peerinfo:10
#
# To share multiple services
#
#   SHARED_SERVICES = service1:n_share1 service2:n_share2 ...
#
# Default is to share no services
SHARED_SERVICES =


[testbed-logger]
AUTOSTART = NO
@UNIXONLY@ PORT = 2102
HOSTNAME = localhost
BINARY = gnunet-service-testbed-logger
UNIXPATH = /tmp/gnunet-gnunet-testbed-logger.sock
DIR = /tmp
UNIX_MATCH_UID = YES
UNIX_MATCH_GID = YES