[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
Wed Aug 5 10:23:35 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:               |
-----------------------------+-------------------------------

Comment (by cypherpunks):

 A relay operator running 4 of these hibernating relays provided me with
 the output of
 {{{grep 'Configured hibernation.' /var/log/tor/log}}}

 All 4 relays say:
 {{{
 Aug 04 06:25:09.000 [notice] Configured hibernation.  This interval began
 at 2015-08-04 00:00:00; the scheduled wake-up time was 2015-08-04
 00:00:00; we expect to exhaust our quota for this interval around
 2015-08-05 00:00:00; the next interval begins at 2015-08-05 00:00:00 (all
 times local)
 }}}

 In reality it took them between 9 and 15 hours to exhaust the quota.


 So the approach to prevent them all from starting at the same time would
 be to randomize the interval start time? In that case we would distribute
 wakeups more evenly even if relays are bad at estimating their bandwidth
 usage.

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


More information about the tor-bugs mailing list