[tor-bugs] #16723 [Tor]: randomize HH:MM in AccountingStart for a more even distribution of hibernating relay resources

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Aug 4 17:22:36 UTC 2015


#16723: randomize HH:MM in AccountingStart for a more even distribution of
hibernating relay resources
-----------------------------+-------------------------------
     Reporter:  cypherpunks  |      Owner:
         Type:  enhancement  |     Status:  needs_information
     Priority:  normal       |  Milestone:
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+-------------------------------
Changes (by nickm):

 * status:  new => needs_information


Comment:

 AccountingStart is the time at which the period starts, not the time at
 which relays wake up.  The wakeup time is determined by estimating our
 bandwidth, and trying to pick a random start point that will still allow
 us to consume all our accountingbytes.

 Is there a place where the documentation explains this badly?

 The calculation is done in accounting_set_wakeup_time().  For more
 information, see the big comment in hibernate.c , near the start.

 Is the calculation not working correctly for these relays?

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


More information about the tor-bugs mailing list