[tor-relays] RPi Relay Maximum Speed

Farid Joubbi joubbi at kth.se
Wed Oct 12 09:16:45 UTC 2016


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 at lists.torproject.org> on behalf of Volker Mink <volker.mink at gmx.de>
Sent: 12 October 2016 09:09
To: tor-relays at 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 at romanrm.net>
An: Manny <felich at posteo.de>
Cc: "Tor relays" <tor-relays at lists.torproject.org>
Betreff: Re: [tor-relays] RPi Relay Maximum Speed
On Wed, 12 Oct 2016 07:18:56 +0200
Manny <felich at posteo.de> 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 at lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20161012/40f1af72/attachment.html>


More information about the tor-relays mailing list