aboutsummaryrefslogtreecommitdiff
path: root/contrib/testbed_configs
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2015-01-16 12:32:02 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2015-01-16 12:32:02 +0000
commitce19dd7762ac0628e489ce964fbe3d182fb45551 (patch)
treeea49b5537fb857929e9e6c50cc1fd48615265e47 /contrib/testbed_configs
parent4601b844cb667e8e6ac6dbaee77feddf64e0d8b7 (diff)
downloadgnunet-ce19dd7762ac0628e489ce964fbe3d182fb45551.tar.gz
gnunet-ce19dd7762ac0628e489ce964fbe3d182fb45551.zip
move sample testbed configs to a dir
Diffstat (limited to 'contrib/testbed_configs')
-rw-r--r--contrib/testbed_configs/regex_profiler_infiniband.conf109
-rw-r--r--contrib/testbed_configs/testbed_cluster.conf86
-rw-r--r--contrib/testbed_configs/testbed_infiniband.conf86
-rw-r--r--contrib/testbed_configs/testbed_supermuc.conf74
4 files changed, 355 insertions, 0 deletions
diff --git a/contrib/testbed_configs/regex_profiler_infiniband.conf b/contrib/testbed_configs/regex_profiler_infiniband.conf
new file mode 100644
index 000000000..e4d6138ca
--- /dev/null
+++ b/contrib/testbed_configs/regex_profiler_infiniband.conf
@@ -0,0 +1,109 @@
1[testbed]
2AUTOSTART = NO
3PORT = 11999
4ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
5HOSTNAME = localhost
6MAX_PARALLEL_OVERLAY_CONNECT_OPERATIONS = 25
7MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 5
8#MAX_PARALLEL_OPERATIONS = 1000
9#MAX_PARALLEL_SERVICE_CONNECTIONS = 1000
10
11[regexprofiler]
12BINARY = /home/szengel/gnunet/src/cadet/.libs/gnunet-daemon-regexprofiler
13REGEX_PREFIX = "GNVPN-0001-PAD"
14
15[cadet]
16AUTOSTART = YES
17ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
18APP_ANNOUNCE_TIME = 240 s
19ID_ANNOUNCE_TIME = 120 m
20CONNECT_TIMEOUT = 30 s
21PORT = 12001
22DHT_REPLICATION_LEVEL = 3
23
24[dht]
25AUTOSTART = YES
26ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
27HOSTNAME = localhost
28# Do not allow DHT to create extra connections, beyond those testbed created
29DISABLE_TRY_CONNECT = NO
30FORCE_NSE = 1
31
32[dhtcache]
33DATABASE = heap
34QUOTA = 100 MB
35# Disable RC-file for Bloom filter? (for benchmarking with limited IO availability)
36DISABLE_BF_RC = YES
37DISABLE_BF = YES
38
39[datacache-sqlite]
40# Keep datacache in-memory? (reduces IO)
41IN_MEMORY = YES
42
43[arm]
44DEFAULTSERVICES = core cadet dht statistics regexprofiler
45
46[fs]
47AUTOSTART = NO
48
49[resolver]
50AUTOSTART = NO
51HOSTNAME = localhost
52
53[transport]
54AUTOSTART = YES
55PLUGINS = tcp
56ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
57ACCEPT_FROM6 = ::1;
58NEIGHBOUR_LIMIT = 50
59#PORT = 12004
60
61[ats]
62WAN_QUOTA_OUT = 3932160
63WAN_QUOTA_IN = 3932160
64
65[core]
66AUTOSTART = YES
67
68[transport-tcp]
69TIMEOUT = 300 s
70PORT = 12006
71ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
72
73[transport-udp]
74TIMEOUT = 300 s
75PORT = 12007
76ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
77
78[statistics]
79PORT = 12008
80AUTOSTART = YES
81ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
82DISABLE = NO
83
84[TESTING]
85NUM_PEERS = 5
86HOSTKEYSFILE = ../../contrib/testing_hostkeys.dat
87MAX_CONCURRENT_SSH = 10
88USE_PROGRESSBARS = YES
89PEERGROUP_TIMEOUT = 2400 s
90
91[PATHS]
92SERVICEHOME = /tmp/perf-regex/
93
94[dns]
95AUTOSTART = NO
96
97[nse]
98AUTOSTART = YES
99# Minimize proof-of-work CPU consumption by NSE
100WORKBITS = 1
101
102[vpn]
103AUTOSTART = NO
104
105[nat]
106# Allow running on systems with only loopback?
107RETURN_LOCAL_ADDRESSES = YES
108# Disable redundant addresses...
109DISABLEV6 = YES
diff --git a/contrib/testbed_configs/testbed_cluster.conf b/contrib/testbed_configs/testbed_cluster.conf
new file mode 100644
index 000000000..d55761f10
--- /dev/null
+++ b/contrib/testbed_configs/testbed_cluster.conf
@@ -0,0 +1,86 @@
1[testbed]
2AUTOSTART = NO
3PORT = 12113
4ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24; 10.0.0.0/8;
5HOSTNAME = localhost
6OVERLAY_TOPOLOGY = RANDOM
7OVERLAY_RANDOM_LINKS = 10000
8OPERATION_TIMEOUT = 45 s
9# LOG_FILE = /tmp/testbed.log
10SETUP_TIMEOUT = 30m
11MAX_OPEN_FDS = 512
12
13[fs]
14AUTOSTART = NO
15
16[resolver]
17AUTOSTART = NO
18
19[cadet]
20AUTOSTART = NO
21PORT = 71
22
23[dht]
24AUTOSTART = NO
25PORT = 70
26DISABLE_TRY_CONNECT = YES
27
28[statistics]
29AUTOSTART = NO
30PORT = 72
31
32[dhtcache]
33QUOTA = 1 MB
34DATABASE = sqlite
35
36[transport]
37PLUGINS = udp
38DEBUG = NO
39ACCEPT_FROM6 = ::1;
40ACCEPT_FROM = 127.0.0.1;
41NEIGHBOUR_LIMIT = 10
42
43[core]
44PORT = 12092
45AUTOSTART = YES
46USE_EPHEMERAL_KEYS = NO
47
48[arm]
49DEFAULTSERVICES = core transport
50#PORT = 12366
51DEBUG = NO
52
53[transport-udp]
54TIMEOUT = 300 s
55PORT = 12368
56BROADCAST = NO
57
58[PATHS]
59SERVICEHOME = /tmp/test-testbed/
60
61[dns]
62AUTOSTART = NO
63
64[nse]
65AUTOSTART = NO
66
67[vpn]
68AUTOSTART = NO
69
70[nat]
71RETURN_LOCAL_ADDRESSES = YES
72
73[gns]
74AUTOSTART = NO
75
76[peerinfo]
77NO_IO = YES
78
79[consensus]
80AUTOSTART = NO
81
82[dv]
83AUTOSTART = NO
84
85[lockmanager]
86AUTOSTART = NO
diff --git a/contrib/testbed_configs/testbed_infiniband.conf b/contrib/testbed_configs/testbed_infiniband.conf
new file mode 100644
index 000000000..aea11a18e
--- /dev/null
+++ b/contrib/testbed_configs/testbed_infiniband.conf
@@ -0,0 +1,86 @@
1[testbed]
2AUTOSTART = NO
3PORT = 12113
4ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
5HOSTNAME = localhost
6OVERLAY_TOPOLOGY = RANDOM
7OVERLAY_RANDOM_LINKS = 1000
8OPERATION_TIMEOUT = 45 s
9# LOG_FILE = /tmp/testbed.log
10SETUP_TIMEOUT = 30m
11MAX_OPEN_FDS = 512
12
13[fs]
14AUTOSTART = NO
15
16[resolver]
17AUTOSTART = NO
18
19[cadet]
20AUTOSTART = NO
21PORT = 71
22
23[dht]
24AUTOSTART = NO
25PORT = 70
26DISABLE_TRY_CONNECT = YES
27
28[statistics]
29AUTOSTART = NO
30PORT = 72
31
32[dhtcache]
33QUOTA = 1 MB
34DATABASE = sqlite
35
36[transport]
37PLUGINS = udp
38DEBUG = NO
39ACCEPT_FROM6 = ::1;
40ACCEPT_FROM = 127.0.0.1;
41NEIGHBOUR_LIMIT = 10
42
43[core]
44PORT = 12092
45AUTOSTART = YES
46USE_EPHEMERAL_KEYS = NO
47
48[arm]
49DEFAULTSERVICES = core
50#PORT = 12366
51DEBUG = NO
52
53[transport-udp]
54TIMEOUT = 300 s
55PORT = 12368
56BROADCAST = NO
57
58[PATHS]
59SERVICEHOME = /tmp/test-testbed/
60
61[dns]
62AUTOSTART = NO
63
64[nse]
65AUTOSTART = NO
66
67[vpn]
68AUTOSTART = NO
69
70[nat]
71RETURN_LOCAL_ADDRESSES = YES
72
73[gns]
74AUTOSTART = NO
75
76[peerinfo]
77NO_IO = YES
78
79[consensus]
80AUTOSTART = NO
81
82[dv]
83AUTOSTART = NO
84
85[lockmanager]
86AUTOSTART = NO
diff --git a/contrib/testbed_configs/testbed_supermuc.conf b/contrib/testbed_configs/testbed_supermuc.conf
new file mode 100644
index 000000000..02d64d62f
--- /dev/null
+++ b/contrib/testbed_configs/testbed_supermuc.conf
@@ -0,0 +1,74 @@
1[testbed]
2AUTOSTART = NO
3PORT = 12113
4ACCEPT_FROM = 127.0.0.1;10.0.0.0/8;
5HOSTNAME = localhost
6MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 5
7MAX_PARALLEL_OPERATIONS = 500
8OVERLAY_TOPOLOGY = 2D_TORUS
9OVERLAY_RANDOM_LINKS = 4000
10OPERATION_TIMEOUT = 10 s
11# LOG_FILE = /tmp/testbed.log
12#PREFIX = xterm -geometry 100x85 -T peer1 -e libtool --mode=execute gdb --args
13MAX_OPEN_FDS=512
14SETUP_TIMEOUT = 30 m
15
16[fs]
17AUTOSTART = NO
18
19[resolver]
20AUTOSTART = NO
21
22[cadet]
23AUTOSTART = NO
24PORT = 71
25
26[dht]
27AUTOSTART = NO
28PORT = 70
29DISABLE_TRY_CONNECT = YES
30
31[statistics]
32AUTOSTART = NO
33PORT = 72
34
35[dhtcache]
36QUOTA = 1 MB
37DATABASE = sqlite
38
39[transport]
40PLUGINS = udp
41DEBUG = NO
42ACCEPT_FROM6 = ::1;
43ACCEPT_FROM = 127.0.0.1;
44NEIGHBOUR_LIMIT = 10
45
46[core]
47PORT = 12092
48AUTOSTART = YES
49USE_EPHEMERAL_KEYS = NO
50
51[arm]
52DEFAULTSERVICES = transport core ats
53#PORT = 12366
54DEBUG = NO
55#PREFIX = strace -r -T -o /${WORK}/trace/${PEERID}.strace
56
57[transport-udp]
58TIMEOUT = 300 s
59PORT = 12368
60BROADCAST = NO
61
62[PATHS]
63SERVICEHOME = /tmp/test-testbed/
64
65[nat]
66BEHIND_NAT = NO
67RETURN_LOCAL_ADDRESSES = NO
68
69[peerinfo]
70AUTOSTART = NO
71NO_IO = YES
72
73[testing]
74USE_ABSTRACT_SOCKETS = YES