When estimating user numbers, we have to make assumptions a) on the number of directory requests that an average user makes and b) on the average number of bridge connections that a bridge client opens.
We should instrument a Tor client to log all directory requests and bridge connections, so that we can derive better data from these logs. In fact, the info-level logs of the Tor clients that we use for Torperf may already tell us something about directory requests.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
In legacy/trac#7009 (moved) we wanted to know how often clients download new consensuses. Changed log level of the torperfs on ferrinii to info, will report some stats here in a week from now.
Attached a .csv and a .png file containing successfully loaded consensuses by ferrinii's tor clients. In particular, I'm counting occurrences of the following log line:
These data points do not match up with the assumption "clients fetch a new consensus every 2-4 hours"!
So there is either (1) a bug in how you're deciding that we fetched a new consensus, or (2) we are in fact fetching them more often than we thought (and, it would seem, more often than we need to).
Or I guess (3) Torperf's Tors are fetching them more often than regular Tors.
Am I looking at the right log lines, or what lines should I look at?
Also, please note that any change we make to the consensus download interval has huge impact on our user-counting algorithm. If we make future tors smarter about downloading consensuses less frequently, we'll have a hard time adapting our user-counting algorithm.
ahf: you might find this ticket interesting, as the torperf traces have a bunch of logs that could be reconstructed to answer questions about frequency of dir fetches.
Trac: Reviewer: N/AtoN/A Severity: N/Ato Normal Sponsor: N/AtoN/A Cc: arma to arma, ahf