aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2011-11-16 22:08:01 -0500
committerRoger Dingledine <arma@torproject.org>2011-11-21 18:44:59 -0500
commitfce107b11e2bd38d060224a7918d40edd4727da0 (patch)
tree1856488b030813677a91e1aa0f5883ae1e103f76
parent58764d8ec6799fc5ea91bcbb1655071f869bb753 (diff)
downloadtor-fce107b11e2bd38d060224a7918d40edd4727da0.tar.gz
tor-fce107b11e2bd38d060224a7918d40edd4727da0.zip
raise AuthDirFastGuarantee from 20KB to 100KB
This patch reverts part of 39ceda7e05d7 (where it used to be 100KB).
-rw-r--r--changes/bug44898
-rw-r--r--src/or/config.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/changes/bug4489 b/changes/bug4489
new file mode 100644
index 0000000000..0f976c8387
--- /dev/null
+++ b/changes/bug4489
@@ -0,0 +1,8 @@
+ o Major bugfixes (performance):
+ - Remove the artificially low cutoff of 20KB to guarantee the Fast
+ flag. In the past few years the average relay speed has picked
+ up, and while the "top 7/8 of the network get the Fast flag" and
+ "all relays with 20KB or more of capacity get the Fast flag" rules
+ used to have the same result, now the top 7/8 of the network has
+ a capacity more like 32KB. Bugfix on 0.2.1.14-rc. Fixes bug 4489.
+
diff --git a/src/or/config.c b/src/or/config.c
index 7cbadc25c3..06d7d5c022 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -184,7 +184,7 @@ static config_var_t _option_vars[] = {
V(AuthDirBadDir, LINELIST, NULL),
V(AuthDirBadExit, LINELIST, NULL),
V(AuthDirInvalid, LINELIST, NULL),
- V(AuthDirFastGuarantee, MEMUNIT, "20 KB"),
+ V(AuthDirFastGuarantee, MEMUNIT, "100 KB"),
V(AuthDirGuardBWGuarantee, MEMUNIT, "250 KB"),
V(AuthDirReject, LINELIST, NULL),
V(AuthDirRejectUnlisted, BOOL, "0"),