Opened 13 months ago

Last modified 11 months ago

#27353 new project

intern project idea: a chutney or shadow framework for testing bootstrap speed/success

Reported by: arma Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: intro
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Sometimes when I start my tor client and it's been a while, it takes 2 or 3 minutes to bootstrap. It seems to be getting stuck on the "asking for a consensus" phase, maybe because the guards listed in my state file are gone, or maybe because only one of them is gone but my Tor doesn't handle it well. I'm not sure.

It would be neat for somebody to set up a chutney or shadow configuration that sets up various bootstrapping scenarios and then observes time-to-bootstrap for each. For examples, setting up scenarios where our configured guards are all down, or all down but one, or we're firewalled such that our tcp attempts don't get an immediate failure, or our guards are up but they don't have their dir info yet or they have dir info but it's old, or some of our guards are overloaded so they serve dir info very slowly.

We could use this approach to find regressions, and also to discover corner cases where we have more bootstrapping delays than we ought to.

I call it an intern project idea because it's bite-sized and reasonably self-contained.

Child Tickets

Change History (2)

comment:1 Changed 13 months ago by teor

Keywords: intro added

comment:2 Changed 11 months ago by teor

Milestone: Tor: unspecified

These seem like long-term projects or features

Note: See TracTickets for help on using tickets.