[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 10:27:51 UTC 2015


#16723: randomize HH:MM in AccountingStart for a more even distribution of
hibernating relay resources
-------------------------+---------------------
 Reporter:  cypherpunks  |          Owner:
     Type:  enhancement  |         Status:  new
 Priority:  normal       |      Milestone:
Component:  Tor          |        Version:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
-------------------------+---------------------
 AccountingStart defaults to 0:00 local time. This results in may relays
 waking up from hibernation at the same second.

 What about randomizing the default value on first start with an
 AccountingMax config?
 (write the randomized time to disk and read that file the next time tor
 starts)


 here some numbers (from relays probably using a daily quota):


 {{{
 timestamp (second granularity)     #relays
 ===========================================
 | 2015-08-03 04:00:00          |       25 |
 | 2015-08-03 00:00:00          |       26 |
 | 2015-08-02 22:00:00          |       30 |
 }}}

 (first column shows the timestamp when relays awake, second column shows
 how many)

 from the tor manual:
 {{{
 AccountingStart day|week|month [day] HH:MM

 All times are local, and given in 24-hour time. (Default: "month 1 0:00")
 }}}

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


More information about the tor-bugs mailing list