Bug 153140

Summary: knode causes a lot of wakeups from idle state
Product: knode Reporter: Harshad RJ <harshad.rj>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: amitshah
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Harshad RJ 2007-11-29 19:41:36 UTC
Version:            (using KDE KDE 3.5.8)
Installed from:    Fedora RPMs

Using PowerTop, I see that KNode causes the maximum wakeups from idle state on my system.

  84.8% (998.8)             knode : schedule_timeout (process_timeout)

This is on a system running Konsole, Firefox, Knode and Wifi on.

Please reduce the time out frequency in the code where possible.
Comment 1 Amit Shah 2007-12-18 06:38:06 UTC
This is what I get (on 0.10.4, kde 3.5.6, kubuntu feisty):

Wakeups-from-idle per second : 524.0    interval: 10.0s


Top causes for wakeups:
  42.7% (249.5)             knode : schedule_timeout (process_timeout)
  17.2% (100.6)       <interrupt> : eth0
   9.8% ( 57.2)       firefox-bin : futex_wait (hrtimer_wakeup)


As you can see, it's more than firefox, so this is really a grave bug (this is consistent over a period of time, not just a stray incident).

BTW, I'd change this from 'wishlist' to 'bug', since it's not a feature, but a power-drain bug.
Comment 2 Felipe Sateler 2008-01-16 03:43:55 UTC
I can confirm this on Debian (0.10.5 w/ KDE 3.5.8):

Top causes for wakeups:
  22.2% (248.7)             knode : schedule_timeout (process_timeout)
  11.1% (125.0)   USB device 3-2.1 : BCM2045 (Broadcom Corp)
  11.0% (123.5)      <kernel IPI> : Rescheduling interrupts
  10.1% (113.7)       <interrupt> : ehci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb5
   8.5% ( 95.5)           wish8.5 : futex_wait (hrtimer_wakeup)

Note that it's even more than an active bluetooth mouse.
Comment 3 Rolf Eike Beer 2008-02-12 21:34:08 UTC

*** This bug has been marked as a duplicate of 147944 ***