Opened 2 years ago

Last modified 2 years ago

#22236 new enhancement

Add new graph showing directory traffic as percentage of all traffic

Reported by: karsten Owned by: metrics-team
Priority: Medium Milestone:
Component: Metrics/Website Version:
Severity: Normal Keywords:
Cc: mikeperry, ahf Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Mike asked me a while ago to make a graph showing what fraction of network capacity is spent on directory traffic as an easy way to measure directory overhead. The idea was that this graph should trend down as we make directory fetches more efficient, but that it could trend up if we add a bunch of clients that don't do much other than download the consensus.

We already have two related graphs, Total relay bandwidth and Bandwidth spent on answering directory requests, and this new graph would basically combine those two.

I made a sample graph that I'll attach to this ticket together with the code to make that graph.

Let's use this ticket to discuss whether such a graph would be useful to have on Tor Metrics, and if so, let's use it to write a useful description and work on a metrics-web patch.

Child Tickets

Attachments (4)

dirbytes-fraction.png (42.3 KB) - added by karsten 2 years ago.
dirbytes-fraction.R (671 bytes) - added by karsten 2 years ago.
bwhist-per-user.png (39.1 KB) - added by karsten 2 years ago.
bwhist-per-user.R (850 bytes) - added by karsten 2 years ago.

Download all attachments as: .zip

Change History (7)

Changed 2 years ago by karsten

Attachment: dirbytes-fraction.png added

Changed 2 years ago by karsten

Attachment: dirbytes-fraction.R added

comment:1 Changed 2 years ago by karsten

Here's the sample graph I made a few weeks ago:


comment:2 Changed 2 years ago by arma

Huh. Basically it looks like the user graph.

I wonder if there's a way to normalize it somehow. It would lose the "fraction of total bandwidth" aspect, but maybe it would help us understand whether, per client, things are looking better or worse over time.

Changed 2 years ago by karsten

Attachment: bwhist-per-user.png added

Changed 2 years ago by karsten

Attachment: bwhist-per-user.R added

comment:3 Changed 2 years ago by karsten

Well, Mike also asked me to make another, related graph on traffic generated per user. I'm attaching that one as well. It's this one:


Note: See TracTickets for help on using tickets.