Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6120 closed enhancement (fixed)

visualize torperf results in layer graph

Reported by: arma Owned by: karsten
Priority: Medium Milestone:
Component: Metrics/Analysis Version:
Severity: Keywords:
Cc: Actual Points: 1
Parent ID: Points:
Reviewer: Sponsor:

Description

Our torperf graphs show mean over time. Great.

But how much of the time is spent in which phase of downloading? Torperf collects that data, but our metrics graphs don't use it.

Seems to me there are 3 main phases to a fetch:
1) Receive the connected cell.
2) Receive the first byte of the response.
3) Receive the last byte of the response.

Is it easy to show the torperf graphs as a layered graph of these three components?

This topic comes up because once we do #3890, I expect the middle phase to basically disappear.

Child Tickets

Attachments (4)

torperf-phases.png (106.8 KB) - added by karsten 7 years ago.
torperf-phases-50kib-50perc.png (93.0 KB) - added by karsten 7 years ago.
torperf-phases-50kib-90perc.png (98.5 KB) - added by karsten 7 years ago.
torperf-phase1-ecdf.png (38.5 KB) - added by karsten 7 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 7 years ago by arma

Type: defectenhancement

Changed 7 years ago by karsten

Attachment: torperf-phases.png added

comment:2 Changed 7 years ago by karsten

Replying to arma:

1) Receive the connected cell.

Is this the timestamp when trivsocks-client receives the SOCKS response and before it writes the HTTP request?

Is it easy to show the torperf graphs as a layered graph of these three components?

Yes. I just attached this graph.

I should say that while it's easy to make such a graph now and manually update it, it's hard to teach metrics-web to update that graph automatically. The difficulty is unrelated to this graph. Making metrics-web easier to extend is on my (not really short-term) list.

This topic comes up because once we do #3890, I expect the middle phase to basically disappear.

Let me know when you want an updated graph.

Changed 7 years ago by karsten

Changed 7 years ago by karsten

Changed 7 years ago by karsten

Attachment: torperf-phase1-ecdf.png added

comment:3 Changed 7 years ago by karsten

Adding three graphs here that I made for arma yesterday: the first graph shows medians of the three Torperf phases over time; the second graph shows 90th percentiles of the same times; the third graph goes into more detail of the first phase and shows that 3% of runs hit the 10-second circuit timeout once and that 0.1% even hit it twice.

comment:4 Changed 7 years ago by karsten

Resolution: fixed
Status: newclosed

Is there anything else you want to know here? If so, please reopen this ticket and I'll look into it.

comment:5 Changed 7 years ago by karsten

Actual Points: 1
Note: See TracTickets for help on using tickets.