Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#915 closed Bug (fixed)

Does too many wake-ups when idle

Reported by: denisleroy Owned by: charles
Priority: Normal Milestone: 1.20
Component: libtransmission Version: 1.11
Severity: Normal Keywords:
Cc:

Description

Transmission seems to perform 20 wake-up per second when idle. This impacts battery performance on laptops. Originally filed here: https://bugzilla.redhat.com/show_bug.cgi?id=305941

Comments by Bastien Nocera :

If needed at all (it would be better to have signals telling us the stats changed), the timeout should only be there when:

  • the window is visible (the status icon doesn't show the status of downloads

anyway)

  • there are active torrents in the list

If there aren't any active torrents, and/or the window isn't visible, the timeout shouldn't be there.

Change History (5)

comment:1 Changed 14 years ago by charles

  • Component changed from GTK+ Client to libtransmission
  • Milestone changed from None Set to 1.20
  • Status changed from new to assigned

comment:2 Changed 14 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed

the status icon /does/ show the status of downloads in newer versions. anyway, the GUI update loop only caused a fraction of the wake-ups.

powertop + r5453 started as "transmission -paused -minimized":

17.6% ( 30.8) transmission : schedule_timeout (process_timeout) 16.4% ( 30.2) transmission : schedule_timeout (process_timeout) 15.1% ( 25.8) transmission : schedule_timeout (process_timeout)

powertop + r5454 started as "transmission -paused -minimized":

1.7% ( 2.7) transmission : schedule_timeout (process_timeout) 2.3% ( 3.3) transmission : schedule_timeout (process_timeout) 2.1% ( 3.1) transmission : schedule_timeout (process_timeout)

comment:3 Changed 14 years ago by charles

powertop + r5453 started as "transmission -paused -minimized":

  17.6% ( 30.8)      transmission : schedule_timeout (process_timeout)
  16.4% ( 30.2)      transmission : schedule_timeout (process_timeout) 
  15.1% ( 25.8)      transmission : schedule_timeout (process_timeout) 

powertop + r5454 started as "transmission -paused -minimized":

   1.7% (  2.7)      transmission : schedule_timeout (process_timeout)
   2.3% (  3.3)      transmission : schedule_timeout (process_timeout)
   2.1% (  3.1)      transmission : schedule_timeout (process_timeout)

comment:4 Changed 14 years ago by charles

Gah, I wish I could revise old comments. :)

That should be r5754

comment:5 Changed 14 years ago by denisleroy

thankyouthankyou!

Note: See TracTickets for help on using tickets.