Good question, and I don't really know because it usually only takes something like ~5%.
All I've got going on in conky is the processes being monitored for cpu usage and memory usage, hard drive input/output graph, cpu load graph, and network down/up graphs. When things are working properly this barely makes a dent in total CPU usage, but when it starts to go all crazy like this it seems like any application opoen will use way more CPU than it ever has needed when things work normally.
For example, look at this top output I just took a few minutes ago:
Code:
top - 10:58:16 up 1 day, 15:23, 2 users, load average: 3.31, 3.12, 4.29
Tasks: 170 total, 3 running, 167 sleeping, 0 stopped, 0 zombie
Cpu(s): 76.2%us, 22.8%sy, 0.0%ni, 0.9%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 2049060k total, 1918236k used, 130824k free, 32104k buffers
Swap: 3227644k total, 212680k used, 3014964k free, 511736k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7121 bonez 20 0 1278m 965m 14m R 78 48.2 383:46.09 opera
1630 root 20 0 125m 74m 10m R 35 3.7 393:46.88 Xorg
2585 bonez 20 0 66928 1704 1284 S 28 0.1 202:42.50 conky
30197 bonez 20 0 165m 14m 10m S 18 0.7 0:51.65 gnome-terminal
1868 bonez 20 0 68512 11m 6788 S 14 0.6 171:27.64 compiz
26956 bonez 20 0 1156m 45m 4216 S 10 2.3 28:41.29 operapluginwrap
30221 bonez 20 0 2620 1160 844 R 5 0.1 0:56.70 top
27709 bonez 20 0 82144 19m 6380 S 4 1.0 27:35.70 vidalia
2644 bonez 20 0 23764 1496 1236 S 4 0.1 47:45.72 conky
10 root 20 0 0 0 0 S 1 0.0 1:11.51 events/1
64 root 20 0 0 0 0 S 1 0.0 10:48.46 kondemand/0
65 root 20 0 0 0 0 S 1 0.0 10:27.47 kondemand/1
26962 bonez 20 0 18800 3644 2620 S 1 0.2 1:59.19 operapluginwrap
26965 bonez 20 0 89444 3136 1312 S 1 0.2 0:58.95 GoogleTalkPlugi
9 root 20 0 0 0 0 S 0 0.0 0:09.34 events/0
384 root 20 0 0 0 0 S 0 0.0 0:09.87 flush-8:0
1870 bonez 20 0 3908 512 492 S 0 0.0 2:42.17 syndaemon
1888 root 20 0 5620 744 548 S 0 0.0 0:47.90 udisks-daemon
27713 bonez 20 0 38116 22m 5552 S 0 1.1 3:18.88 tor
1 root 20 0 2888 1380 992 S 0 0.1 0:00.99 init
2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0 0.0 0:59.52 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:02.45 migration/0
5 root RT 0 0 0 0 S 0 0.0 0:00.22 watchdog/0
6 root RT 0 0 0 0 S 0 0.0 0:03.48 migration/1
7 root 20 0 0 0 0 S 0 0.0 1:26.13 ksoftirqd/1
8 root RT 0 0 0 0 S 0 0.0 0:00.21 watchdog/1
11 root 20 0 0 0 0 S 0 0.0 0:00.00 cpuset
12 root 20 0 0 0 0 S 0 0.0 0:00.00 khelper
13 root 20 0 0 0 0 S 0 0.0 0:00.00 netns
14 root 20 0 0 0 0 S 0 0.0 0:00.00 async/mgr
15 root 20 0 0 0 0 S 0 0.0 0:00.00 pm
17 root 20 0 0 0 0 S 0 0.0 0:01.26 sync_supers
18 root 20 0 0 0 0 S 0 0.0 0:01.71 bdi-default
19 root 20 0 0 0 0 S 0 0.0 0:00.00 kintegrityd/0
20 root 20 0 0 0 0 S 0 0.0 0:00.00 kintegrityd/1
21 root 20 0 0 0 0 S 0 0.0 0:22.37 kblockd/0 [39;49 (B 0 0 0 0 S 0 0.0 0:00.00 kintegrityd/0
21 root 20 0 0 0 0 S 0 0.0 0:22.37 kblockd/0
22 root 20 0 0 0 0 S 0 0.0 0:01.27 kblockd/1
23 root 20 0 0 0 0 S 0 0.0 0:00.04 kacpid
24 root 20 0 0 0 0 S 0 0.0 0:00.06 kacpi_notify
25 root 20 0 0 0 0 S 0 0.0 0:00.00 kacpi_hotplug
26 root 20 0 0 0 0 S 0 0.0 0:00.00 ata_aux
27 root 20 0 0 0 0 S 0 0.0 0:05.06 ata_sff/0
28 root 20 0 0 0 0 S 0 0.0 0:00.60 ata_sff/1
28 root 20 0 0 0 0 S 0 0.0 0:00.60 ata_sff/1
29 root 20 0 0 0 0 S 0 0.0 0:00.03 khubd
30 root 20 0 0 0 0 S 0 0.0 0:00.01 kseriod
31 root 20 0 0 0 0 S 0 0.0 0:00.00 kmmcd
32 root 20 0 0 0 0 S 0 0.0 0:00.22 khungtaskd
33 root 20 0 0 0 0 S 0 0.0 0:29.05 kswapd0
34 root 25 5 0 0 0 S 0 0.0 0:00.00 ksmd
As well as this conky screenshot, showing a totally ridiculous 22.98% CPU usage for gedit, 20.39% CPU usage for Xorg, and 18.45% CPU usage for conky:
That is from the computer running 10.10. It was taken in the gnome 2.x desktop environment with only the default desktop effects turned on. I'm pretty sure it has nothing to do with compiz or the desktop effects because the same thing occurs when running fluxbox.
I upgraded my 11.10 computer to 12.04 beta hoping that the upgrade might solve the problem, but it did not. Here is the output of top from that machine, along with a screenshot of conky which shows the CPU load steady at around ~50%. This was taken with no programs open (aside from shutter and gnome-terminal). The only thing that I see that's unusual is kworker, which I don't know what it is or why it's running (but it's only taking up a tiny bit of CPU compared to Xorg and conky).
Code:
Tasks: 123 total, 3 running, 120 sleeping, 0 stopped, 0 zombie
Cpu(s): 69.3%us, 28.0%sy, 0.0%ni, 2.4%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 2049980k total, 831000k used, 1218980k free, 164984k buffers
Swap: 2928636k total, 0k used, 2928636k free, 425788k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5919 bonez 20 0 51060 13m 9132 R 62 0.7 0:02.16 perl
1308 root 20 0 71000 52m 11m R 42 2.6 38:37.66 Xorg
3688 bonez 20 0 83824 6296 4768 S 30 0.3 48:01.77 conky
5784 bonez 20 0 230m 15m 11m S 17 0.8 0:13.26 gnome-terminal
5875 bonez 20 0 2840 1156 880 R 4 0.1 0:02.43 top
3695 bonez 20 0 3928 1176 924 S 2 0.1 0:23.13 xcompmgr
5727 root 20 0 0 0 0 S 2 0.0 0:01.79 kworker/1:1
2415 root 20 0 0 0 0 S 1 0.0 1:17.52 kworker/0:1
3640 bonez 20 0 11772 5212 4268 S 1 0.3 0:21.56 fluxbox
560 messageb 20 0 3920 1732 844 S 1 0.1 1:25.69 dbus-daemon
1276 root 20 0 3588 644 496 S 1 0.0 0:25.71 irqbalance
1421 root 20 0 25888 7276 2160 S 1 0.4 1:41.27 wicd
3685 bonez 20 0 3772 1076 628 S 1 0.1 0:01.08 dbus-daemon
3690 bonez 20 0 284m 54m 24m S 1 2.7 0:48.81 cairo-dock
3771 bonez 20 0 123m 6004 4876 S 1 0.3 0:01.11 indicator-sound
5783 bonez 20 0 333m 42m 17m S 1 2.1 0:25.66 shutter
1463 root 20 0 15260 7972 4072 S 0 0.4 0:44.57 wicd-monitor
1498 root 20 0 6200 2764 1360 S 0 0.1 0:04.28 apache2
1 root 20 0 3648 2104 1348 S 0 0.1 0:14.07 init
2 root 20 0 0 0 0 S 0 0.0 0:00.03 kthreadd
3 root 20 0 0 0 0 S 0 0.0 0:03.84 ksoftirqd/0
5 root 20 0 0 0 0 S 0 0.0 0:12.89 kworker/u:0
6 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0
7 root RT 0 0 0 0 S 0 0.0 0:09.75 watchdog/0
8 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/1
10 root 20 0 0 0 0 S 0 0.0 0:13.72 ksoftirqd/1
12 root RT 0 0 0 0 S 0 0.0 0:00.45 watchdog/1
13 root 0 -20 0 0 0 S 0 0.0 0:00.00 cpuset
14 root 0 -20 0 0 0 S 0 0.0 0:00.00 khelper
15 root 20 0 0 0 0 S 0 0.0 0:00.04 kdevtmpfs
16 root 0 -20 0 0 0 S 0 0.0 0:00.00 netns
17 root 20 0 0 0 0 S 0 0.0 0:00.36 kworker/u:1
18 root 20 0 0 0 0 S 0 0.0 0:00.30 sync_supers
19 root 20 0 0 0 0 S 0 0.0 0:00.00 bdi-default
20 root 0 -20 0 0 0 S 0 0.0 0:00.00 kintegrityd
21 root 0 -20 0 0 0 S 0 0.0 0:00.00 kblockd
22 root 0 -20 0 0 0 S 0 0.0 0:00.00 ata_sff
23 root 20 0 0 0 0 S 0 0.0 0:00.10 khubd
24 root 0 -20 0 0 0 S 0 0.0 0:00.00 md
26 root 20 0 0 0 0 S 0 0.0 0:00.04 khungtaskd
27 root 20 0 0 0 0 S 0 0.0 0:00.04 kswapd0
And the screenshot:
I really hope somebody can help me out with this, I've tried myself to figure it out for a number of days now and haven't been able to. Also right now it wouldn't be so bad if only one computer was doing it but currently both of them are, making it nearly impossible to even make this post in the first place (let alone get any other work done).
Thank you in advance to anyone who can help.
Bookmarks