[tor-bugs] #13988 [Tor]: Report bandwidth usage aggregated over a longer period

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 23 09:09:17 UTC 2014


#13988: Report bandwidth usage aggregated over a longer period
------------------------+------------------------------------------
     Reporter:  nickm   |      Owner:
         Type:  defect  |     Status:  needs_review
     Priority:  normal  |  Milestone:  Tor: 0.2.6.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-relay stats 025-backport
Actual Points:          |  Parent ID:
       Points:          |
------------------------+------------------------------------------

Comment (by karsten):

 Replying to [comment:10 arma]:
 > What does this do to reporting of bandwidth stats in extrainfo
 descriptors? In particular, a) do we lose any time periods since the
 descriptors are published only every 18 hours? Seems like currently we
 hear recent bandwidth stats but with this change we'll not hear as
 consistently about the most recent couple of hours.

 No.  Total reported stats will still cover 24 hours.  We shouldn't lose
 any data if descriptors are published at least every 18 to 24 hours.  Only
 if descriptors were published less often than every 24 hours, we'd lose
 data.

 > And b) For relays that restart often, are we going to fail to report
 more of their stats?

 Yes.  Relays will not report incomplete intervals, but they'll at least
 start the new interval right after restarting.  On average we'll lose
 something around half the interval time per restart, so 2 hours instead of
 7.5 minutes right now.  Should be okay.

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


More information about the tor-bugs mailing list