[tor-dev] Better relay uptime visualisation
david at bamsoftware.com
Tue Dec 8 00:19:28 UTC 2015
On Tue, Dec 08, 2015 at 10:47:08AM +1100, Tim Wilson-Brown - teor wrote:
> On 8 Dec 2015, at 10:43, Tom Ritter <tom at ritter.vg> wrote:
> On 7 December 2015 at 13:51, Philipp Winter <phw at nymity.ch> wrote:
> I spent some time improving the existing relay uptime visualisation
> Inspired by a research paper , the new algorithm uses single-linkage
> clustering with Pearson's correlation coefficient as distance function.
> The idea is that relays are grouped next to each other if their uptime
> (basically a binary sequence) is highly correlated. Check out the
> following gallery. It contains monthly relay uptime images, dating
> to 2007:
> If you aren't familiar with this type of visualisation: Every image
> shows the uptime of all Tor relays that were online in a given month.
> Every row is a consensus and every column is a relay. White pixels
> that a relay was offline and black pixels means that a relay was
> online. Red pixels are used to highlight suspiciously similar
> That's really cool. It seems to imply that the majority of the tor
> network stop operating halfway through the month though... Do the
> other tor graphs take into account hibernating relays? For example, I
> would expect the time-to-download graph would be somewhat affected:
> Hibernating relays run from the start of their first period to gauge load.
> Then they start at a random time during the day/month, but early enough that
> they think they'll still use all their bandwidth.
> I wonder if we're seeing another phenomenon? (daily / monthly server restarts?)
> Or we could be seeing hibernation failing to work as intended.
Relays turn on or off all the time. Of all the descriptors seen in a
year, less than 10% are continuously running the whole time. The rest
either started at some time or stopped at some time or both. See an
example here for 2014:
All we're seeing is the distributions of the dates at which the subset
of relays that stopped during the month actually stopped, which seems
pretty uniform. I'll bet that if you look at those relays in the
previous month, they are running at the end of the month, not
More information about the tor-dev