[tor-bugs] #33411 [Core Tor/Tor]: Make DirCache default to 0 on Windows relays

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Mar 8 21:10:24 UTC 2020


#33411: Make DirCache default to 0 on Windows relays
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  (none)
     Type:  defect                               |         Status:  new
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.4.4.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.1.9
 Severity:  Normal                               |     Resolution:
 Keywords:  044-should, cpu, windows, linux,     |  Actual Points:
  performance, regression, 033-triage-20180326,  |
  033-removed-20180326, 034-deferred-20180602,   |
  035-removed-20180711, 032-unreached-backport,  |
  040-roadmap-proposed, 033-unreached-backport-  |
  maybe, network-health                          |
Parent ID:  #24857                               |         Points:  0.2
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by nickm):

 Hmm.  If that helps, then there is probably another bug in the function.
 Are you saying that this function is busy-looping even when there is
 nothing to do?  If you're looking at this in a debugger, can you tell me
 the values for ms, cond->n_to_wake, and cond->generation_at_start, when
 the critical section is entered?

 Hm. Now that WinXP is obsolete, maybe we should move this function to use
 CONDITION_VARIABLE instead...

 (I've opened a ticket #33554 for this CPU issue you're talking about here,
 since this ticket seems to be about changing the dircache default. If you
 can answer there, that would be great!)

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


More information about the tor-bugs mailing list