Bug 160283 - High amount of CPU wakeups from plasma
Summary: High amount of CPU wakeups from plasma
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-03 00:46 UTC by Pascal d'Hermilly
Modified: 2008-06-16 04:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal d'Hermilly 2008-04-03 00:46:33 UTC
Version:            (using KDE 4.0.2)
Installed from:    Ubuntu Packages
OS:                Linux

Plasma uses quite a lot of cpu wakeups. About a tenth of the cpu wakeups on t61.

If this could be reduced, we could save considerable amount of battery-time. 

From Powertop:

Top causes for wakeups:
  18,2% ( 89,3)          knotify4 : schedule_timeout (process_timeout)
  12,4% ( 60,8)       <interrupt> : uhci_hcd:usb3, yenta, nvidia
  11,5% ( 56,4)       <interrupt> : PS/2 keyboard/mouse/touchpad
  10,8% ( 52,9)            plasma : schedule_timeout (process_timeout)


NB: Actually this is using KDE 4.0.3 packages but I could only select 4.0.2 while bugreporting
Comment 1 Aaron J. Seigo 2008-04-03 06:54:33 UTC
unfortunately this gives us very little useful, actionable information.

* what applets were running?

* what configuration were they in?

* what interaction did you have with them? (given your input devices were also active, i'm guessing you weren't just letting it sit there)

* what was actually causing the wakeups in plasma? (e.g. which applets, was it due to reactions to window manager updates (taskbar, pager) or the clock or ...)

* what else was running on the system?

if you are able to dig in and provide some or all of this information then this report can become useful. otherwise, it's a candidate for INVALID.
Comment 2 Pascal d'Hermilly 2008-04-03 18:05:28 UTC
Couldn't confirm with plain plasma.
mark as invalid.

Thx, Pascal

Aaron J.Seigo skrev:
[bugs.kde.org quoted mail]
Comment 3 Aaron J. Seigo 2008-04-03 18:23:38 UTC
what was the difference between "plain plasma" and the plasma configuration you were running during your earlier powertop session?
Comment 4 Pascal d'Hermilly 2008-04-03 18:33:19 UTC
big.
Plain plasma being only a black panel and desktop without widgets.

Before I had also bouncyBall and several KDE plasmoids

//Pascal

Aaron J.Seigo skrev:
[bugs.kde.org quoted mail]
Comment 5 Aaron J. Seigo 2008-04-03 18:55:16 UTC
it would be interesting to track down which plasmoids were causing the wakups. It should be easy enough: add them one at a time and watch the results of powertop.
Comment 6 Dimitris 2008-05-30 14:05:47 UTC
I monitor as well knotify4 wakeups and it's always around 10% (100)

 29.3% (325.8)   USB device  3-2 : B2C2 Broadband Rcvr USB Adpt. (B2C2, Inc.)
  24.8% (275.7)       <interrupt> : ehci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb4
   8.9% ( 99.4)          knotify4 : schedule_timeout (process_timeout)
   7.8% ( 86.3)       <interrupt> : saa7133[0], saa7133[0], nvidia
   6.8% ( 76.0)              kwin : schedule_timeout (process_timeout)
   4.4% ( 48.5)           mplayer : do_nanosleep (hrtimer_wakeup)
   4.2% ( 46.9)       <interrupt> : snd_ca0106
   3.5% ( 38.4)           konsole : schedule_timeout (process_timeout)
   2.8% ( 30.7)   USB device  2-1 : Microsoft Wireless Desktop Receiver 3.1A (Microsft)
   1.2% ( 13.7)       <interrupt> : pata_via
   1.2% ( 13.0)       <interrupt> : pata_pdc2027x, ndiswrapper
 29.3% (325.8)   USB device  3-2 : B2C2 Broadband Rcvr USB Adpt. (B2C2, Inc.)
  24.8% (275.7)       <interrupt> : ehci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb4
   8.9% ( 99.4)          knotify4 : schedule_timeout (process_timeout)
   7.8% ( 86.3)       <interrupt> : saa7133[0], saa7133[0], nvidia
   6.8% ( 76.0)              kwin : schedule_timeout (process_timeout)
   4.4% ( 48.5)           mplayer : do_nanosleep (hrtimer_wakeup)
   4.2% ( 46.9)       <interrupt> : snd_ca0106
   3.5% ( 38.4)           konsole : schedule_timeout (process_timeout)
   2.8% ( 30.7)   USB device  2-1 : Microsoft Wireless Desktop Receiver 3.1A (Microsft)
   1.2% ( 13.7)       <interrupt> : pata_via
   1.2% ( 13.0)       <interrupt> : pata_pdc2027x, ndiswrapper

The above results from powertop is with plasma not running. They do not change if i run plasma. I have only one plasmoid on desktop (folder view)
Comment 7 Aaron J. Seigo 2008-06-16 04:30:55 UTC
great.