Bug 221555 - High CPU usage after excluding hardware control icons in system tray settings
Summary: High CPU usage after excluding hardware control icons in system tray settings
Status: RESOLVED DUPLICATE of bug 207177
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-06 18:23 UTC by David Heijkamp
Modified: 2010-01-06 20:19 UTC (History)
1 user (show)

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


Attachments
CPU usage (23.59 KB, image/jpeg)
2010-01-06 18:25 UTC, David Heijkamp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Heijkamp 2010-01-06 18:23:46 UTC
Version:           0.3 (using KDE 4.3.4)
Compiler:          gcc 
OS:                Linux
Installed from:    Archlinux Packages

I noticed that when I change the system tray settings and exclude the icons for hardware control, the cpu usage of my laptop increased with about 40 percentage points while doing nothing else. (see the attached screenshot).

A bit before point 1 I disabled the icons for Hardware Control (in my case just the icon for knetworkmanager). The cpu usage would then rise when expanding the system tray. While doing this a tiny knetworkmanager icon would show for a fraction of a second. At point 2 I enabled the icons for Hardware Control again.

To test if it would make a difference if the networkmanager daemon was on or not, I repeated this without a running daemon. As you can see around points 3 and 4, it didn't.

I'm using Knetworkmanager 0.9 en Networkmanager 0.7.2
Comment 1 David Heijkamp 2010-01-06 18:25:18 UTC
Created attachment 39617 [details]
CPU usage
Comment 2 David Heijkamp 2010-01-06 18:29:40 UTC
BTW, I tested and confirmed this bug with a complete fresh test account.

Here some 'top' output:
top - 18:28:02 up 59 min,  2 users,  load average: 0.83, 0.23, 0.15
Tasks: 112 total,   3 running, 109 sleeping,   0 stopped,   0 zombie
Cpu(s): 38.7%us, 17.2%sy,  0.0%ni, 44.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   1545460k total,  1251832k used,   293628k free,   209548k buffers
Swap:  1052248k total,        0k used,  1052248k free,   595072k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 2981 root      20   0  109m  35m 8864 R 27.5  2.3   6:03.69 X
 3631 kitamozi  20   0  271m  42m  24m R 18.9  2.8   3:02.46 plasma-desktop
 3624 kitamozi  20   0  240m  26m  19m S  5.0  1.8   1:44.63 kwin
 3629 kitamozi  20   0  109m  19m  13m S  1.7  1.3   1:03.55 knotify4
 3726 kitamozi  20   0 95200  19m  13m S  1.0  1.3   0:03.68 konsole
Comment 3 Dario Andres 2010-01-06 20:19:12 UTC
This issue is being tracked at bug 207177. Thanks

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