Tom,
Why not run multiple tor relays on different ports on the same IPv4 address?
For example, you could run 6 relays on 6 different ports on your IPv4 address (6 x 180 Mpbs > 1 Gbps).
This would also utilise your 4 cores much more efficiently than running 2 relays (each relay will only ever use 1 core for most operations).
Tim
Mon, 30 Jun 2014 14:48:59 +0200 Christian Dietrich christian.d.dietrich@gmail.com:
Hi there,
You will never be able to utilize the whole gigabit connection, at least with the current tor version. I'm also running 2 tor nodes (00000000000myTOR) on a single machine (3rd gen Core i, Quad Core /w AES-NI) on an single IP, reaching ~1.3 Gbit/s on an 1000 Base-T FD connection. Since you do not use hardware accelerated crypto, your transfer speed should be much lower. Anway my relays are also cpu limited due to the fact that tor isn't really utilizing much more than one cpu core.
- Christian
2014-06-30 13:05 GMT+02:00 Tom van der Woerdt info@tvdw.eu:
Hi,
I'm running a Tor exit node on a 1gbit connection. Currently it's maxing at about 180Mbit/s (both ways, so 360Mbit/s) per instance, and I'm running two instances.
That's not really using the connection well. The box has 4 cores (no AES-NI) and I'm looking for ways to utilize the other 640Mbit/s.
Sadly it's not possible to get more IPv4 addresses on this box. I do however have access to a big range of IPv6 addresses.
Can I somehow run more Tor instances on this box by utilizing those IPv6 addresses? Or are there other ways to optimize the throughput and get closer to that 1Gbit?
Tom
On Tue, 01 Jul 2014 22:36:10 +1000 Tim t_ebay@icloud.com wrote:
Tom,
Why not run multiple tor relays on different ports on the same IPv4 address?
For example, you could run 6 relays on 6 different ports on your IPv4 address (6 x 180 Mpbs > 1 Gbps).
This would also utilise your 4 cores much more efficiently than running 2 relays (each relay will only ever use 1 core for most operations).
Because more than two relays per IPv4 address is ignored by the network; and that was the whole point of the question.
I suggested some time ago that with the scarcity of IPv4 *and* abundance of multi-core CPUs that the Tor developers should really consider raising the relays-per-IP limit from 2 to at least 3 or 4.
Sure one can use IPv6, but I doubt there's any serious amounts of traffic on IPv6 via Tor, so it will not help with the original request to do something which would help better utilize the full available bandwidth.
My apologies - I wasn't aware of the 2 relays per IP restriction.
Is it for security reasons?
On 1 Jul 2014, at 23:48 , Roman Mamedov rm@romanrm.net wrote:
On Tue, 01 Jul 2014 22:36:10 +1000 Tim t_ebay@icloud.com wrote:
Tom,
Why not run multiple tor relays on different ports on the same IPv4 address?
For example, you could run 6 relays on 6 different ports on your IPv4 address (6 x 180 Mpbs > 1 Gbps).
This would also utilise your 4 cores much more efficiently than running 2 relays (each relay will only ever use 1 core for most operations).
Because more than two relays per IPv4 address is ignored by the network; and that was the whole point of the question.
I suggested some time ago that with the scarcity of IPv4 *and* abundance of multi-core CPUs that the Tor developers should really consider raising the relays-per-IP limit from 2 to at least 3 or 4.
Sure one can use IPv6, but I doubt there's any serious amounts of traffic on IPv6 via Tor, so it will not help with the original request to do something which would help better utilize the full available bandwidth.
-- With respect, Roman
Roman Mamedov schreef op 01/07/14 15:48:
On Tue, 01 Jul 2014 22:36:10 +1000 Tim t_ebay@icloud.com wrote:
Tom,
Why not run multiple tor relays on different ports on the same IPv4 address?
For example, you could run 6 relays on 6 different ports on your IPv4 address (6 x 180 Mpbs > 1 Gbps).
This would also utilise your 4 cores much more efficiently than running 2 relays (each relay will only ever use 1 core for most operations).
Because more than two relays per IPv4 address is ignored by the network; and that was the whole point of the question.
I suggested some time ago that with the scarcity of IPv4 *and* abundance of multi-core CPUs that the Tor developers should really consider raising the relays-per-IP limit from 2 to at least 3 or 4.
Sure one can use IPv6, but I doubt there's any serious amounts of traffic on IPv6 via Tor, so it will not help with the original request to do something which would help better utilize the full available bandwidth.
I tested this yesterday: running three relays on different IPv6 address but with one shared IPv4 address does not allow you to bypass this limit.
Let's hope that ISPs never introduce carrier-grade NAT... :-)
Tom
tor-relays@lists.torproject.org