🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.admin
Article #4074

Re: Difference between a LOADed CPU & a non IDLE CPU ???

#4074
From: Andreas K�h�ri
Date: Thu, 12 Oct 2000 00:00
46 lines
1845 bytes
In article <8s2av7$k0g$1@wanadoo.fr>,
Cyrille MAUCCI <cyrille.maucci@wanadoo.fr> wrote:
>Hi,

>

>I am desperately looking for an answer to the following question:

>when my Unix system is getting slow, I just run 'top'

>sometimes, the average LOAD is high (at least 3), but CPU seems to be
>IDLE (close to 100%)

>sometimes, the average LOAD is correct (around 1), but CPU seems to work!!!

>

>I think I understand what the CPU TIME processing is, but I don't see
>how a machine can be LOADed with no CPU consuming process...

>Can you help me on this?

>

>Thanks

>Cyrille



The value of the load is the length of the queue of processes waiting
for their time to run (you may see it that way anyway). There may be
more things that stops them from running than the CPU being used 100%,
such as e.g. too much disk activity.

If there is only one highly active process running, then the load will
be around 1 and the CPU will be 100% used. Start 2 instances of that
program and the load will be 2 and the CPU will be 100% used.


/A

-- 
Andreas K�h�ri, 
Uppsala University, Sweden.
=============================={ "free", as in "software" --> www.gnu.org
Technical Details
Message-ID: <39e566bf@merganser.its.uu.se>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8s2av7$k0g$1@wanadoo.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f72b0,a7251066466c7b72
X-Google-Attributes: gidf72b0,public
X-Google-Thread: 1020c6,a7251066466c7b72
X-Google-Attributes: gid1020c6,public
X-Google-Thread: 110f2c,a7251066466c7b72
X-Google-Attributes: gid110f2c,public
From: Andreas K�h�ri <andkaha@emailme.net.REMOVE>
Subject: Re: Difference between a LOADed CPU & a non IDLE CPU ???
Date: 2000/10/12
Message-ID: <39e566bf@merganser.its.uu.se>
X-Deja-AN: 680469196
References: <8s2av7$k0g$1@wanadoo.fr>
X-Trace: 12 Oct 2000 09:22:39 +0100, bazaar.it.uu.se
Newsgroups: comp.unix.admin,comp.unix.misc,fr.comp.os.unix