Opened 7 weeks ago

Last modified 5 weeks ago

#27363 new defect

Make the sbws node cap a proportion of the capped bandwidth

Reported by: teor Owned by:
Priority: Medium Milestone: sbws 1.1
Component: Core Tor/sbws Version:
Severity: Normal Keywords:
Cc: pastly, juga, teor Actual Points:
Parent ID: #27107 Points:
Reviewer: Sponsor:

Description

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.

Child Tickets

Change History (2)

comment:1 Changed 5 weeks ago by juga

Parent ID: #27336

Remove parent #27336, since the parent is implemented for the MVP, and this does not need to be implemented for the MVP

comment:2 Changed 5 weeks ago by juga

Parent ID: #27107

Assign parent #27107

Note: See TracTickets for help on using tickets.