[tor-bugs] #26673 [Metrics/Onionperf]: Record download times of smaller file sizes from partial completion times

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 29 18:08:11 UTC 2019


#26673: Record download times of smaller file sizes from partial completion times
-------------------------------------------------+-------------------------
 Reporter:  karsten                              |          Owner:
                                                 |  metrics-team
     Type:  enhancement                          |         Status:
                                                 |  assigned
 Priority:  Medium                               |      Milestone:
Component:  Metrics/Onionperf                    |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  user-experience,                     |  Actual Points:
  acute-2019-q1-planned                          |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor19
-------------------------------------------------+-------------------------

Comment (by acute):

 Some feedback required;
 I've made a pull request which adds support for recording partial
 completion timestamps, both in json and torperf produced analysis files.
 The data is recorded the same way as the percentile data, and only in case
 where there are no errors. An example of the resulting fields in the
 torperf file (in the case of a 5m download) are:
 PARTIAL1048576=1555678482.70 PARTIAL51200=1555678479.75
 PARTIAL5242880=1555678495.97

 For a 1m download, only values PARTIAL1048576 and PARTIAL51200 are
 recorded, and similarly, for a 50k download, only PARTIAL51200 will be
 recorded.
 We could only record PARTIAL values smaller than the total size of the
 download (we already record DATAPERC100, which is the same
 timestamp/value, equivalent to 100% download), however having the field
 might help process things in an automated fashion further down the
 pipeline - happy to make changes if this is not the case.

 Finally - the names of the fields may be changed to PARTIAL{50k,1m,5m}
 although I've noticed all the other fields in the tpf file use the value
 in bytes and not the human readable version. Suggestions welcome.

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


More information about the tor-bugs mailing list