From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: ldg@ulysium.net Newsgroups: gmane.os.tru64.managers Subject: summary: CPU usage for kernel under 5.1b Date: Thu, 12 Jun 2003 22:37:57 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1055471780 30703 80.91.224.249 (13 Jun 2003 02:36:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2003 02:36:20 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Jun 13 04:36:17 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19QeQK-0007yr-00 for ; Fri, 13 Jun 2003 04:36:16 +0200 Original-Received: (qmail 7174 invoked by uid 5); 13 Jun 2003 02:38:45 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 7165 invoked by uid 49493); 13 Jun 2003 02:38:45 -0000 Original-Received: from ldg@ulysium.net by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-8.3/5.0):. Processed in 0.421002 secs); 13 Jun 2003 02:38:45 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 13 Jun 2003 02:38:44 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HGE005HYFCIE8@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 12 Jun 2003 22:38:42 -0400 (EDT) Original-Received: from matrix.ao.net (mail-gw2.ao.net [205.244.242.28]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTPS id <0HGE006FVFCBXC@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 12 Jun 2003 22:38:36 -0400 (EDT) Original-Received: from mail.ao.net (mail.ao.net [205.244.242.23]) by matrix.ao.net (8.12.9/8.12.9/Debian-1) with ESMTP id h5D2cQV9005946 for ; Thu, 12 Jun 2003 22:38:26 -0400 Original-Received: from [4.72.64.67] (dialup-4.72.64.67.Dial1.Orlando1.Level3.net [4.72.64.67]) by mail.ao.net (8.12.9/8.12.9/Debian-1) with ESMTP id h5D2cNMn014730 for ; Thu, 12 Jun 2003 22:38:24 -0400 In-reply-to: Original-To: Tru64 Unix managers User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6 Xref: main.gmane.org gmane.os.tru64.managers:4526 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4526 In my original post (see snippet below), I was asking how to track down what thread(s) would be consuming cpu time in the kernel while it's idling. I tried many things and got many different suggestions, such as various ps commands to get more detailed info about the threads running, but I couldn't find what those threads belonged to because those different commands don't give enough info in this case to find out for sure what is causing this. Basically, the system idles most of the time, as it isn't host of too many things yet, but the cpu usage from the idling kernel always shows 10% to 20%, and the load average between 0.1 and 0.2, all this while almost no activity is registering in any other processes. My only possible suspect was vfast, which I run on 5 domains, including root and usr, but I couldn't get any indication that vfast actually was causing this. I was then shown how to use dbx to track this down better in the kernel and found a relation to vfast in the cpu consuming thread(s). So I tried suspending operation of vfast on the root domain, which didn't change anything, but then suspended vfast on the usr domain, and sure enough, the cpu usage gradually dropped back to near zero, as well as the load average. So it is confirmed that vfast is causing this cpu usage and slight load even during extended periods of system inactivity. The one thing that still doesn't make sense to me, is that with a lot of very long periods of system inactivity, vfast runs all the time and never gets finished doing its job. Although I limited the IO usage of vfast to 1% during busy operation, this doesn't apply here, as the system is actually idling most of the time. I'm inclined to wonder how vfast will affect overall system performance during high system load, if it can't even finish its job in a reasonable amount of time while the system is completely idle, then how can it ever expect to keep things tidy during higher loads??? >> USER PID %CPU %MEM VSZ RSS TTY S STARTED TIME >> COMMAND >> root 0 12.5 2.9 1.37G 37M ?? R < 11:58:09 49:16.12 >> [kernel idle] >> >> >> load average: 0.14, 0.10, 0.10 >> >> The load average stay a lot around 0.10 and 0.20 even when most tasks are >> shut down and there's no load on the system. -- Didier Godefroy mailto:dg@ulysium.net