[tor-bugs] #25461 [Core Tor/Tor]: main event-loop spins consuming 100% of a CPU core at times

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 20 13:05:32 UTC 2018


#25461: main event-loop spins consuming 100% of a CPU core at times
--------------------------+------------------------------------
 Reporter:  Dhalgren      |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.3.4.x-final
Component:  Core Tor/Tor  |        Version:  Tor: 0.3.3.3-alpha
 Severity:  Normal        |     Resolution:
 Keywords:  performance   |  Actual Points:
Parent ID:  #25500        |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------
Changes (by nickm):

 * keywords:  regression?, performance, 033-must? => performance
 * parent:   => #25500
 * milestone:  Tor: 0.3.3.x-final => Tor: 0.3.4.x-final


Comment:

 ... but the last comment indicates that it is probably not a regression.

 I think we might be able to look at this as part of #25500, though, since
 anything that can make the main loop run wild without actually taking any
 action is something that could maybe affect clients too.

 One hypothesis is that we should be marking some connection as blocked,
 but that we aren't, so we are busy-polling on it.

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


More information about the tor-bugs mailing list