Opened 7 years ago

Closed 2 years ago

Last modified 2 years ago

#8247 closed defect (worksforme)

Some day soon, a 50KB bandwidth test will be too low for the Fast flag

Reported by: arma Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-relay
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Right now the bandwidth self-test involves sending 125KB over each of 4 circuits. Being able to both send and receive it within 10 seconds earns you a self-measured bandwidth rating of 50KB/s.

That's supposed to be enough to bootstrap you into the network, and from there a few clients will pick you, you will realize you're faster than 50KB/s, and away you go.

The threshold for the Fast flag right now is 40KB. What if it went up to 51KB, due to natural network growth or due to steps like #1854? Then we might as well not do the bandwidth self-test at all. (At that point we rely on the bwauths to push traffic over us for us to notice that we can push traffic; and since the bwauths choose how much to send based on how much you self-report, that might not be reliably enough either.)

I think we should raise it to "over 8 circuits" rather than "over 4 circuits", i.e., test twice as many bytes.

Child Tickets

Change History (8)

comment:1 Changed 6 years ago by arma

I am inclined to close, now that we have a Fast threshold based on bwauth values.

(If this bug turns out to be for real, we can always fix it then, and as a bandaid we can program the bwauths, or something else, to push a threshold of traffic through each relay each time period until people upgrade.)

comment:2 Changed 6 years ago by nickm

Milestone: Tor: 0.2.5.x-finalTor: 0.2.???

comment:3 Changed 5 years ago by arma

Well, the bwauths sure are messed up these days, but alas I don't think it's the fault of this ticket.

I'm still inclined to close. But now that I think more about it, why are we doing a tiny bandwidth self-test at all? Won't we get an equivalent outcome by just publishing a bandwidth of 0, and waiting for the bwauth to measure us, at which point we'd see ourselves handle some bandwidth?

In sum. a vestigial tiny bw self-test seems silly to keep around.

comment:4 Changed 3 years ago by teor

Milestone: Tor: 0.2.???Tor: 0.3.???

Milestone renamed

comment:5 Changed 3 years ago by nickm

Keywords: tor-03-unspecified-201612 added
Milestone: Tor: 0.3.???Tor: unspecified

Finally admitting that 0.3.??? was a euphemism for Tor: unspecified all along.

comment:6 Changed 2 years ago by nickm

Keywords: tor-03-unspecified-201612 removed

Remove an old triaging keyword.

comment:7 in reply to:  3 Changed 2 years ago by nickm

Resolution: worksforme
Severity: Normal
Status: newclosed

Replying to arma:

Well, the bwauths sure are messed up these days, but alas I don't think it's the fault of this ticket.

I'm still inclined to close.

Done

comment:8 in reply to:  3 Changed 2 years ago by arma

Replying to arma:

In sum. a vestigial tiny bw self-test seems silly to keep around.

I opened a separate ticket for this one: #22453

Note: See TracTickets for help on using tickets.