[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #8273 [Tor]: Set flag thresholds and flags based on measured bandwidth
#8273: Set flag thresholds and flags based on measured bandwidth
----------------------+-----------------------------------------------------
Reporter: nickm | Owner:
Type: defect | Status: needs_revision
Priority: critical | Milestone: Tor: 0.2.4.x-final
Component: Tor | Version:
Keywords: tor-auth | Parent:
Points: | Actualpoints:
----------------------+-----------------------------------------------------
Comment(by mikeperry):
One problem with my suggestion vs Nick's is that mine might flap. I just
came down with a cold, so my brain might be misfiring, but here's what I
think can happen: If you're scanning Fast or Unmeasured, you see a slow
unmeasured node and then scan it. If it turns out to be not-Fast, then the
*next* time around, you don't measure it, and it becomes unmeasured again,
at which point you measure it.
It's not as bad as never measuring, of course. But I wonder if it will be
a substantial problem? My guess is "Probably not", *except* for the fact
that this means there will be a *lot* of non-Fast nodes at that 1.0 ratio
that we assign to Unmeasured nodes. This could mess up the measurement of
nodes that are actually perfectly average (arithmetic mean) in terms of
measuring them, because they will now be more likely to be paired with
slow nodes that fell out of the Fast status and lost their measured flag.
So maybe an even simpler fix of scanning non-Fast nodes is the best one?
K.I.S.S.? The one thing I would suggest if we decide to go that route is
to perhaps make an extra entry in the data/bwfiles URL list. (Where the
hell is this file btw? It's not in my git checkout? Did we forget to add
it?)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8273#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs