[tor-bugs] #24045 [Metrics/Analysis]: Measure and map overloaded or over-weighted relays

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 8 21:03:05 UTC 2017

#24045: Measure and map overloaded or over-weighted relays
 Reporter:  teor                                 |          Owner:
                                                 |  metrics-team
     Type:  defect                               |         Status:
                                                 |  reopened
 Priority:  Medium                               |      Milestone:
Component:  Metrics/Analysis                     |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-performance, tbb-usability,      |  Actual Points:
  performance, tbb-needs                         |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
Changes (by karsten):

 * component:  Metrics/Statistics => Metrics/Analysis


 Replying to [comment:4 teor]:
 > Hey Karsten, thanks for the graph. It's good to see that most relays
 have a reasonable consensus weight to bandwidth ratio.
 > But for a log plot, that spread seems a lot: in some cases, it looks
 like relays with similar advertised bandwidths get 10x the consensus
 weight. And we still think that bandwidth allocation isn't balanced
 geographically. From what people tell us, US East and EU West coasts get a
 large allocation, and it falls off from there.
 > Can you show the important section of this graph (the high bandwidths
 and the high consensus weights) using a linear plot?

 I'm adding a linear plot below:

 [[Image(overweight-relays-non-log-scale-2017-11-08.png, 700px)]]

 Here's how I made it, using the attached CSV file:

 ggplot(o, aes(x = adv_bw, y = cw)) +
 geom_point(alpha = 0.25) +
 scale_x_continuous("advertised bandwidth") +
 scale_y_continuous("consensus weight")
   width = 8, height = 8, dpi = 150)

 > Is there a way of showing the consensus weight to advertised bandwidth
 ratios on a map? Maybe as geolocated points?

 Not easily, and I'm afraid I'm juggling too many other things to dive into
 such a new visualization now. But maybe this is something where others can
 step in. Basically, all relevant data is available via Onionoo, including
 longitude and latitude of relays.

 I'm moving this ticket to Metrics/Analysis where we collect analyses like
 this one without having concrete plans to integrate results into metrics

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

More information about the tor-bugs mailing list