aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2018-11-28 11:19:45 +0100
committerJulius Bünger <buenger@mytum.de>2018-11-28 11:19:45 +0100
commitfa70626ca03dde3b4554dd71935f5f9a58b90302 (patch)
treeef401057e16c4f6bb32b341fd224fcd4834e544b /src
parent79c72a89102dac1c91f209234e87b8fe8968b74a (diff)
downloadgnunet-fa70626ca03dde3b4554dd71935f5f9a58b90302.tar.gz
gnunet-fa70626ca03dde3b4554dd71935f5f9a58b90302.zip
RPS test/profiler: Separate configs
Diffstat (limited to 'src')
-rw-r--r--src/rps/profiler_rps.conf133
-rw-r--r--src/rps/test_rps.conf2
2 files changed, 134 insertions, 1 deletions
diff --git a/src/rps/profiler_rps.conf b/src/rps/profiler_rps.conf
new file mode 100644
index 000000000..c624556d3
--- /dev/null
+++ b/src/rps/profiler_rps.conf
@@ -0,0 +1,133 @@
1[rps]
2#PREFIX = valgrind --leak-check=full --show-leak-kinds=all --log-file=/tmp/rps/valgrind!gnunet-service-rps!%p
3#PREFIX = valgrind --log-file=/tmp/rps/valgrind!gnunet-service-rps!%p
4#PREFIX = valgrind
5UNIXPATH = $GNUNET_TMP/gnunet-service-rps.sock
6HOME = $SERVICEHOME
7# PORT = 2106
8#@UNIXONLY@ PORT = 2087
9IMMEDIATE_START = YES
10START_ON_DEMAND = NO
11NOARMBIND = YES
12#OPTIONS=-l /tmp/rps_profiler_logs/rps-[]-%Y-%m-%d.log
13
14# This is the timeinterval between the rounds
15ROUNDINTERVAL = 2 s
16FILENAME_VALID_PEERS = $GNUNET_DATA_HOME/rps/valid_peers.txt
17
18# This is the 'estimate' in the beginning.
19# This determines the size of the peers we keep in memory
20# until we receive the first estimate from NSE.
21# Keep in mind, that (networksize)^(1/3) should be enough.
22# So, 50 is enough for a network of size 50^3 = 125000
23MINSIZE = 4
24
25
26
27[testbed]
28HOSTNAME = localhost
29
30# MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 100
31
32#OVERLAY_TOPOLOGY = CLIQUE
33
34#OVERLAY_TOPOLOGY = SCALE_FREE
35#SCALE_FREE_TOPOLOGY_CAP = 100
36#SCALE_FREE_TOPOLOGY_M = 2
37
38OVERLAY_TOPOLOGY = RANDOM
39## We take half of the links a complete graph would have, so (n * n-1)/4
40## for n = 128, this would be
41OVERLAY_RANDOM_LINKS = 4064
42
43#OVERLAY_TOPOLOGY = SMALL_WORLD
44#OVERLAY_RANDOM_LINKS = 25
45
46SETUP_TIMEOUT = 1 h
47
48[nse]
49WORKBITS = 0
50
51[nat]
52# Use addresses from the local network interfaces (inluding loopback, but also others)
53USE_LOCALADDR = YES
54ENABLE_UPNP = NO
55
56# Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8)
57RETURN_LOCAL_ADDRESSES = YES
58
59[transport]
60PLUGINS = unix
61
62[ats]
63# Network specific inbound/outbound quotas
64UNSPECIFIED_QUOTA_IN = unlimited
65UNSPECIFIED_QUOTA_OUT = unlimited
66# LOOPBACK
67LOOPBACK_QUOTA_IN = unlimited
68LOOPBACK_QUOTA_OUT = unlimited
69# LAN
70LAN_QUOTA_IN = unlimited
71LAN_QUOTA_OUT = unlimited
72#WAN
73WAN_QUOTA_OUT = unlimited
74WAN_QUOTA_IN = unlimited
75# WLAN
76WLAN_QUOTA_IN = unlimited
77WLAN_QUOTA_OUT = unlimited
78# BLUETOOTH
79BLUETOOTH_QUOTA_IN = unlimited
80BLUETOOTH_QUOTA_OUT = unlimited
81
82[dht]
83DISABLE_TRY_CONNECT = YES
84
85[cadet]
86#OPTIONS=-l /tmp/rps_profiler_logs/cadet-[]-%Y-%m-%d.log
87#PREFIX = valgrind
88
89#[arm]
90#GLOBAL_POSTFIX=-l /tmp/rps_profiler_logs/other-[]-%Y-%m-%d.log
91
92#[statistics]
93#IMMEDIATE_START = NO
94#START_ON_DEMAND = NO
95
96[peerinfo]
97NO_IO = YES
98
99[hostlist]
100IMMEDIATE_START = NO
101START_ON_DEMAND = NO
102
103[zonemaster]
104IMMEDIATE_START = NO
105START_ON_DEMAND = NO
106
107[namecache]
108IMMEDIATE_START = NO
109START_ON_DEMAND = NO
110
111[namestore]
112IMMEDIATE_START = NO
113START_ON_DEMAND = NO
114
115[topology]
116IMMEDIATE_START = NO
117START_ON_DEMAND = NO
118
119[vpn]
120IMMEDIATE_START = NO
121START_ON_DEMAND = NO
122
123[revocation]
124IMMEDIATE_START = NO
125START_ON_DEMAND = NO
126
127[gns]
128IMMEDIATE_START = NO
129START_ON_DEMAND = NO
130
131[fs]
132IMMEDIATE_START = NO
133START_ON_DEMAND = NO
diff --git a/src/rps/test_rps.conf b/src/rps/test_rps.conf
index c7ac1f3b8..1555a71a5 100644
--- a/src/rps/test_rps.conf
+++ b/src/rps/test_rps.conf
@@ -12,7 +12,7 @@ NOARMBIND = YES
12#OPTIONS=-l /tmp/rps_profiler_logs/rps-[]-%Y-%m-%d.log 12#OPTIONS=-l /tmp/rps_profiler_logs/rps-[]-%Y-%m-%d.log
13 13
14# This is the timeinterval between the rounds 14# This is the timeinterval between the rounds
15ROUNDINTERVAL = 1 s 15ROUNDINTERVAL = 100 ms
16FILENAME_VALID_PEERS = $GNUNET_DATA_HOME/rps/valid_peers.txt 16FILENAME_VALID_PEERS = $GNUNET_DATA_HOME/rps/valid_peers.txt
17 17
18# This is the 'estimate' in the beginning. 18# This is the 'estimate' in the beginning.