[tor-bugs] #27363 [Core Tor/sbws]: Make the sbws node cap a proportion of the capped bandwidth

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Aug 28 23:46:42 UTC 2018


#27363: Make the sbws node cap a proportion of the capped bandwidth
-------------------------------+----------------------
     Reporter:  teor           |      Owner:  (none)
         Type:  defect         |     Status:  new
     Priority:  Medium         |  Milestone:  sbws 1.1
    Component:  Core Tor/sbws  |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:  #27336
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+----------------------
 Here's a simple algorithm for capping relay bandwidths:
 1. Calculate the cap as X% of the total relay bandwidth before the cap
 2. If any relay is above the cap, set its bandwidth to the cap

 But this algorithm calculates the cap as a proportion of the *uncapped*
 bandwidth, not the *capped* bandwidth. So the capped relays are actually
 slightly greater than X% of the capped bandwidth.

 Maybe we will want to fix this issue eventually, but for the first
 release, the difference between X% and (X+1)% is not that important.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27363>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list