From 5d4f5ef07d8e28018e1520d0cc413a75092a9304 Mon Sep 17 00:00:00 2001 From: Mike Perry Date: Sun, 14 Feb 2010 18:16:06 -0800 Subject: Update specs for weight computation and use. --- doc/spec/path-spec.txt | 52 +++++++++++++++++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 17 deletions(-) (limited to 'doc/spec/path-spec.txt') diff --git a/doc/spec/path-spec.txt b/doc/spec/path-spec.txt index 78f3b63bcb..8a85718a08 100644 --- a/doc/spec/path-spec.txt +++ b/doc/spec/path-spec.txt @@ -192,23 +192,41 @@ of their choices. below) - XXXX Choosing the length - For circuits that do not need to be "fast", when choosing among - multiple candidates for a path element, we choose randomly. - - For "fast" circuits, we pick a given router as an exit with probability - proportional to its bandwidth. - - For non-exit positions on "fast" circuits, we pick routers as above, but - we weight the bandwidth of Exit-flagged nodes depending - on the fraction of bandwidth available from non-Exit nodes. Call the - total bandwidth for Exit nodes under consideration E, - and the total bandwidth for all nodes under - consideration T. If E