[tor-bugs] #23354 [Core Tor/Tor]: Remove deterministic download schedule code and configs (was: Remove redundant items from download schedules)

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 12 00:24:50 UTC 2017


#23354: Remove deterministic download schedule code and configs
---------------------------+------------------------------------
 Reporter:  teor           |          Owner:  (none)
     Type:  defect         |         Status:  new
 Priority:  Medium         |      Milestone:  Tor: 0.3.2.x-final
Component:  Core Tor/Tor   |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:  tor-bootstrap  |  Actual Points:
Parent ID:                 |         Points:  0.1
 Reviewer:                 |        Sponsor:
---------------------------+------------------------------------
Description changed by teor:

Old description:

> Under exponential backoff, download schedules contain the maximum time we
> will wait, even if the random amount is larger.
>
> But in most cases, the random amount is much smaller than the maximum, so
> we could replace the item with the actual maximum, or delete it from the
> schedule altogether. (On the public network, the maximum is 4x the last
> entry, on test networks, it's 3x.)
>
> We should make these changes based on the schedules in #23347.

New description:

 Under exponential backoff, download schedules contain the ~~maximum time
 we will wait, even if the random amount is larger.~~ initial time we will
 wait, and everything else is random exponential from that point onwards.

 ~~But in most cases, the random amount is much smaller than the maximum,
 so we could replace the item with the actual maximum, or delete it from
 the schedule altogether. (On the public network, the maximum is 4x the
 last entry, on test networks, it's 3x.)~~

 So once we're sure that we will never revert to deterministic schedules,
 we should make each schedule into a single initial value, and remove the
 deterministic code.

 We should make these changes based on the schedules in #23347.

--

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


More information about the tor-bugs mailing list