Opened 17 months ago

Last modified 3 months ago

#26094 assigned enhancement

increase minimal bandwidth requirements, update the manpage, relay guide and FAQ

Reported by: nusenu Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: 035-triaged-in-20180711
Cc: gman999@… Actual Points:
Parent ID: Points:
Reviewer: arma Sponsor:

Description

The man page has old minimal bandwidth requirements, let's update them to be consistent with the relay guide and the FAQ

man page currently says: https://www.torproject.org/docs/tor-manual-dev.html.en#BandwidthRate
"
If you want to run a relay in the public network, this needs to be at the very least 75 KBytes for a relay (that is, 600 kbits) or 50 KBytes for a bridge (400 kbits)  but of course, more is better; we recommend at least 250 KBytes (2 mbits) if possible.
"

Proposed version for the man page:
"
If you want to run a relay in the public network, this needs to be at the very least 8 MBit/s (Mbps) for a relay or 1 MBit/s for a bridge   but of course, more is better; we recommend at least 16 MBit/s if possible.
"

FAQ values:
https://www.torproject.org/docs/faq.html.en#HowDoIDecide
relay guide:
https://trac.torproject.org/projects/tor/wiki/TorRelayGuide#BandwidthandConnections

context:
https://lists.torproject.org/pipermail/tor-dev/2018-February/012916.html

Child Tickets

Change History (15)

comment:1 Changed 17 months ago by nickm

Milestone: Tor: 0.3.4.x-final

Lgtm. Could we have that as a pull request or some other form of patch?

comment:2 Changed 16 months ago by nickm

Keywords: fast-fix added

comment:3 Changed 16 months ago by arma

Summary: mapage: increase minimal bandwidth requirements to be consistent with the relay guide and FAQmanpage: increase minimal bandwidth requirements to be consistent with the relay guide and FAQ

If we wanted, we could also bump up the actual enforced minimums in the code too.

Right now they're:

or.h:#define RELAY_REQUIRED_MIN_BANDWIDTH (75*1024)
or.h:#define BRIDGE_REQUIRED_MIN_BANDWIDTH (50*1024)

comment:4 Changed 15 months ago by nickm

Milestone: Tor: 0.3.4.x-finalTor: 0.3.5.x-final

comment:5 Changed 15 months ago by dgoulet

Owner: set to dgoulet
Status: newassigned

comment:6 Changed 15 months ago by nickm

Keywords: 035-triaged-in-20180711 added

comment:7 Changed 12 months ago by dgoulet

Ok wild branch. By fixing the man page, I figured we should also change the real requirement in the code. This will probably lead to some relays being unhappy and warnings ....... but if we want to do this, definitely 035 is a good one because next LTS.

See branch: ticket26094_035_01

comment:8 Changed 12 months ago by dgoulet

Status: assignedneeds_review

comment:9 Changed 12 months ago by nickm

Reviewer: arma

I'm okay with this, but I'd like arma's opinion too.

comment:10 Changed 12 months ago by dgoulet

Status: needs_reviewneeds_revision

Discussion with armadev on IRC. Snippet of good questions we must answer:

<+armadev> how many relays would we lose right now if we set this new minimums
<+armadev> and, if we keep the Fast flag away from the new bottom 1/8, will there be quite fast relays who still don't get the Fast flag?
...
<+armadev> historically we said a higher number in the man page than we actually enforced in the code
...
<+armadev> kicking out relays by quietly changing a number is something we should think hard about 
<+armadev> maybe we raise the code minimum some, 
<+armadev> and also warn if it's below 1MB
<+armadev> saying that in the future it'll be higher
<+armadev> i could get behind a code-enforced 256KB 

Useful notes that I agree with!

I'm putting this one in needs_revision so we can properly address this. Nick mentioned he would be fine to do that 035 post-freeze.

comment:11 Changed 11 months ago by dgoulet

Status: needs_revisionneeds_information

The following is based on the *observed bandwidth*:

Latest consensus (valid-after 2018-10-24 13:00:00), if we bump the minimum required bw to what the patch does (1024000 bytes that is 1000KB or 8mbits) then 2015 relays would loose the Fast flag which is literally a third of the network...

I've ran the number in steps of 50KB starting at 100KB (last value is the number of relays not being voted Fast anymore):

102400 bytes - 335 
153600 bytes - 661 
204800 bytes - 766 
256000 bytes - 931 
307200 bytes - 1034
358400 bytes - 1120
409600 bytes - 1212
460800 bytes - 1271
512000 bytes - 1359
563200 bytes - 1425
614400 bytes - 1502
665600 bytes - 1625
716800 bytes - 1674
768000 bytes - 1742
819200 bytes - 1801
870400 bytes - 1855
921600 bytes - 1899
972800 bytes - 1944
1024000 bytes - 2015
1075200 bytes - 2093

Where do we want to go from here?

comment:12 Changed 11 months ago by gman999

Cc: gman999@… added

comment:13 Changed 10 months ago by dgoulet

Keywords: tor-doc fast-fix removed
Milestone: Tor: 0.3.5.x-finalTor: unspecified

Not sure this is wise in 035... Feel free to put it back in the milestone if you feel otherwise.

comment:14 Changed 3 months ago by gaba

Owner: dgoulet deleted
Status: needs_informationassigned

Releasing some old tickets.

comment:15 Changed 3 months ago by teor

Summary: manpage: increase minimal bandwidth requirements to be consistent with the relay guide and FAQincrease minimal bandwidth requirements, update the manpage, relay guide and FAQ
Note: See TracTickets for help on using tickets.