[tor-bugs] #34024 [Metrics/Onionperf]: Reduce timeout and stallout values

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 27 14:27:41 UTC 2020


#34024: Reduce timeout and stallout values
-----------------------------------+--------------------------
     Reporter:  karsten            |      Owner:  metrics-team
         Type:  enhancement        |     Status:  new
     Priority:  Medium             |  Milestone:
    Component:  Metrics/Onionperf  |    Version:
     Severity:  Normal             |   Keywords:
Actual Points:                     |  Parent ID:
       Points:                     |   Reviewer:
      Sponsor:                     |
-----------------------------------+--------------------------
 On #33974 we discussed a suggestion to reduce timeouts for our three
 downloads as follows:

  - 50 KiB download with 15 seconds timeout rather than 295 seconds,
  - 1 MiB download with 60 seconds timeout rather than 1795 seconds, and
  - 5 MiB download with 120 seconds timeout rather than 3595 seconds.

 Similarly, stallouts would be dropped entirely:

  - 50 KiB download with 0 seconds stallout rather than 300 seconds,
  - 1 MiB download with 0 seconds stallout rather than 1800 seconds, and
  - 5 MiB download with 0 seconds stallout rather than 3600 seconds.

 After discussing this with irl we concluded that we might want to pick
 values somewhere in the middle. The smaller values above are being used by
 TGen for generating load for Shadow simulations, in that case it makes
 sense to use timeouts similar to how users would behave. But in the
 measurements we're doing with OnionPerf we can easily record more data
 even after a human user would have given up and later filter out
 measurements taking longer than whatever timeouts we want to use.

 In particular, it would be important for us to use timeouts that are
 higher than timeouts used internally by the Tor client, so that we can
 observe what happens in those cases. Even if a human user would long have
 given up.

 How about we use timeouts and stallouts close to 5 minutes, so that we
 avoid overlapping measurements? Like 270 seconds for all three download
 sizes? What would we use as stallout value here? 0?

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


More information about the tor-bugs mailing list