[tor-bugs] #23433 [Core Tor/Tor]: Windows relay: 85% of CPU power is wasted inside select() call

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Sep 8 11:48:45 UTC 2017


#23433: Windows relay: 85% of CPU power is wasted inside select() call
-------------------------------+------------------------------------
 Reporter:  Vort               |          Owner:  (none)
     Type:  defect             |         Status:  new
 Priority:  Medium             |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor       |        Version:  Tor: 0.3.1.5-alpha
 Severity:  Normal             |     Resolution:
 Keywords:  tor-relay windows  |  Actual Points:
Parent ID:                     |         Points:
 Reviewer:                     |        Sponsor:
-------------------------------+------------------------------------

Comment (by cypherpunks):

 `WS2_32.dll!select` is a final destination of code, in top, always.

 > And, most likely, it can be fixed by using the different approaches for
 network API interaction.

 Good luck with implementing it.


 Try to increment `TokenBucketRefillInterval` option, any difference?

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


More information about the tor-bugs mailing list