Opened 5 years ago

Closed 17 months ago

#14039 closed defect (duplicate)

Many unnecessary CPU wakeups per second

Reported by: andersk Owned by: nickm
Priority: High Milestone: Tor: 0.3.4.x-final
Component: Core Tor/Tor Version: Tor: 0.2.5.10
Severity: Normal Keywords: tor-client, sponsor8-maybe, 034-triage-20180328, 034-removed-20180328
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor: Sponsor8-can

Description

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.

Child Tickets

Change History (12)

comment:1 Changed 5 years ago by nickm

Milestone: Tor: 0.2.???

Interesting. Another, less-good option that would be easy to do is to make TokenBucketRefillInterval higher for clients.

comment:2 Changed 3 years ago by teor

Milestone: Tor: 0.2.???Tor: 0.3.???

Milestone renamed

comment:3 Changed 3 years ago by nickm

Keywords: tor-03-unspecified-201612 added
Milestone: Tor: 0.3.???Tor: unspecified

Finally admitting that 0.3.??? was a euphemism for Tor: unspecified all along.

comment:4 Changed 2 years ago by nickm

Priority: MediumVery High
Severity: Normal

comment:5 Changed 2 years ago by nickm

Keywords: tor-03-unspecified-201612 removed

Remove an old triaging keyword.

comment:6 Changed 2 years ago by nickm

Keywords: tor-client sponsor8-maybe added
Priority: Very HighHigh

comment:7 Changed 2 years ago by nickm

Milestone: Tor: unspecifiedTor: 0.3.2.x-final
Sponsor: Sponsor8-can

comment:8 Changed 2 years ago by nickm

Milestone: Tor: 0.3.2.x-finalTor: 0.3.3.x-final
Owner: set to nickm
Status: newaccepted

comment:9 Changed 19 months ago by nickm

Milestone: Tor: 0.3.3.x-finalTor: 0.3.4.x-final

comment:10 Changed 17 months ago by nickm

Keywords: 034-triage-20180328 added

comment:11 Changed 17 months ago by nickm

Keywords: 034-removed-20180328 added

Per our triage process, these tickets are pending removal from 0.3.4.

comment:12 Changed 17 months ago by dgoulet

Resolution: duplicate
Status: acceptedclosed

Oh we have a roadmap tasks for this now #25500. Closing as duplicate.

Note: See TracTickets for help on using tickets.