we wrote down some notes on our experiece:
https://osservatorionessuno.org/blog/2025/02/how-to-configure-multiple-tor-relays-on-the-same-interface-with-different-ips/

On 2/4/25 9:41 AM, bic wrote:
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@lists.torproject.org
To unsubscribe send an email to tor-relays-le...@lists.torproject.org


_______________________________________________
tor-relays mailing list -- tor-relays@lists.torproject.org
To unsubscribe send an email to tor-relays-le...@lists.torproject.org

Reply via email to