Hey guys, I recently decided to get myself an 8 core, 16 GB RAM machine to use for running an exit relay and was wondering, Tor only works on one core, even setting NumCPUs to 2 doesn't do a whole lot so, how is it even possible to get more than maybe, 300Mbps or so from one relay? Maybe I'm missing something but, running multiple Tor processes is just going to have multiple relays with different OR and Dir ports for each, right?
-- Kura
t: @kuramanga [https://twitter.com/kuramanga] w: https://kura.io/ [https://kura.io/] g: @kura [http://git.io/kura]
Yep, you got it. Multiple processes with different configurations. You should also limit their bandwidths proportionally so you don't saturate your network interface.
On Fri, Jan 2, 2015 at 9:48 AM, Kura kura@kura.io wrote:
Hey guys, I recently decided to get myself an 8 core, 16 GB RAM machine to use for running an exit relay and was wondering, Tor only works on one core, even setting NumCPUs to 2 doesn't do a whole lot so, how is it even possible to get more than maybe, 300Mbps or so from one relay? Maybe I'm missing something but, running multiple Tor processes is just going to have multiple relays with different OR and Dir ports for each, right?
-- Kura
t: @kuramanga https://twitter.com/kuramanga w: https://kura.io/ g: @kura http://git.io/kura
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Actually, on 2nd thought, you may not have to limit your bandwidth because Tor MAY handle this for you.
Also, it's recommended to run your (presumably, 8) servers on different network addresses as well. If you are running a colocation rack this won't be difficult, but if you are doing this from your home.. well.. I won't start.
On Fri, Jan 2, 2015 at 10:00 AM, Austin Bentley ab6d9@mst.edu wrote:
Yep, you got it. Multiple processes with different configurations. You should also limit their bandwidths proportionally so you don't saturate your network interface.
On Fri, Jan 2, 2015 at 9:48 AM, Kura kura@kura.io wrote:
Hey guys, I recently decided to get myself an 8 core, 16 GB RAM machine to use for running an exit relay and was wondering, Tor only works on one core, even setting NumCPUs to 2 doesn't do a whole lot so, how is it even possible to get more than maybe, 300Mbps or so from one relay? Maybe I'm missing something but, running multiple Tor processes is just going to have multiple relays with different OR and Dir ports for each, right?
-- Kura
t: @kuramanga https://twitter.com/kuramanga w: https://kura.io/ g: @kura http://git.io/kura
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
I am currently peaking 46.39 MBps / 371.12Mbps, https://atlas.torproject.org/#details/F14B7BF44F9B170DFF628F237E0C7E8D631F95..., with "NumCPUs 2" on an AMD A8-5600K with 8GB RAM. My setup is based on https://wiki.archlinux.org/index.php/Tor#.2B100Mbps_Exit_Relay_configuration... .
I presume you have read https://blog.torproject.org/blog/lifecycle-of-a-new-relay, so you know it will take some time before the network takes full advantage of your new exit relay.
On 2 January 2015 at 17:03, Austin Bentley ab6d9@mst.edu wrote:
Actually, on 2nd thought, you may not have to limit your bandwidth because Tor MAY handle this for you.
Also, it's recommended to run your (presumably, 8) servers on different network addresses as well. If you are running a colocation rack this won't be difficult, but if you are doing this from your home.. well.. I won't start.
On Fri, Jan 2, 2015 at 10:00 AM, Austin Bentley ab6d9@mst.edu wrote:
Yep, you got it. Multiple processes with different configurations. You should also limit their bandwidths proportionally so you don't saturate your network interface.
On Fri, Jan 2, 2015 at 9:48 AM, Kura kura@kura.io wrote:
Hey guys, I recently decided to get myself an 8 core, 16 GB RAM machine to use for running an exit relay and was wondering, Tor only works on one core, even setting NumCPUs to 2 doesn't do a whole lot so, how is it even possible to get more than maybe, 300Mbps or so from one relay? Maybe I'm missing something but, running multiple Tor processes is just going to have multiple relays with different OR and Dir ports for each, right?
-- Kura
t: @kuramanga https://twitter.com/kuramanga w: https://kura.io/ g: @kura http://git.io/kura
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Yeah I have read both of those and I wasn't expecting it to be instant, I have many relays that are ~6 months in age so I know about the ramp up. Thanks thought. =)
-- Kura
t: @kuramanga [https://twitter.com/kuramanga] w: https://kura.io/ [https://kura.io/] g: @kura [http://git.io/kura] On 02/01/2015 17:01:52, usprey usprey@gmail.com wrote: I am currently peaking 46.39 MBps / 371.12Mbps, https://atlas.torproject.org/#details/F14B7BF44F9B170DFF628F237E0C7E8D631F95... [https://atlas.torproject.org/#details/F14B7BF44F9B170DFF628F237E0C7E8D631F95...], with "NumCPUs 2" on an AMD A8-5600K with 8GB RAM. My setup is based on https://wiki.archlinux.org/index.php/Tor#.2B100Mbps_Exit_Relay_configuration... [https://wiki.archlinux.org/index.php/Tor#.2B100Mbps_Exit_Relay_configuration...].
I presume you have read https://blog.torproject.org/blog/lifecycle-of-a-new-relay [https://blog.torproject.org/blog/lifecycle-of-a-new-relay], so you know it will take some time before the network takes full advantage of your new exit relay.
On 2 January 2015 at 17:03, Austin Bentley <ab6d9@mst.edu [mailto:ab6d9@mst.edu]> wrote:
Actually, on 2nd thought, you may not have to limit your bandwidth because Tor MAY handle this for you.
Also, it's recommended to run your (presumably, 8) servers on different network addresses as well. If you are running a colocation rack this won't be difficult, but if you are doing this from your home.. well.. I won't start.
On Fri, Jan 2, 2015 at 10:00 AM, Austin Bentley <ab6d9@mst.edu [mailto:ab6d9@mst.edu]> wrote:
Yep, you got it. Multiple processes with different configurations. You should also limit their bandwidths proportionally so you don't saturate your network interface.
On Fri, Jan 2, 2015 at 9:48 AM, Kura <kura@kura.io [mailto:kura@kura.io]> wrote:
Hey guys, I recently decided to get myself an 8 core, 16 GB RAM machine to use for running an exit relay and was wondering, Tor only works on one core, even setting NumCPUs to 2 doesn't do a whole lot so, how is it even possible to get more than maybe, 300Mbps or so from one relay? Maybe I'm missing something but, running multiple Tor processes is just going to have multiple relays with different OR and Dir ports for each, right?
-- Kura
t: @kuramanga [https://twitter.com/kuramanga] w: https://kura.io/ [https://kura.io/] g: @kura [http://git.io/kura]
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org [mailto:tor-relays@lists.torproject.org] https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays [https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays]
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org [mailto:tor-relays@lists.torproject.org] https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays [https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays]
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Hi Kura,
On January 2, 2015 4:58:42 PM "Kura" kura@kura.io wrote:
Hey guys, I recently decided to get myself an 8 core, 16 GB RAM machine to use for running an exit relay and was wondering, Tor only works on one core, even setting NumCPUs to 2 doesn't do a whole lot so, how is it even possible to get more than maybe, 300Mbps or so from one relay? Maybe I'm missing something but, running multiple Tor processes is just going to have multiple relays with different OR and Dir ports for each, right?
You are right, the multithreading capabilities are very limited. You need to set up more than one to handle more traffic.
-- Kura
t: @kuramanga [https://twitter.com/kuramanga] w: https://kura.io/ [https://kura.io/] g: @kura [http://git.io/kura]
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Thanks for the replies, I'll run multiple instances from one box then. =)
-- Kura
t: @kuramanga [https://twitter.com/kuramanga] w: https://kura.io/ [https://kura.io/] g: @kura [http://git.io/kura] On 02/01/2015 16:05:44, Sebastian Urbach sebastian@urbach.org wrote: Hi Kura,
On January 2, 2015 4:58:42 PM "Kura" wrote:
Hey guys, I recently decided to get myself an 8 core, 16 GB RAM machine to use for running an exit relay and was wondering, Tor only works on one core, even setting NumCPUs to 2 doesn't do a whole lot so, how is it even possible to get more than maybe, 300Mbps or so from one relay? Maybe I'm missing something but, running multiple Tor processes is just going to have multiple relays with different OR and Dir ports for each, right?
You are right, the multithreading capabilities are very limited. You need to set up more than one to handle more traffic.
-- Kura
t: @kuramanga [https://twitter.com/kuramanga] w: https://kura.io/ [https://kura.io/] g: @kura [http://git.io/kura]
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
-- Sincerely yours / Sincères salutations
Sebastian Urbach
----------------------------------------- Definition of Tor: 10% luck, 20% skill, 15% concentrated power of will, 5% pleasure, 50% pain and 100% reason to remember the name! -----------------------------------------
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
In case you haven't already seen it, you should only run two Tor processes per IP address:
https://www.torservers.net/wiki/setup/server#multiple_tor_processes
Best regards,
Alexander
--- PGP Key: https://dietrich.cx/pgp | 0x727A756DC55A356B
On 2015-01-02 17:06, Kura wrote:
Thanks for the replies, I'll run multiple instances from one box then. =)
-- Kura
t: @kuramanga [2] w: https://kura.io/ [3] g: @kura [4]
On 02/01/2015 16:05:44, Sebastian Urbach sebastian@urbach.org wrote: Hi Kura,
On January 2, 2015 4:58:42 PM "Kura" wrote:
Hey guys, I recently decided to get myself an 8 core, 16 GB RAM machine to use for running an exit relay and was wondering, Tor only works on one core, even setting NumCPUs to 2 doesn't do a whole lot so, how is it even possible to get more than maybe, 300Mbps or so from one relay? Maybe I'm missing something but, running multiple Tor processes is just going to have multiple relays with different OR and Dir ports for each, right?
You are right, the multithreading capabilities are very limited. You need to set up more than one to handle more traffic.
-- Kura
t: @kuramanga [https://twitter.com/kuramanga] w: https://kura.io/ [https://kura.io/] g: @kura [http://git.io/kura]
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
-- Sincerely yours / Sincères salutations
Sebastian Urbach
Definition of Tor: 10% luck, 20% skill, 15% concentrated power of will, 5% pleasure, 50% pain and 100% reason to remember the name!
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays [1]
Links: ------ [1] https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays [2] https://twitter.com/kuramanga [3] https://kura.io/ [4] http://git.io/kura
On Fri, Jan 2, 2015 at 10:48 AM, Kura kura@kura.io wrote:
Hey guys, I recently decided to get myself an 8 core, 16 GB RAM machine to use for running an exit relay and was wondering, Tor only works on one core, even setting NumCPUs to 2 doesn't do a whole lot so, how is it even possible to get more than maybe, 300Mbps or so from one relay?
What cpu model and cpu load percentages at what bandwidth is that?
https://lists.torproject.org/pipermail/tor-relays/2015-January/006041.html
tor-relays@lists.torproject.org