aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-07-28 22:14:39 +0000
committerNick Mathewson <nickm@torproject.org>2007-07-28 22:14:39 +0000
commit76a408941c98f7d7a1667ac93e9f42acf99a87f9 (patch)
tree38d062ca3a460f9993e4a883979865b966401494 /doc
parentafe9f33d35842f129d8fa363f109f643aeffef2f (diff)
downloadtor-76a408941c98f7d7a1667ac93e9f42acf99a87f9.tar
tor-76a408941c98f7d7a1667ac93e9f42acf99a87f9.tar.gz
r13959@catbus: nickm | 2007-07-28 18:09:56 -0400
Use the correct formula to calculate exit weights. svn:r10956
Diffstat (limited to 'doc')
-rw-r--r--doc/spec/path-spec.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/spec/path-spec.txt b/doc/spec/path-spec.txt
index 01a268723..05d9e8dcb 100644
--- a/doc/spec/path-spec.txt
+++ b/doc/spec/path-spec.txt
@@ -189,7 +189,11 @@ of their choices.
on the fraction of bandwidth available from non-Exit nodes. Call the
total clipped advertised bandwidth for Exit nodes under consideration E,
and the total clipped advertised bandwidth for non-Exit nodes under
- consideration N. If E<N/2, we do not consider Exit-flagged nodes.
+ and the total clipped advertised bandwidth for all nodes under
+ consideration T. If E<T/3, we do not consider Exit-flagged nodes.
+ Otherwise, we weight their bandwidth with the factor 1-T/(3E). This
+ ensures that bandwidth is evenly distributed over nodes in 3-hop paths.
+
Otherwise, we weight their bandwidth with the factor (E-N/2)/(N+E-N/2) ==
(2E - N)/(2E + N). This ensures that bandwidth is evenly distributed over
nodes in 3-hop paths.