1833017 Members
2264 Online
110048 Solutions
New Discussion

100% CPU Utilization

 
Alan Pham
New Member

100% CPU Utilization

Hi all,

I would like to know what "100% CPU Utilization" really means? For example, I have a Blade1000 Dual-CPU 900MHz/8GB RAM running Solaris8. I have only one Dolphin job running, and the "top" command shows that the CPU is 100% used. I thought 1 job could use at most 1 CPU, thus the CPU normalization would be more or less 50% for a Dual-CPU server?

Thanks!
--alan
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: 100% CPU Utilization

As with anything else in unix, it depends. If your program is designed to be multi-threaded then it is entirely possible that it could use 100% of both CPUs.
Rajeev  Shukla
Honored Contributor

Re: 100% CPU Utilization

When you use top command it shows % CPU utilization for the process and on the left hand column you'll see processor number i.e 0 or 1 which means that particular CPU is 100% being utilized by that process.
And the process to utilize both the CPU should be multi-threaded application
Steven E. Protter
Exalted Contributor

Re: 100% CPU Utilization

100% CPU utilization means that the CPU has something to do with every time slice.

If you write a program to be multi-threaded, it can actually use 100% of many CPU's. Most scripts however don't do that, which explains the second CPU not being used at full capacity.

A lot of this depends on how the OS handles SMP. There are also a lot of background programs handling things like disk i/o and daemons that will use some time slices on CPU's. Thats why when the OS is working you'll never see complete idle on the CPU's.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Brian Markus
Valued Contributor

Re: 100% CPU Utilization

I agree with Steven. It also means that you're getting what you paid for. :) I see tons of accounts where people buy several CPU's and one is at 10 - 50 percent and the others are idle. At least you use what you have.

-Brian.
When a sys-admin say's maybe, they don't mean 'yes'!