Greetings all!
Setting up a new Digital Ocean Tor Relay. DO is giving me 3000 Gig a month. Is there a tutorial that I can use to calculate the bandwidth? I've searched around the web and for some reason people seem to dance around the question. They give examples not relevant to me and zero math showing how the came to their answer.
As usual, any help will be appreciated :-)
Sysmanager7
Sent with [Proton Mail](https://proton.me/) secure email.
Hi
You can use AccountingMax [0] for this. Note that if you set this to 2900 Gbytes (You should leave some bandwidth for overhead and OS updates etc.) it will use 2900 Gbytes outgoing and 2900 Gbytes incoming. Depending on how DO calculates traffic you have do divide it by 2 or set AccountingRule to not go over the 3TB limit. "man tor" has a detailed descriptions for the possible options.
Bauruine
[0] https://support.torproject.org/relay-operators/limit-total-bandwidth/
On 31.03.23 21:34, sysmanager7 via tor-relays wrote:
Greetings all!
Setting up a new Digital Ocean Tor Relay. DO is giving me 3000 Gig a month. Is there a tutorial that I can use to calculate the bandwidth? I've searched around the web and for some reason people seem to dance around the question. They give examples not relevant to me and zero math showing how the came to their answer.
As usual, any help will be appreciated :-)
Sysmanager7
Sent with Proton Mail https://proton.me/ secure email.
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Hi,
The reason you find the answers confusing is because the whole thing is confusing. A lot of what you see advertised by hosts is somehow misleading. For example they advertise a 1000 mb/s network speed and then they give you 3 TB of bandwidth. The truth is that even if you have a sustained network speed of 100 mb/s, you'll be using 32.8 TB of bandwidth for the month. To use 3 TB a month, you need to have a sustained upload speed of 9 mb/s which is far below the speeds of a home Internet.
As for the math, use [the Hosting bandwidth converter on this yet another confusing page](https://www.calculator.net/bandwidth-calculator.html#hosting)
The second confusing part is that just because you set your RelayBandwidthRate to whatever number, it doesn't mean you'll be relaying that much. It could be a lot less depending on a lot of factors and especially during the first month or two and a lot more depending on your RelayBandwidthBurst. So you can't just set that numbers and be sure of the outcome.
Your best choice would be to change provider, pay much less and get a lot more bandwidth. The second best answer is what @Bauruine suggested. Set your daily used bandwidth to 100 GB assuming DO, like most hosts, only charges for uploads.
```
AccountingMax 100 GBytes AccountingStart day 00:00
```
This basically means from midnight to midnight, you'd be relaying 100 GB upload 100 GB download and then hibernate until the next day. Not my personal favourite but an option nonetheless.
On 3/31/2023 3:34 PM, sysmanager7 via tor-relays wrote:
Greetings all!
Setting up a new Digital Ocean Tor Relay. DO is giving me 3000 Gig a month. Is there a tutorial that I can use to calculate the bandwidth? I've searched around the web and for some reason people seem to dance around the question. They give examples not relevant to me and zero math showing how the came to their answer.
As usual, any help will be appreciated :-)
Sysmanager7
Sent with Proton Mail https://proton.me/ secure email.
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Hi Systemmanager7,Do you mean with bandwidth something like Mbit/s ? -------- Оригінальне повідомлення --------Від: sysmanager7 via tor-relays tor-relays@lists.torproject.org Дата: 03.04.23 10:56 (GMT+01:00) Кому: tor-relays@lists.torproject.org Копія: sysmanager7 sysmanager7@protonmail.com Тема: [tor-relays] Relay Bandwidth Greetings all!Setting up a new Digital Ocean Tor Relay. DO is giving me 3000 Gig a month. Is there a tutorial that I can use to calculate the bandwidth? I've searched around the web and for some reason people seem to dance around the question. They give examples not relevant to me and zero math showing how the came to their answer.As usual, any help will be appreciated :-) Sysmanager7
Sent with Proton Mail secure email.
tor-relays@lists.torproject.org