[metrics-bugs] #34024 [Metrics/Onionperf]: Reduce timeout and stallout values
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Apr 27 15:57:51 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 | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------+------------------------------
Comment (by robgjansen):
In TGen, timeouts are absolute times; the timer starts when the download
starts, and it counts as an error if it is not completed by the configured
number of seconds. Stallouts are configured as inter-byte-receive time,
and only result in a stallout error if the last byte you received was >=
the configured stallout time. (So if you set a stallout of 10 seconds, and
you get at least 1 byte every second, the stallout error will not get
triggered.)
It seems like you always want to give each download attempt the same
amount of absolute time (i.e., timeout), and so I think you should disable
the stallout by setting it to 0 (otherwise an internal default of 30
seconds is used).
https://github.com/shadow/tgen/blob/master/doc/TGen-Options.md#stream-
options
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/34024#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the metrics-bugs
mailing list