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