Yeah, this must be wrong, then.
I put this in the torrc:
RelayBandwidthRate 35 MB
RelayBandwidthBurst 40 MB
and I was looking to limit it to 35-40 "M" as shown in Cacti, which would be MBits.
On Sunday 08/09/2013 at 5:38 am, grarpamp wrote:
On 9/8/13, Roger Dingledine arma@mit.edu wrote:
Are you sure you didn't confuse bits and bytes? Tor counts in bytes.
(The arm monitor, if that's what you're using, counts in bits by default.)
As with real networks and operators, if this is so, then big thank you to arm people for correctly counting network bandwidth in bps. No thanks on webhosters and isp's who convert their upstrream bandwidth contracts into transfer bytes and pass that on to their customers for their apache logs, thereby spoofing hosted network *bandwidth* apps like Tor into feeling some silly need to count bytes. Do wish Tor would speak properly in bits by default. _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
On Sun, 08 Sep 2013 05:49:09 -0400 tor@t-3.net wrote:
Yeah, this must be wrong, then.
I put this in the torrc:
RelayBandwidthRate 35 MB
RelayBandwidthBurst 40 MB
and I was looking to limit it to 35-40 "M" as shown in Cacti, which would be MBits.
Always remember:
MB (capital B) = Megabyte https://en.wikipedia.org/wiki/Megabyte
Mb (small b) = Megabit https://en.wikipedia.org/wiki/Megabit
But torrc does not support specifying rate limits in megabits anyway.
On Sun, Sep 08, 2013 at 04:00:08PM +0600, Roman Mamedov wrote:
MB (capital B) = Megabyte https://en.wikipedia.org/wiki/Megabyte
Mb (small b) = Megabit https://en.wikipedia.org/wiki/Megabit
But torrc does not support specifying rate limits in megabits anyway.
In 0.2.5 (aka git master branch) it does.
Specifically, you can say kbits (or kilobits), or mbits or megabits, or gbits or gigabits, or tbits or terabits.
I also recommend writing "40MB" as "40MBytes" so you know what you're saying. All the config files (and man page entries) should be changed over now (in 0.2.5) -- let me know if I missed any.
--Roger
tor-relays@lists.torproject.org