projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be98885
)
-document quota, use higher quota for test
author
Christian Grothoff
<christian@grothoff.org>
Mon, 26 Oct 2015 18:11:05 +0000
(18:11 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 26 Oct 2015 18:11:05 +0000
(18:11 +0000)
src/transport/test_transport_api_reliability_udp_peer1.conf
patch
|
blob
|
history
src/transport/test_transport_api_reliability_udp_peer2.conf
patch
|
blob
|
history
src/transport/transport.conf.in
patch
|
blob
|
history
diff --git
a/src/transport/test_transport_api_reliability_udp_peer1.conf
b/src/transport/test_transport_api_reliability_udp_peer1.conf
index d16be3b20de40b15509bbefa25eb6e31c087d74a..34e4d7eea38457299b3f958a04a4f1844f18bd61 100644
(file)
--- 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 a7e6a57fb1b6f3d72e8d7d6e78966156393db069..23eae7862f1d3a48fd0bdbcb2d30e3f1a873edaa 100644
(file)
--- 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 82effb235f6bbd8446b4e9008af5e93060523aa0..95e3f99446bebf025a84f7eed8e4927926e1f2d1 100644
(file)
--- 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;