[tor-bugs] #2550 [Torflow]: bwauth should reschedule quicker bandwidth test when bandwidthrate changes?

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Mar 13 17:47:27 UTC 2011


#2550: bwauth should reschedule quicker bandwidth test when bandwidthrate changes?
-------------------------+--------------------------------------------------
 Reporter:  arma         |          Owner:  mikeperry
     Type:  enhancement  |         Status:  new      
 Priority:  normal       |      Milestone:           
Component:  Torflow      |        Version:           
 Keywords:               |         Parent:           
   Points:  ?            |   Actualpoints:           
-------------------------+--------------------------------------------------

Comment(by arma):

 A single descriptor won't tell us, correct. But two descriptors will. If
 we remember the bandwidthrate for each relay we've measured, then when we
 see a descriptor with a different rate, we can know to handle it
 specially.

 Option 1 would be to discard our measurements if the rate changes. But
 that approach would exacerbate #2286.

 Option 2 would be to scale our measurement by the ratio of the bandwidths.
 But maybe not raise it past a certain ratio.

 Option 3 would be to remember n measurements for n bandwidthrates. Might
 not be worth the extra coding hassle.

 You say "We can only measure him about once every day at best, but
 probably more like every two or three". Can't we just schedule a couple of
 quick tests right then when we see the bandwidthrate has changed? (The
 results of these tests could go along with options 1, 2, or 3 above.)

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


More information about the tor-bugs mailing list