From: Christian Grothoff Date: Mon, 26 Oct 2015 18:11:05 +0000 (+0000) Subject: -document quota, use higher quota for test X-Git-Tag: initial-import-from-subversion-38251~1196 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2af25b50fc8d589e2cb1b40bfc11cf1a7e70678d;p=oweals%2Fgnunet.git -document quota, use higher quota for test --- diff --git a/src/transport/test_transport_api_reliability_udp_peer1.conf b/src/transport/test_transport_api_reliability_udp_peer1.conf index d16be3b20..34e4d7eea 100644 --- a/src/transport/test_transport_api_reliability_udp_peer1.conf +++ b/src/transport/test_transport_api_reliability_udp_peer1.conf @@ -4,7 +4,8 @@ GNUNET_TEST_HOME = /tmp/test-transport/api-udp-p1/ [transport-udp] PORT = 12040 -MAX_BPS = 5000000 +# Override 1MB/s default limit. +MAX_BPS = 500000000 [arm] PORT = 12045 @@ -26,5 +27,3 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerinfo.sock PORT = 12041 PLUGINS = udp UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock - - diff --git a/src/transport/test_transport_api_reliability_udp_peer2.conf b/src/transport/test_transport_api_reliability_udp_peer2.conf index a7e6a57fb..23eae7862 100644 --- a/src/transport/test_transport_api_reliability_udp_peer2.conf +++ b/src/transport/test_transport_api_reliability_udp_peer2.conf @@ -4,7 +4,8 @@ GNUNET_TEST_HOME = /tmp/test-transport/api-udp-p2/ [transport-udp] PORT = 12050 -MAX_BPS = 5000000 +# Override 1MB/s default limit. +MAX_BPS = 500000000 [arm] PORT = 12055 @@ -26,5 +27,3 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-peerinfo.sock PORT = 12051 PLUGINS = udp UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock - - diff --git a/src/transport/transport.conf.in b/src/transport/transport.conf.in index 82effb235..95e3f9944 100644 --- a/src/transport/transport.conf.in +++ b/src/transport/transport.conf.in @@ -61,6 +61,11 @@ PORT = 2086 BROADCAST = YES BROADCAST_RECEIVE = YES BROADCAST_INTERVAL = 30 s + +# This limits UDP to 1MB/s for SENDING. Higher values are advised +# for benchmarking or well-connected systems. Note that this quota +# applies IN ADDITION to the system-wide transport-wide WAN/LAN +# quotas. MAX_BPS = 1000000 TESTING_IGNORE_KEYS = ACCEPT_FROM;