[tor-relays] Rate setting in tor

Roger Dingledine arma at mit.edu
Fri Sep 8 05:18:30 UTC 2017


On Fri, Sep 08, 2017 at 07:14:58AM +0200, Andreas Krey wrote:
> On Thu, 07 Sep 2017 22:56:17 +0000, r1610091651 wrote:
> > RelayBandwidthRate 2048 KBytes
> > RelayBandwidthBurst 2048 KBytes
> > 
> > But using arm, I'm seeing that tor is not honoring these settings, with
> > bursts frequently exceeding the value.
> 
> That's the point of the Burst - there is a bucket that is
> filled up with unused bandwidth, up to the Burst value,
> and before the relay throttles down to RB-Rate it also
> lets as many byte pass as the bucket currently has.
> 
> Means that with your setting your relay can pass up to
> 4 MByte in any given second (but not in every second).

No, with these values the relay will push up to 2MBytes in each direction
each second. When the Burst is the same as the Rate, it's essentially
just like you're using the Rate. It doesn't add them.

My guess is that the original poster is confused because they wrote
"KBytes" in their torrc, but arm defaults to bits.

--Roger



More information about the tor-relays mailing list