Opened 3 months ago

Last modified 11 days ago

#27363 new defect

Make the sbws node cap a proportion of the capped bandwidth

Reported by: teor Owned by:
Priority: Medium Milestone: sbws: unspecified
Component: Core Tor/sbws Version:
Severity: Normal Keywords:
Cc: pastly, juga, teor Actual Points:
Parent ID: 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 (7)

comment:1 Changed 3 months 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 3 months ago by juga

Parent ID: #27107

Assign parent #27107

comment:3 Changed 3 weeks ago by teor

Parent ID: #27107

This ticket is not required for the transition.

comment:4 Changed 13 days ago by teor

Milestone: sbws 1.1sbws 1.2

Milestone renamed

comment:5 Changed 13 days ago by teor

Milestone: sbws 1.2sbws: 1.2.x

Milestone renamed

comment:6 Changed 13 days ago by teor

Milestone: sbws: 1.2.xsbws: 1.2.x-final

Milestone renamed

comment:7 Changed 11 days ago by teor

Milestone: sbws: 1.2.x-finalsbws: unspecified

Milestone renamed

Note: See TracTickets for help on using tickets.