[tor-bugs] #28061 [Core Tor/sbws]: Check prioritisation, it should make 2 measurements that are 24 appart

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 24 17:16:16 UTC 2018


#28061: Check prioritisation, it should make 2 measurements that are 24 appart
---------------------------+-------------------------------------
 Reporter:  juga           |          Owner:  (none)
     Type:  defect         |         Status:  new
 Priority:  Medium         |      Milestone:  sbws 1.0 (MVP nice)
Component:  Core Tor/sbws  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:  #28042         |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+-------------------------------------

Comment (by pastly):

 Replying to [comment:15 juga]:
 > What about just getting a list of relays to measure (instead of an
 iterator), and do not call `best_priority` again until the list is almost
 finished?.
 > If you're a busy, i can try that.
 > Thanks for looking at it.

 I think we'll have the same problem unless: when the we're measuring the
 last relay the prioritizer returned (either via an iterator or a list) we
 don't give the other measurement threads anything until it's done. When it
 is done, we recalculate priority and start handing out relays to the
 worker threads again.

 I don't think having all the measurement threads stop and wait once in a
 while for the slowest of them to finish up so we can regenerate a new set
 of relays to measure is going to significantly impact how long it takes to
 scan the entire network.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28061#comment:16>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list