diff options
author | Julius Bünger <buenger@mytum.de> | 2018-11-28 11:19:45 +0100 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2018-11-28 11:19:45 +0100 |
commit | fa70626ca03dde3b4554dd71935f5f9a58b90302 (patch) | |
tree | ef401057e16c4f6bb32b341fd224fcd4834e544b /src/rps | |
parent | 79c72a89102dac1c91f209234e87b8fe8968b74a (diff) | |
download | gnunet-fa70626ca03dde3b4554dd71935f5f9a58b90302.tar.gz gnunet-fa70626ca03dde3b4554dd71935f5f9a58b90302.zip |
RPS test/profiler: Separate configs
Diffstat (limited to 'src/rps')
-rw-r--r-- | src/rps/profiler_rps.conf | 133 | ||||
-rw-r--r-- | src/rps/test_rps.conf | 2 |
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 | ||
5 | UNIXPATH = $GNUNET_TMP/gnunet-service-rps.sock | ||
6 | HOME = $SERVICEHOME | ||
7 | # PORT = 2106 | ||
8 | #@UNIXONLY@ PORT = 2087 | ||
9 | IMMEDIATE_START = YES | ||
10 | START_ON_DEMAND = NO | ||
11 | NOARMBIND = YES | ||
12 | #OPTIONS=-l /tmp/rps_profiler_logs/rps-[]-%Y-%m-%d.log | ||
13 | |||
14 | # This is the timeinterval between the rounds | ||
15 | ROUNDINTERVAL = 2 s | ||
16 | FILENAME_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 | ||
23 | MINSIZE = 4 | ||
24 | |||
25 | |||
26 | |||
27 | [testbed] | ||
28 | HOSTNAME = 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 | |||
38 | OVERLAY_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 | ||
41 | OVERLAY_RANDOM_LINKS = 4064 | ||
42 | |||
43 | #OVERLAY_TOPOLOGY = SMALL_WORLD | ||
44 | #OVERLAY_RANDOM_LINKS = 25 | ||
45 | |||
46 | SETUP_TIMEOUT = 1 h | ||
47 | |||
48 | [nse] | ||
49 | WORKBITS = 0 | ||
50 | |||
51 | [nat] | ||
52 | # Use addresses from the local network interfaces (inluding loopback, but also others) | ||
53 | USE_LOCALADDR = YES | ||
54 | ENABLE_UPNP = NO | ||
55 | |||
56 | # Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8) | ||
57 | RETURN_LOCAL_ADDRESSES = YES | ||
58 | |||
59 | [transport] | ||
60 | PLUGINS = unix | ||
61 | |||
62 | [ats] | ||
63 | # Network specific inbound/outbound quotas | ||
64 | UNSPECIFIED_QUOTA_IN = unlimited | ||
65 | UNSPECIFIED_QUOTA_OUT = unlimited | ||
66 | # LOOPBACK | ||
67 | LOOPBACK_QUOTA_IN = unlimited | ||
68 | LOOPBACK_QUOTA_OUT = unlimited | ||
69 | # LAN | ||
70 | LAN_QUOTA_IN = unlimited | ||
71 | LAN_QUOTA_OUT = unlimited | ||
72 | #WAN | ||
73 | WAN_QUOTA_OUT = unlimited | ||
74 | WAN_QUOTA_IN = unlimited | ||
75 | # WLAN | ||
76 | WLAN_QUOTA_IN = unlimited | ||
77 | WLAN_QUOTA_OUT = unlimited | ||
78 | # BLUETOOTH | ||
79 | BLUETOOTH_QUOTA_IN = unlimited | ||
80 | BLUETOOTH_QUOTA_OUT = unlimited | ||
81 | |||
82 | [dht] | ||
83 | DISABLE_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] | ||
97 | NO_IO = YES | ||
98 | |||
99 | [hostlist] | ||
100 | IMMEDIATE_START = NO | ||
101 | START_ON_DEMAND = NO | ||
102 | |||
103 | [zonemaster] | ||
104 | IMMEDIATE_START = NO | ||
105 | START_ON_DEMAND = NO | ||
106 | |||
107 | [namecache] | ||
108 | IMMEDIATE_START = NO | ||
109 | START_ON_DEMAND = NO | ||
110 | |||
111 | [namestore] | ||
112 | IMMEDIATE_START = NO | ||
113 | START_ON_DEMAND = NO | ||
114 | |||
115 | [topology] | ||
116 | IMMEDIATE_START = NO | ||
117 | START_ON_DEMAND = NO | ||
118 | |||
119 | [vpn] | ||
120 | IMMEDIATE_START = NO | ||
121 | START_ON_DEMAND = NO | ||
122 | |||
123 | [revocation] | ||
124 | IMMEDIATE_START = NO | ||
125 | START_ON_DEMAND = NO | ||
126 | |||
127 | [gns] | ||
128 | IMMEDIATE_START = NO | ||
129 | START_ON_DEMAND = NO | ||
130 | |||
131 | [fs] | ||
132 | IMMEDIATE_START = NO | ||
133 | START_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 |
15 | ROUNDINTERVAL = 1 s | 15 | ROUNDINTERVAL = 100 ms |
16 | FILENAME_VALID_PEERS = $GNUNET_DATA_HOME/rps/valid_peers.txt | 16 | FILENAME_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. |