[or-cvs] r16512: {tor} Use median for bw after all, capping is done at the authorit (tor/trunk/doc/spec/proposals)

weasel at seul.org weasel at seul.org
Tue Aug 12 19:20:05 UTC 2008


Author: weasel
Date: 2008-08-12 15:20:05 -0400 (Tue, 12 Aug 2008)
New Revision: 16512

Modified:
   tor/trunk/doc/spec/proposals/141-jit-sd-downloads.txt
Log:
Use median for bw after all, capping is done at the authorities, not client-side

Modified: tor/trunk/doc/spec/proposals/141-jit-sd-downloads.txt
===================================================================
--- tor/trunk/doc/spec/proposals/141-jit-sd-downloads.txt	2008-08-12 18:23:38 UTC (rev 16511)
+++ tor/trunk/doc/spec/proposals/141-jit-sd-downloads.txt	2008-08-12 19:20:05 UTC (rev 16512)
@@ -125,14 +125,18 @@
   rate limit from the server descriptor that the "r" line referenced by
   digest (1st and 3rd field of the bandwidth line in the descriptor).
 
-  The bandwidth item is added as another item in the router tuple
-  described in dir-spec section 3.4:
-   | * Two router entries are "the same" if they have the same
-   | <descriptor digest, published time, nickname, IP, ports> tuple.
-   | We choose the tuple for a given router as whichever tuple appears
-   | for that router in the most votes.  We break ties in favor of
-   | the more recently published.
+  Authorities will cap the bandwidth number at some arbitrary value,
+  currently 10MB/sec.  If a router claims a larger bandwidth an
+  authority's vote will still only show Bandwidth=10000000.
 
+  The consensus value for bandwidth is the median of all bandwidth
+  numbers given in votes.  In case of an even number of votes we use
+  the lower median.  (Using this procedure allows us to change the
+  cap value more easily.)
+
+  Clients should believe the bandwidth as presented in the consensus,
+  not capping it again.
+
 3.2 Fetching descriptors on demand
 
   As described in 2.4 a descriptor lists IP address, OR- and Dir-Port,



More information about the tor-commits mailing list