summaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-10-26 18:11:05 +0000
committerChristian Grothoff <christian@grothoff.org>2015-10-26 18:11:05 +0000
commit2af25b50fc8d589e2cb1b40bfc11cf1a7e70678d (patch)
tree3452cc6d4f2370bf2cb7b723c19a12168a0e78f8 /src/transport
parentbe98885538291da444b6558f9168e59ac5183440 (diff)
-document quota, use higher quota for test
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/test_transport_api_reliability_udp_peer1.conf5
-rw-r--r--src/transport/test_transport_api_reliability_udp_peer2.conf5
-rw-r--r--src/transport/transport.conf.in5
3 files changed, 9 insertions, 6 deletions
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;