<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"><div><br></div></div><div dir="ltr">On 9 Jun 2019, at 09:30, Mike Perry <<a href="mailto:mikeperry@torproject.org">mikeperry@torproject.org</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div preoffsettop="2457"><blockquote type="cite" preoffsettop="2457"><span>==== Network capacity</span><br></blockquote><blockquote type="cite" preoffsettop="2483"><span>     (or, how many more clients can this network fit?)</span><br></blockquote><blockquote type="cite" preoffsettop="2509"><span></span><br></blockquote><blockquote type="cite" preoffsettop="2535"><span>     Metrics: Per-Flag Spare Network Capacity, Per-Relay Spare Network Capacity</span><br></blockquote></div><span></span><br><span>Yep.</span><br><span></span><br><span>Aside: A related "capacity balance" (or "throughput variance") metric is</span><br><span>"Per-relay spare stream capacity". "Per-relay spare stream capacity" is</span><br><span>what Torflow and sbws bandwidth authorities use as their load balancing</span><br><span>target. We can derive the bwauth measurements of this value from the</span><br><span>consensus, by dividing a relay's consensus "measured" value by its</span><br><span>descriptor "observed bandwdith" value. We can also take it directly from</span><br><span>sbws or torflow bandwidth files. A plot of these values will show us how</span><br><span>individual relays vary in their ability to carry an additional stream.</span></div></blockquote><br><div>How does torflow's scaling affect this calculation?</div><div>(sbws implements the same scaling algorithm as torflow.)</div><div><br></div><div>If we need the raw bandwidth values, sbws lists them as bw_mean and</div><div>bw_median:</div><div><a href="https://gitweb.torproject.org/torspec.git/tree/bandwidth-file-spec.txt#n757">https://gitweb.torproject.org/torspec.git/tree/bandwidth-file-spec.txt#n757</a></div><div><br></div><div>I'm not sure if torflow's pid_bw is useful:</div><div><a href="https://gitweb.torproject.org/torflow.git/tree/NetworkScanners/BwAuthority/README.spec.txt#n447">https://gitweb.torproject.org/torflow.git/tree/NetworkScanners/BwAuthority/README.spec.txt#n447</a></div><div><br></div><div>T</div></body></html>