aboutsummaryrefslogtreecommitdiff
path: root/proposals/141-jit-sd-downloads.txt
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2008-08-14 12:37:59 +0000
committerPeter Palfrader <peter@palfrader.org>2008-08-14 12:37:59 +0000
commite4f426a306a7f07b645845e86aa83ef378f1cb3f (patch)
treed91e5ce16ac31fc47a45d6c91315349815ec0809 /proposals/141-jit-sd-downloads.txt
parent720aa488e6c32bf699449c92cf82105fb663c352 (diff)
downloadtorspec-e4f426a306a7f07b645845e86aa83ef378f1cb3f.tar.gz
torspec-e4f426a306a7f07b645845e86aa83ef378f1cb3f.zip
Give bw in kb/sec in votes/consensus
svn:r16544
Diffstat (limited to 'proposals/141-jit-sd-downloads.txt')
-rw-r--r--proposals/141-jit-sd-downloads.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/proposals/141-jit-sd-downloads.txt b/proposals/141-jit-sd-downloads.txt
index f03c673..07dea64 100644
--- a/proposals/141-jit-sd-downloads.txt
+++ b/proposals/141-jit-sd-downloads.txt
@@ -119,15 +119,18 @@ Status: Draft
to the "r", "s", and "v" lines that already exist. This line
will convey weight information to clients.
- "w Bandwidth=193671"
+ "w Bandwidth=193"
The bandwidth number is the lesser of observed bandwidth and bandwidth
rate limit from the server descriptor that the "r" line referenced by
digest (1st and 3rd field of the bandwidth line in the descriptor).
+ It is given in kilobytes per second so the byte value in the
+ descriptor has to be divided by 1024 (and is then truncated, i.e.
+ rounded down).
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.
+ authority's vote will still only show Bandwidth=10240.
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