I recently installed Ubuntu 11.10 with Unity to dual boot with windows 7 on my lap top. My laptop is running an Intel i7 quad-core and 8gb of RAM just as some background. I've noticed that when I'm running Ubuntu, my computer heats up a lot more than windows 7 and it seems like the battery life is a lot shorter. Using system monitor, I've seen that my computer goes through cycles of having 100% CPU usage to 20% to 1-3% and then back to 100% CPU usage. It does not, however, list the process that is eating up all this cpu (though occasionally, the gnome-system-monitor process is using 20% of my cpu). I was wondering what the problem is here? Is it a problem with unity? or is there something else going on? Mostly, when this is happening, I'm just using chrome or firefox, or empathy. Whats happening?
By default, System Monitor will only display your own processes. You can show system processes by selecting
Show -> All processes from the menu bar. Unity itself would never show up in the process list since it's just a plugin for Compiz. So if Unity was the problem, then Compiz would show a high CPU usage. Compiz 0.9 is slower than 0.8, this is confirmed. However, I see no reason why Unity itself should be very demanding, or why you would think so.
11.04 and 11.10 were two very special versions in that there were large amounts of changes in the underlying system. As an example, my laptop had a battery life of about 5.5 hours on 10.04, 4.5 hours on 11.04 and 4 hours on 11.10. I've upgraded it to the development version of 12.04 (Precise Pangolin) and now it's back at about 5.5 hours.
All this is to say that you're not imagining it. Specially 11.10 has been very power hungry, and there is no single piece of software to blame. The Linux kernel has had some power issues as well, for instance. My desktop sounded like a Harley Davidson in 11.10, but not it's completely silent again. So it's a problem with 11.10 in general, and 12.04 fixes it on all my computers. While I don't want to recommend that you upgrade to it yet, at least it should be comforting to know that it'll most likely fix all those issues, and that it'll be available in the not so distant future.
I cut my cpu usage down to almost 0, when idle, by doing these three things.
- I uninstalled Mozilla Firefox. (I use Opera web browser)
- I discovered VLC Media Player constantly running in the background. (Be sure you also don't have a program eating up your processor power)
- I installed BLEACHBIT to devour unused data and/or clean up unwanted processes trying to act on that data.
SUCCESS! I changed my dual core processors from one running maxed out and the other at 20% or more ALL the time.
I run UBUNTU 12.04 LTS stand-alone on a 5 year old Lenovo desktop, fresh install one week ago.
You should check with "top" in a terminal. I have a similar problem with plugin-container, it seems a known problem, look here for example: