[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-relays] RPi Relay Maximum Speed



Remember, a relay has to download and upload as well, so your 100Mbps link would really only be able to _relay_ at 50Mbps anyway.


On Oct 12, 2016 4:17 AM, "Farid Joubbi" <joubbi@xxxxxx> wrote:

The hardware in your raspberry is way too weak to be able to push 100 Mbit/s.

My guess is that Atlas will show somewhere just below 1 MByte for your relay.


I have tried to find cost effective hardware for a relay that is able to push around 100 Mbit/s. All the options I have looked at turned out to be a bit too expensive for my taste (and wallet). Either the initial cost or the energy usage is too high for such hardware for my purposes.



From: tor-relays <tor-relays-bounces@lists.torproject.org> on behalf of Volker Mink <volker.mink@xxxxxx>
Sent: 12 October 2016 09:09
To: tor-relays@lists.torproject.org
Subject: Re: [tor-relays] RPi Relay Maximum Speed
 
So the best would be to use two raspis or your old gaming-workstation - depends on the costs for energy
 
Gesendet: Mittwoch, 12. Oktober 2016 um 07:55 Uhr
Von: "Roman Mamedov" <rm@xxxxxxxxxxx>
An: Manny <felich@xxxxxxxxx>
Cc: "Tor relays" <tor-relays@lists.torproject.org>
Betreff: Re: [tor-relays] RPi Relay Maximum Speed
On Wed, 12 Oct 2016 07:18:56 +0200
Manny <felich@xxxxxxxxx> wrote:

> I have a 1gbit symmetric connection at home and would like to donate
> 100mbit with my raspberry pi 3 model b. Since it has a 100mbit Network
> Interface, I'm limited to that anyways.
>
> What Settings do I Need in my torcc to get the Maximum Speed? At the
> Moment I entered 12 Mbytes - which Shows up at 96 mb/s in Arm - is that
> correct and my understanding of things is just the opposite?
> Max Speed, I think, should be 12.7mb/s for a 100mbit Connection?

mb is not a thing that exists;
Mb is megabits: https://en.wikipedia.org/wiki/Megabit
MB is megabytes: https://en.wikipedia.org/wiki/Megabyte

What you entered in torrc is currently correct. But since your board has a 100
Mbit interface anyway, it would be better if you just omit the bandwidth limit
line entirely.

Also, actually hit anything remotely close to 100 Mbit, you'll absolutely have
to run two instances of Tor. The Raspberry Pi 3 has 4 CPU cores, but each core
on its own is not very fast. One copy of Tor only uses about 1 to 1.3 cores,
so to fully utilize your hardware you need more than one. Ideally you'd set up
four, but the Tor network will only accept two running from the same IPv4
address. It appears that these days there's a built-in script for that, see
"man tor-instance-create".

--
With respect,
Roman
_______________________________________________
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

_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays