[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-relays] Re: Hibernate vs 10 Mbps throttle when bandwidth cap exceeded
- To: "support and questions about running Tor relays (exit, non-exit, bridge)" <tor-relays@xxxxxxxxxxxxxxxxxxxx>
- Subject: [tor-relays] Re: Hibernate vs 10 Mbps throttle when bandwidth cap exceeded
- From: Roger Dingledine via tor-relays <tor-relays@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 28 Feb 2026 23:32:57 -0500
- Cc: Roger Dingledine <arma@xxxxxxxxxxxxxx>
- In-reply-to: <084BHbEdUD3XnrtP9GFzDn3a1J1u48RGi3NoPvCGa205HUAMvDECHLCBX8RfZPm5nDpG8AxL-e_y9zTeFnUa18m8xtl0yN04stMzD7mNemo=@salmon.cat>
- List-id: "support and questions about running Tor relays (exit, non-exit, bridge)" <tor-relays.lists.torproject.org>
- References: <177104274968.740852.16146592991260070834@lists-01.torproject.org> <084BHbEdUD3XnrtP9GFzDn3a1J1u48RGi3NoPvCGa205HUAMvDECHLCBX8RfZPm5nDpG8AxL-e_y9zTeFnUa18m8xtl0yN04stMzD7mNemo=@salmon.cat>
- Reply-to: "support and questions about running Tor relays (exit, non-exit, bridge)" <tor-relays@xxxxxxxxxxxxxxxxxxxx>
On Sun, Mar 01, 2026 at 01:06:57AM +0000, Dan via tor-relays wrote:
> I will note that I'm not sure how effective the RelayBandwidthRate and RelayBandwidthBurst settings are. I have a relay that is limited to 10 TB of bandwidth and I have RelayBandwidthRate set to "3.5 MBytes" with RelayBandwidthBurst set to "4.5 MBytes". Over the last 6 months, here's how much data was transferred according to vnstat:
>
> [...much less than 10TBytes/month]
>
> I'll probably experiment with unsetting these values and just setting AccountingMax.
3.5 mbytes/s averages out to around 9 terabytes per month, meaning
even if you max out that bandwidth rate at every moment of every day,
you still won't reach your 10 terabytes.
Before you try the experiment of just unsetting the Rate and Burst, here are
two experiments to try first:
* Leave RelayBandwidthRate set to 3.5Mbytes but set RelayBandwidthBurst
to something huge like 1Gbyte. This way you will still be held to a
*long-term* average of 3.5MBytes/s but if there are any seconds where
you don't reach that average, you'll get to use most of those extra
bytes later.
* Set RelayBandwidthRate to twice its current value, i.e. 7Mbytes/s,
and also set RelayBandwidthBurst to something huge. This way you will
provide service for at least half the month, and maybe all of it depending
on how consistently your relay chews through its bytes.
And yes in both of these experiments you should set your AccountingMax
also, so your Tor knows to go to sleep for the rest of the month if it
does hit its limit.
--Roger
_______________________________________________
tor-relays mailing list -- tor-relays@xxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to tor-relays-leave@xxxxxxxxxxxxxxxxxxxx