summaryrefslogtreecommitdiff
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)
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 @@
+[testbed]
+AUTOSTART = NO
+PORT = 11999
+ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
+HOSTNAME = localhost
+MAX_PARALLEL_OVERLAY_CONNECT_OPERATIONS = 25
+MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 5
+#MAX_PARALLEL_OPERATIONS = 1000
+#MAX_PARALLEL_SERVICE_CONNECTIONS = 1000
+
+[regexprofiler]
+BINARY = /home/szengel/gnunet/src/cadet/.libs/gnunet-daemon-regexprofiler
+REGEX_PREFIX = "GNVPN-0001-PAD"
+
+[cadet]
+AUTOSTART = YES
+ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
+APP_ANNOUNCE_TIME = 240 s
+ID_ANNOUNCE_TIME = 120 m
+CONNECT_TIMEOUT = 30 s
+PORT = 12001
+DHT_REPLICATION_LEVEL = 3
+
+[dht]
+AUTOSTART = YES
+ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
+HOSTNAME = localhost
+# Do not allow DHT to create extra connections, beyond those testbed created
+DISABLE_TRY_CONNECT = NO
+FORCE_NSE = 1
+
+[dhtcache]
+DATABASE = heap
+QUOTA = 100 MB
+# Disable RC-file for Bloom filter? (for benchmarking with limited IO availability)
+DISABLE_BF_RC = YES
+DISABLE_BF = YES
+
+[datacache-sqlite]
+# Keep datacache in-memory? (reduces IO)
+IN_MEMORY = YES
+
+[arm]
+DEFAULTSERVICES = core cadet dht statistics regexprofiler
+
+[fs]
+AUTOSTART = NO
+
+[resolver]
+AUTOSTART = NO
+HOSTNAME = localhost
+
+[transport]
+AUTOSTART = YES
+PLUGINS = tcp
+ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
+ACCEPT_FROM6 = ::1;
+NEIGHBOUR_LIMIT = 50
+#PORT = 12004
+
+[ats]
+WAN_QUOTA_OUT = 3932160
+WAN_QUOTA_IN = 3932160
+
+[core]
+AUTOSTART = YES
+
+[transport-tcp]
+TIMEOUT = 300 s
+PORT = 12006
+ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
+
+[transport-udp]
+TIMEOUT = 300 s
+PORT = 12007
+ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
+
+[statistics]
+PORT = 12008
+AUTOSTART = YES
+ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
+DISABLE = NO
+
+[TESTING]
+NUM_PEERS = 5
+HOSTKEYSFILE = ../../contrib/testing_hostkeys.dat
+MAX_CONCURRENT_SSH = 10
+USE_PROGRESSBARS = YES
+PEERGROUP_TIMEOUT = 2400 s
+
+[PATHS]
+SERVICEHOME = /tmp/perf-regex/
+
+[dns]
+AUTOSTART = NO
+
+[nse]
+AUTOSTART = YES
+# Minimize proof-of-work CPU consumption by NSE
+WORKBITS = 1
+
+[vpn]
+AUTOSTART = NO
+
+[nat]
+# Allow running on systems with only loopback?
+RETURN_LOCAL_ADDRESSES = YES
+# Disable redundant addresses...
+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 @@
+[testbed]
+AUTOSTART = NO
+PORT = 12113
+ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24; 10.0.0.0/8;
+HOSTNAME = localhost
+OVERLAY_TOPOLOGY = RANDOM
+OVERLAY_RANDOM_LINKS = 10000
+OPERATION_TIMEOUT = 45 s
+# LOG_FILE = /tmp/testbed.log
+SETUP_TIMEOUT = 30m
+MAX_OPEN_FDS = 512
+
+[fs]
+AUTOSTART = NO
+
+[resolver]
+AUTOSTART = NO
+
+[cadet]
+AUTOSTART = NO
+PORT = 71
+
+[dht]
+AUTOSTART = NO
+PORT = 70
+DISABLE_TRY_CONNECT = YES
+
+[statistics]
+AUTOSTART = NO
+PORT = 72
+
+[dhtcache]
+QUOTA = 1 MB
+DATABASE = sqlite
+
+[transport]
+PLUGINS = udp
+DEBUG = NO
+ACCEPT_FROM6 = ::1;
+ACCEPT_FROM = 127.0.0.1;
+NEIGHBOUR_LIMIT = 10
+
+[core]
+PORT = 12092
+AUTOSTART = YES
+USE_EPHEMERAL_KEYS = NO
+
+[arm]
+DEFAULTSERVICES = core transport
+#PORT = 12366
+DEBUG = NO
+
+[transport-udp]
+TIMEOUT = 300 s
+PORT = 12368
+BROADCAST = NO
+
+[PATHS]
+SERVICEHOME = /tmp/test-testbed/
+
+[dns]
+AUTOSTART = NO
+
+[nse]
+AUTOSTART = NO
+
+[vpn]
+AUTOSTART = NO
+
+[nat]
+RETURN_LOCAL_ADDRESSES = YES
+
+[gns]
+AUTOSTART = NO
+
+[peerinfo]
+NO_IO = YES
+
+[consensus]
+AUTOSTART = NO
+
+[dv]
+AUTOSTART = NO
+
+[lockmanager]
+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 @@
+[testbed]
+AUTOSTART = NO
+PORT = 12113
+ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
+HOSTNAME = localhost
+OVERLAY_TOPOLOGY = RANDOM
+OVERLAY_RANDOM_LINKS = 1000
+OPERATION_TIMEOUT = 45 s
+# LOG_FILE = /tmp/testbed.log
+SETUP_TIMEOUT = 30m
+MAX_OPEN_FDS = 512
+
+[fs]
+AUTOSTART = NO
+
+[resolver]
+AUTOSTART = NO
+
+[cadet]
+AUTOSTART = NO
+PORT = 71
+
+[dht]
+AUTOSTART = NO
+PORT = 70
+DISABLE_TRY_CONNECT = YES
+
+[statistics]
+AUTOSTART = NO
+PORT = 72
+
+[dhtcache]
+QUOTA = 1 MB
+DATABASE = sqlite
+
+[transport]
+PLUGINS = udp
+DEBUG = NO
+ACCEPT_FROM6 = ::1;
+ACCEPT_FROM = 127.0.0.1;
+NEIGHBOUR_LIMIT = 10
+
+[core]
+PORT = 12092
+AUTOSTART = YES
+USE_EPHEMERAL_KEYS = NO
+
+[arm]
+DEFAULTSERVICES = core
+#PORT = 12366
+DEBUG = NO
+
+[transport-udp]
+TIMEOUT = 300 s
+PORT = 12368
+BROADCAST = NO
+
+[PATHS]
+SERVICEHOME = /tmp/test-testbed/
+
+[dns]
+AUTOSTART = NO
+
+[nse]
+AUTOSTART = NO
+
+[vpn]
+AUTOSTART = NO
+
+[nat]
+RETURN_LOCAL_ADDRESSES = YES
+
+[gns]
+AUTOSTART = NO
+
+[peerinfo]
+NO_IO = YES
+
+[consensus]
+AUTOSTART = NO
+
+[dv]
+AUTOSTART = NO
+
+[lockmanager]
+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 @@
+[testbed]
+AUTOSTART = NO
+PORT = 12113
+ACCEPT_FROM = 127.0.0.1;10.0.0.0/8;
+HOSTNAME = localhost
+MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 5
+MAX_PARALLEL_OPERATIONS = 500
+OVERLAY_TOPOLOGY = 2D_TORUS
+OVERLAY_RANDOM_LINKS = 4000
+OPERATION_TIMEOUT = 10 s
+# LOG_FILE = /tmp/testbed.log
+#PREFIX = xterm -geometry 100x85 -T peer1 -e libtool --mode=execute gdb --args
+MAX_OPEN_FDS=512
+SETUP_TIMEOUT = 30 m
+
+[fs]
+AUTOSTART = NO
+
+[resolver]
+AUTOSTART = NO
+
+[cadet]
+AUTOSTART = NO
+PORT = 71
+
+[dht]
+AUTOSTART = NO
+PORT = 70
+DISABLE_TRY_CONNECT = YES
+
+[statistics]
+AUTOSTART = NO
+PORT = 72
+
+[dhtcache]
+QUOTA = 1 MB
+DATABASE = sqlite
+
+[transport]
+PLUGINS = udp
+DEBUG = NO
+ACCEPT_FROM6 = ::1;
+ACCEPT_FROM = 127.0.0.1;
+NEIGHBOUR_LIMIT = 10
+
+[core]
+PORT = 12092
+AUTOSTART = YES
+USE_EPHEMERAL_KEYS = NO
+
+[arm]
+DEFAULTSERVICES = transport core ats
+#PORT = 12366
+DEBUG = NO
+#PREFIX = strace -r -T -o /${WORK}/trace/${PEERID}.strace
+
+[transport-udp]
+TIMEOUT = 300 s
+PORT = 12368
+BROADCAST = NO
+
+[PATHS]
+SERVICEHOME = /tmp/test-testbed/
+
+[nat]
+BEHIND_NAT = NO
+RETURN_LOCAL_ADDRESSES = NO
+
+[peerinfo]
+AUTOSTART = NO
+NO_IO = YES
+
+[testing]
+USE_ABSTRACT_SOCKETS = YES