[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-relays] Re: Guidance on optimal Tor relay server configurations
- To: tor-relays@xxxxxxxxxxxxxxxxxxxx
- Subject: [tor-relays] Re: Guidance on optimal Tor relay server configurations
- From: bic via tor-relays <tor-relays@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 4 Feb 2025 09:41:15 +0100
- In-reply-to: <GtrMc8n0ZQtv7j3cBL7VgKh3vxICc4N34kyh5cbT_iPzDbEqp6h7jwYRGyhEglduQYCHC0qfP5E8xF2kBP1egbepScozPUojheVESOF8WxM=@protonmail.com>
- List-id: "support and questions about running Tor relays (exit, non-exit, bridge)" <tor-relays.lists.torproject.org>
- References: <GtrMc8n0ZQtv7j3cBL7VgKh3vxICc4N34kyh5cbT_iPzDbEqp6h7jwYRGyhEglduQYCHC0qfP5E8xF2kBP1egbepScozPUojheVESOF8WxM=@protonmail.com>
- Reply-to: bic <bicno@xxxxxxxxxxxxx>
- User-agent: Mozilla Thunderbird
hello
I have a configuration quite similar[1] to yours and previously posted a
similar question on the list. I try to summarize the response that I
received
1. The big bottleneck is clock per core, for this is quite hard to
predict bandwidth per core consumption. In the range 1GHz-4GHz you can
have from 6 to 40MBs
2. Run a separate tor instance for every physical core that you have
3. Allocation ~500MB of memory for every instance, this is quite
empirical for my experience
5. Try to use a different ip for every instance, this is not mandatory
but if you share multiple relay on the same ip is easier to block them
in bulk
6. Make sure to configure the SrcIp of every relay to match their public ip
My personal suggestion is to make experiments and share on the
list/forum the result also with some information on the hardware. But to
put down some numbers:
Imagine to have a good 3GHz cpu with good cache and AES support for
crypto operation and 8 phisical core:
(n core) * (measured bandwidth)
8 * 30Mb * 8 (bits) = ~2Gbit
Later in this days I plan to publish a blog post on running this
configuration, home that will be useful for you.
[1]:
https://osservatorionessuno.org/blog/2024/12/how-to-bgp-from-your-basement-and-other-tales/
On 2/3/25 5:00 PM, usetor.wtf via tor-relays wrote:
Hi All,
Looking for guidance around running high performance Tor relays on Ubuntu.
Few questions:
1) If a full IPv4 /24 Class C was available to host Tor relays, what are
some optimal ways to allocate bandwidth, CPU cores and RAM to maximize
utilization of the IPv4 /24 for Tor?
2) If a full 10 Gbps connection was available for Tor relays, how many
CPU cores, RAM and IPv4 addresses would be required to saturate the 10
Gbps connection?
3) Same for a 20 Gbps connection, how many CPU cores, RAM and IPv4
addresses are required to saturate?
Thanks!
Sent with Proton Mail <https://proton.me/mail/home> secure email.
_______________________________________________
tor-relays mailing list -- tor-relays@xxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to tor-relays-leave@xxxxxxxxxxxxxxxxxxxx
_______________________________________________
tor-relays mailing list -- tor-relays@xxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to tor-relays-leave@xxxxxxxxxxxxxxxxxxxx