<div dir="ltr"><div><br></div><br><div class="gmail_quote"><div dir="ltr">On Fri, 8 Sep 2017 at 07:19 Roger Dingledine <<a href="mailto:arma@mit.edu">arma@mit.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Sep 08, 2017 at 07:14:58AM +0200, Andreas Krey wrote:<br>
> On Thu, 07 Sep 2017 22:56:17 +0000, r1610091651 wrote:<br>
> > RelayBandwidthRate 2048 KBytes<br>
> > RelayBandwidthBurst 2048 KBytes<br>
> ><br>
> > But using arm, I'm seeing that tor is not honoring these settings, with<br>
> > bursts frequently exceeding the value.<br>
><br>
> That's the point of the Burst - there is a bucket that is<br>
> filled up with unused bandwidth, up to the Burst value,<br>
> and before the relay throttles down to RB-Rate it also<br>
> lets as many byte pass as the bucket currently has.<br>
><br>
> Means that with your setting your relay can pass up to<br>
> 4 MByte in any given second (but not in every second).<br>
<br>
No, with these values the relay will push up to 2MBytes in each direction<br>
each second. When the Burst is the same as the Rate, it's essentially<br>
just like you're using the Rate. It doesn't add them.<br>
<br>
My guess is that the original poster is confused because they wrote<br>
"KBytes" in their torrc, but arm defaults to bits.<br>
<br>
--Roger<br>
<br>
_______________________________________________<br>
tor-relays mailing list<br>
<a href="mailto:tor-relays@lists.torproject.org" target="_blank">tor-relays@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a></blockquote><div><br></div><div>Thanks all for the feedback.</div><div><br></div><div>To provide some more info and evidence.</div><div><br></div><div>I indeed intend to limit both up & down traffic, through the relay. There is no local / client traffic, only relayed.</div><div>I'm aware that the rate is in kilobytes. Also note that latest arm also reports in kilobytes/s.</div><div>I was also able to verify rates reported by arm, by other network monitoring means.</div><div>Just grabbed arm view:</div><div><img src="cid:15e605639d3cb971f162" alt="image.png" class="" style="max-width: 100%; opacity: 1;"><br></div><div>And associated network view:</div><div><img src="cid:15e605523e8cb971f161" alt="image.png" class="" style="max-width: 100%; opacity: 1;"><br></div><div><br></div><div>Basically what I'm seeing is that tor ignores relay burst rate setting for relayed traffic.</div><div><br></div><div>Based on your comments, what I'm doing is correct way of rate configuration. Right?</div><div>So it's a bug then?</div><div><br></div><div>Thanks</div><div>Seb</div></div></div>