aboutsummaryrefslogtreecommitdiff
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
parentbe98885538291da444b6558f9168e59ac5183440 (diff)
downloadgnunet-2af25b50fc8d589e2cb1b40bfc11cf1a7e70678d.tar.gz
gnunet-2af25b50fc8d589e2cb1b40bfc11cf1a7e70678d.zip
-document quota, use higher quota for test
-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/
4 4
5[transport-udp] 5[transport-udp]
6PORT = 12040 6PORT = 12040
7MAX_BPS = 5000000 7# Override 1MB/s default limit.
8MAX_BPS = 500000000
8 9
9[arm] 10[arm]
10PORT = 12045 11PORT = 12045
@@ -26,5 +27,3 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerinfo.sock
26PORT = 12041 27PORT = 12041
27PLUGINS = udp 28PLUGINS = udp
28UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock 29UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock
29
30
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/
4 4
5[transport-udp] 5[transport-udp]
6PORT = 12050 6PORT = 12050
7MAX_BPS = 5000000 7# Override 1MB/s default limit.
8MAX_BPS = 500000000
8 9
9[arm] 10[arm]
10PORT = 12055 11PORT = 12055
@@ -26,5 +27,3 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-peerinfo.sock
26PORT = 12051 27PORT = 12051
27PLUGINS = udp 28PLUGINS = udp
28UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock 29UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock
29
30
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
61BROADCAST = YES 61BROADCAST = YES
62BROADCAST_RECEIVE = YES 62BROADCAST_RECEIVE = YES
63BROADCAST_INTERVAL = 30 s 63BROADCAST_INTERVAL = 30 s
64
65# This limits UDP to 1MB/s for SENDING. Higher values are advised
66# for benchmarking or well-connected systems. Note that this quota
67# applies IN ADDITION to the system-wide transport-wide WAN/LAN
68# quotas.
64MAX_BPS = 1000000 69MAX_BPS = 1000000
65TESTING_IGNORE_KEYS = ACCEPT_FROM; 70TESTING_IGNORE_KEYS = ACCEPT_FROM;
66 71