CPU idle


 
Thread Tools Search this Thread
Operating Systems Solaris CPU idle
# 1  
Old 01-19-2007
CPU idle

hi
when should we consider that CPU is loaded? When it is 100% idle or 0%idle??

tx
# 2  
Old 01-19-2007
cpu is 0% idle, that means it is heavy loaded... 100% idle means it is doing nothing...

regards pressy
# 3  
Old 01-19-2007
cpu is 0% idle, that means it is heavy loaded. so that could be due to processes consuming all cpu. right?


100% idle means it is doing nothing...> so that can be a dealock or a process hanging. right?


both of them (0 and 100%) are not a good sign. right?
# 4  
Old 01-19-2007
Quote:
Originally Posted by melanie_pfefer
cpu is 0% idle, that means it is heavy loaded. so that could be due to processes consuming all cpu. right?
Right. That's not necessarily bad, though. A system running at 100% CPU can still be quite responsive since CPU time is split relatively fairly among competing processes according to their priority levels. Two competing processes at the same priority level will split time 50/50... Or if they have different priority levels(see 'man nice' and 'man renice') the higher-priority process will get the majority of the time.
Quote:
100% idle means it is doing nothing... so that can be a dealock or a process hanging. right?
More likely the system just plain has nothing to do. Or you weren't looking at the right instant. Remember that most programs either start and finish in an instant, or sleep 99% of the time waiting for some sort of trigger. Unless the monitor updates at the exact right instant, you won't notice either.
Quote:
both of them (0 and 100%) are not a good sign. right?
Both of them are neither good nor bad in themselves. 100% CPU could just be somebody compressing a big file. 0% CPU could just mean the system has nothing to process at that particular instant.
# 5  
Old 01-19-2007
0% is very unsual, low single digits on an idle machine is not.

continuous 100% is bad, you may get a process grabbing everything that is available, but as Corona said, unless a process or thread it is scheduled with a higher than normal prority or is non-preemptable this should not cause the system major problems, it will just have to share with everyone else. An example of this would be something like running a large build which will probably grab every idle cycle you have.

If a server it "normally" using 100% of CPU it means that it is under spec for the workload ( any of memory or cpu or IO depending on the workload ) OR has one or more runnaway process that are hogging cpu.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Idle Process Exhausting CPU

I noticed when having some trouble with code I was testing that the CPU was becoming exhausted and I would have to reboot. After rebooting a couple times I decided to check for other problems before trying my code again. That's when I noticed that the CPU with the idle process was through the roof:... (5 Replies)
Discussion started by: Azrael
5 Replies

2. UNIX for Advanced & Expert Users

idle% cpu and run queue

Hi Everybody, Can anybody explain how CPU idle% is about 50%, but runq-sz more than 1? sar from Solaris 10: 00:00:05 %usr %sys %wio %idle 17:00:08 27 12 0 61 17:20:05 40 15 0 45 17:40:05 27 12 0 61 18:00:05 23... (2 Replies)
Discussion started by: sant
2 Replies

3. Solaris

Why CPU idle 0 process nohub lose

Hello Solaris 8 when CPU idle 0 . why nohub process lose ? Thank (1 Reply)
Discussion started by: ppmanja
1 Replies

4. Shell Programming and Scripting

Help on shell script conditional execution when CPU Idle > 60%

I need a shell script that will monitor a few conditions and not execute until the these conditions are met. The problem I'm having is that I can not perform a database snapshot (backup) of a sybaseIQ database unless the CPU Status Idle % is above 60% or the snapshot (backup) fails. If... (2 Replies)
Discussion started by: pancona99
2 Replies

5. Solaris

top is showing 0% cpu Idle

What should we do if we show a 0% cpu idl on top? (5 Replies)
Discussion started by: Pouchie1
5 Replies

6. Shell Programming and Scripting

How to get the information about cpu idle from top command?

I am using Ubuntu 9.04. I want to write a shell script to get the information about cpu idle from top command at the real time when i call it, compare cpu idle with 20 (20%), if cpu idle > 20 exit 1, vice versa exit 0. Anybody can help me to resolve it ? Thanks alot. (7 Replies)
Discussion started by: huyquocnguyen
7 Replies

7. Solaris

Multi CPU Solaris system shows 100% CPU usage.

Hello Friends, On one of my Solaris 10 box, CPU usage shows 100% using "sar", "vmstat". However, it has 4 CPUs and prstat and glance are not showing enough processes to justify high CPU utilization. ========================================================================= $ prstat -a ... (4 Replies)
Discussion started by: mahive
4 Replies

8. UNIX for Dummies Questions & Answers

CPU 0% idle - how do I find what was running?

Hi, I checking yesterday's SAR logs for one of our servers and it was showing that utilisation was down to 0% for 10 minutes at 2am. We're unaware of any jobs running at this time so need to find out which process caused this spike. Is there anything built into SAR (or does anything else exist)... (11 Replies)
Discussion started by: dlam
11 Replies

9. HP-UX

vmstat displays cpu idle time at 100%

Since yesterday the vmstat command is displaying the cpu idle time at 100%At each time interval. It never changes. Not sure what it means other than it Quit calculating that stat. And I'm curious why. Using sar I can display a correctCpu idle percent, but vmstat does not. Any ideas why or... (2 Replies)
Discussion started by: tfrye
2 Replies

10. HP-UX

sar output gives 98% idle CPU

Dear All, Our HPUX 8 GB 8CPU database server is behaving abnormally for the last 4+ weeks. I have generated a sar output and it is here- 11:46:52 %usr %sys %wio %idle 11:46:53 1 1 6 92 11:46:54 0 1 0 99 11:46:55 0 1 0... (3 Replies)
Discussion started by: Ashrunil
3 Replies
Login or Register to Ask a Question