From fa70626ca03dde3b4554dd71935f5f9a58b90302 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julius=20B=C3=BCnger?= Date: Wed, 28 Nov 2018 11:19:45 +0100 Subject: [PATCH] RPS test/profiler: Separate configs --- src/rps/profiler_rps.conf | 133 ++++++++++++++++++++++++++++++++++++++ src/rps/test_rps.conf | 2 +- 2 files changed, 134 insertions(+), 1 deletion(-) create mode 100644 src/rps/profiler_rps.conf 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 @@ +[rps] +#PREFIX = valgrind --leak-check=full --show-leak-kinds=all --log-file=/tmp/rps/valgrind!gnunet-service-rps!%p +#PREFIX = valgrind --log-file=/tmp/rps/valgrind!gnunet-service-rps!%p +#PREFIX = valgrind +UNIXPATH = $GNUNET_TMP/gnunet-service-rps.sock +HOME = $SERVICEHOME +# PORT = 2106 +#@UNIXONLY@ PORT = 2087 +IMMEDIATE_START = YES +START_ON_DEMAND = NO +NOARMBIND = YES +#OPTIONS=-l /tmp/rps_profiler_logs/rps-[]-%Y-%m-%d.log + +# This is the timeinterval between the rounds +ROUNDINTERVAL = 2 s +FILENAME_VALID_PEERS = $GNUNET_DATA_HOME/rps/valid_peers.txt + +# This is the 'estimate' in the beginning. +# This determines the size of the peers we keep in memory +# until we receive the first estimate from NSE. +# Keep in mind, that (networksize)^(1/3) should be enough. +# So, 50 is enough for a network of size 50^3 = 125000 +MINSIZE = 4 + + + +[testbed] +HOSTNAME = localhost + +# MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 100 + +#OVERLAY_TOPOLOGY = CLIQUE + +#OVERLAY_TOPOLOGY = SCALE_FREE +#SCALE_FREE_TOPOLOGY_CAP = 100 +#SCALE_FREE_TOPOLOGY_M = 2 + +OVERLAY_TOPOLOGY = RANDOM +## We take half of the links a complete graph would have, so (n * n-1)/4 +## for n = 128, this would be +OVERLAY_RANDOM_LINKS = 4064 + +#OVERLAY_TOPOLOGY = SMALL_WORLD +#OVERLAY_RANDOM_LINKS = 25 + +SETUP_TIMEOUT = 1 h + +[nse] +WORKBITS = 0 + +[nat] +# Use addresses from the local network interfaces (inluding loopback, but also others) +USE_LOCALADDR = YES +ENABLE_UPNP = NO + +# Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8) +RETURN_LOCAL_ADDRESSES = YES + +[transport] +PLUGINS = unix + +[ats] +# Network specific inbound/outbound quotas +UNSPECIFIED_QUOTA_IN = unlimited +UNSPECIFIED_QUOTA_OUT = unlimited +# LOOPBACK +LOOPBACK_QUOTA_IN = unlimited +LOOPBACK_QUOTA_OUT = unlimited +# LAN +LAN_QUOTA_IN = unlimited +LAN_QUOTA_OUT = unlimited +#WAN +WAN_QUOTA_OUT = unlimited +WAN_QUOTA_IN = unlimited +# WLAN +WLAN_QUOTA_IN = unlimited +WLAN_QUOTA_OUT = unlimited +# BLUETOOTH +BLUETOOTH_QUOTA_IN = unlimited +BLUETOOTH_QUOTA_OUT = unlimited + +[dht] +DISABLE_TRY_CONNECT = YES + +[cadet] +#OPTIONS=-l /tmp/rps_profiler_logs/cadet-[]-%Y-%m-%d.log +#PREFIX = valgrind + +#[arm] +#GLOBAL_POSTFIX=-l /tmp/rps_profiler_logs/other-[]-%Y-%m-%d.log + +#[statistics] +#IMMEDIATE_START = NO +#START_ON_DEMAND = NO + +[peerinfo] +NO_IO = YES + +[hostlist] +IMMEDIATE_START = NO +START_ON_DEMAND = NO + +[zonemaster] +IMMEDIATE_START = NO +START_ON_DEMAND = NO + +[namecache] +IMMEDIATE_START = NO +START_ON_DEMAND = NO + +[namestore] +IMMEDIATE_START = NO +START_ON_DEMAND = NO + +[topology] +IMMEDIATE_START = NO +START_ON_DEMAND = NO + +[vpn] +IMMEDIATE_START = NO +START_ON_DEMAND = NO + +[revocation] +IMMEDIATE_START = NO +START_ON_DEMAND = NO + +[gns] +IMMEDIATE_START = NO +START_ON_DEMAND = NO + +[fs] +IMMEDIATE_START = NO +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 #OPTIONS=-l /tmp/rps_profiler_logs/rps-[]-%Y-%m-%d.log # This is the timeinterval between the rounds -ROUNDINTERVAL = 1 s +ROUNDINTERVAL = 100 ms FILENAME_VALID_PEERS = $GNUNET_DATA_HOME/rps/valid_peers.txt # This is the 'estimate' in the beginning. -- 2.25.1