[tor-bugs] #14039 [Tor]: Many unnecessary CPU wakeups per second

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Dec 28 22:52:05 UTC 2014


#14039: Many unnecessary CPU wakeups per second
---------------------+-------------------------------
 Reporter:  andersk  |          Owner:
     Type:  defect   |         Status:  new
 Priority:  normal   |      Milestone:
Component:  Tor      |        Version:  Tor: 0.2.5.10
 Keywords:           |  Actual Points:
Parent ID:           |         Points:
---------------------+-------------------------------
 PowerTOP shows Tor waking up 10 times per second even when it’s doing
 nothing.  This is bad for power usage on a laptop because it prevents the
 CPU from entering its deepest sleep states.  It looks like the reason is
 the default TokenBucketRefillInterval of 100 msec (#3630).  Perhaps this
 logic can be refactored so that `refill_timer` is only activated when
 there are buckets to be refilled.

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


More information about the tor-bugs mailing list