On Fri, Oct 27, 2017 at 08:41:23AM +1100, teor wrote:
In particular, bandwidth token buckets are refilled every second, and some pending connection events are triggered by these callbacks.
I'm sure someone did a graph or a paper where they demonstrated the 1-second pattern in Tor's traffic. But I'm not sure how to track it down.
You can read about the issue on page 5 of https://svn.torproject.org/svn/projects/roadmaps/2009-07-24-measurements.pdf
But we resolved the issue by refilling token buckets 10 times a second starting in 0.2.3.5-alpha. See proposal 183 and ticket #3630.
--Roger