High CPU usage applet

Mackenzie Morgan macoafi at gmail.com
Fri May 8 04:53:30 UTC 2009


On Friday 08 May 2009 12:40:04 am Timo Sirainen wrote:
> Somewhat relevant, yes, but I think people talking in that page don't  
> understand correctly the root cause of the problem. Linux scheduler is  
> good enough nowadays that even lots of processes all eating 100% CPU  
> don't make the system unusable. The problem comes from when some  
> process eats all the memory and starts forcing other processes to swap.
> 
> I just tested this actually. I created 100 processes running an  
> infinite loop, causing the system load on a 2 core machine to hit 100.  
> It was a bit sluggish, but still perfectly usable.

Quick question:
On a dual-core machine, does 100% CPU mean 100% of *both* cores or 100% of one 
and 0% of the other?  

I'm pretty sure I've seen top report 105% for a process before, so I thought 
100% on a dual core was really only half of the processing power.

-- 
Mackenzie Morgan
http://ubuntulinuxtipstricks.blogspot.com
apt-get moo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20090508/2b542eda/attachment.sig>


More information about the Ubuntu-devel-discuss mailing list