[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs