From owner-freebsd-questions@FreeBSD.ORG Mon May 25 19:34:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A8201065762 for ; Mon, 25 May 2009 19:34:24 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq1.gn.mail.iss.as9143.net (smtpq1.gn.mail.iss.as9143.net [212.54.34.164]) by mx1.freebsd.org (Postfix) with ESMTP id E5FAA8FC15 for ; Mon, 25 May 2009 19:34:23 +0000 (UTC) (envelope-from peter@boosten.org) Received: from [212.54.34.140] (helo=smtp9.gn.mail.iss.as9143.net) by smtpq1.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1M8fwE-0005wg-Cq; Mon, 25 May 2009 21:34:22 +0200 Received: from [84.25.72.219] (helo=ra.egypt.nl) by smtp9.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1M8fvy-0004NW-MN; Mon, 25 May 2009 21:34:06 +0200 Received: from mbp.egypt.nl (mbp.egypt.nl [192.168.13.33]) by ra.egypt.nl (Postfix) with ESMTP id 15B593983B; Mon, 25 May 2009 21:34:06 +0200 (CEST) Message-Id: From: Peter Boosten To: Wojciech Puchar In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Mon, 25 May 2009 21:34:05 +0200 References: <200905241315.n4ODFB96007801@mp.cs.niu.edu> <4A1A58FA.60303@boosten.org> <1932D812-03CF-48AF-A306-669C39862EB7@boosten.org> X-Mailer: Apple Mail (2.935.3) X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1M8fvy-0004NW-MN X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.741, required 5, autolearn=not spam, BAYES_20 -0.74, SPF_PASS -0.00) X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Status: No Cc: Yuri , Scott Bennett , freebsd-questions@freebsd.org, utisoft@gmail.com Subject: Re: How can this 'top' command output make sense? Load over 7 and total CPU use ~5% X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2009 19:34:25 -0000 On 25 mei 2009, at 21:24, Wojciech Puchar wrote: >> >> The CPU will perform the same, whether at 10% utilization, or at >> 100% utilization, the system however won't. >> That's the difference between load and utilization. > > still don't understand you. > > CPU will not perform the same at 10% utilization, it will perform 10 > times less than at 100% utilization. *sigh* The CPU = "Central Processing Unit" will perform it's calculations at so many megahertz while at 10% utilization or at 100% utilization. The entire machine is only performing at 10% of its capacity, in your statement above. Load = burden. Under heavy _load_ the _machine_ will become sluggish, but the CPU will still be performing at the same megahertz speed. You cannot put the CPU under load (=burden), since it was designed to perform at 100% (actually it can be, if the queue length gets too large, and then it's called load, but that's not being done in top). The fact that the CPU has to wait for some I/O will not influence the performance of the CPU, but to the entire machine. > > > CPU load == CPU utilization == how big percentage of time CPU (or > CPUs by average) are doing anything except being in idle loop or hlt/ > waiting for interrupt. > it's exactly the same words in that context. > > > load average is how much processes (by average) is not doing > calculations because something is not yet available and depends of > computer resources(*) - like CPU time, disk I/O results etc.. > Actually, it's a combination of both running and waiting processes. > (*) - for example waiting on tty read is not calculated to load > average as it's depends on human not computer. Peter -- http://www.boosten.org