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: Move info Re: CPU usage for kernel under 5.1b Date: Wed, 11 Jun 2003 16:04:08 -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 1055361754 29584 80.91.224.249 (11 Jun 2003 20:02:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 11 Jun 2003 20:02:34 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Jun 11 22:02:28 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 19QBnf-0007gH-00 for ; Wed, 11 Jun 2003 22:02:27 +0200 Original-Received: (qmail 21103 invoked by uid 5); 11 Jun 2003 20:04:50 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 21094 invoked by uid 49493); 11 Jun 2003 20:04:50 -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.540878 secs); 11 Jun 2003 20:04:50 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 11 Jun 2003 20:04:49 -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 <0HGC00E2T2FY9S@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 11 Jun 2003 16:04:47 -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 <0HGC00KM82FWB1@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 11 Jun 2003 16:04:45 -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 h5BK4YV9004637 for ; Wed, 11 Jun 2003 16:04:34 -0400 Original-Received: from [63.79.143.123] (port122.dyn.ao.net [63.79.143.123]) by mail.ao.net (8.12.9/8.12.9/Debian-1) with ESMTP id h5BK4VMn002299 for ; Wed, 11 Jun 2003 16:04:32 -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:4511 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4511 Hello all again, yesterday I posted about this small issue of system usage: > 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. I have gone through searching the list archives and google but although I found a little info from older posts, I didn't find anything that helped me track down the culprit yet. I did try to use ps to look up the threads but it hasn't helped because it's not giving the cpu usage per thread and more importantly not always saying what each thread is used by. Here's an example of ps that I did: ps axml -p 0 UID PID PPID CP PRI NI VSZ RSS WCHAN S TTY TIME COMMAND 0 0 0 131 38 -6 1.37G 37M * R < ?? 03:11:15 [kernel idle] 0 63 19 - R N 0:00.00 0 44 0 - R 0:00.00 0 38 -6 malloc_ S < 2:25.09 0 38 -6 180a0d8 U < 0:00.04 0 32 -12 ubc_pur I < 0:00.08 0 37 -7 Tswpin I < 0:00.00 0 37 -7 180a418 U < 0:00.00 0 37 -7 180a498 U < 0:00.00 0 38 -6 861908 I < 0:01.48 0 38 -6 863118 S < 0:00.01 0 38 -6 863158 I < 0:00.00 0 63 19 - R N 0:00.00 0 37 -7 a40280 U < 0:00.06 0 32 -12 9f1d88 U < 0:00.00 0 32 -12 9f1540 U < 0:00.00 0 32 -12 63f270 U < 0:00.00 0 32 -12 62f2c0 U < 0:00.07 0 32 -12 62f500 U < 0:00.00 4 32 -12 camwork S < 7:58.63 0 32 -12 camwork I < 0:00.00 0 32 -12 a01da0 U < 0:00.00 0 38 -6 ss_tmo S < 0:00.05 2 31 -13 isp_rq S < 3:46.75 0 38 -6 isp_abo I < 0:00.00 0 38 -6 isp_fm I < 0:00.00 0 38 -6 ss_tmo S < 0:00.08 0 38 -6 863ca0 U < 0:02.47 3 31 -13 isp_rq S < 3:45.90 0 38 -6 isp_abo I < 0:00.00 0 38 -6 isp_fm I < 0:00.01 0 38 -6 ss_tmo S < 0:00.12 0 38 -6 85eb50 U < 0:00.59 0 32 -12 6b7a6c U < 0:00.00 0 38 -6 8e337aa8 U < 0:00.06 0 41 -3 a40448 U < 0:00.00 0 33 -11 netisr S < 0:03.91 0 33 -11 netisr S < 0:03.87 0 33 -11 netisr S < 0:03.83 0 33 -11 tcpfstm S < 0:00.25 0 33 -11 tcpsltm S < 0:00.25 0 33 -11 574879f0 S < 0:00.88 0 38 -6 netrain I < 0:00.00 0 38 -6 netrain S < 0:00.02 0 38 -6 netrain I < 0:00.00 0 33 -11 icmp6_s S < 0:00.20 0 33 -11 icmp6_f S < 0:00.19 0 38 -6 ranbat I < 0:00.13 0 38 -6 8638a0 U < 0:00.03 1 38 -6 8de73e10 U < 1:52.69 0 38 -6 8de73db0 U < 0:00.00 0 38 -6 8de73d50 U < 0:00.01 0 38 -6 8de73cf0 U < 0:00.00 0 38 -6 8585e0 U < 0:00.00 0 38 -6 8de73c90 U < 0:00.00 0 38 -6 8de73c30 U < 0:00.01 0 38 -6 8de73bd0 U < 0:24.46 0 38 -6 8de73bd0 U < 0:24.91 0 38 -6 8de73b70 U < 01:17:07 118 38 -6 1b932c0 U < 01:16:16 0 38 -6 - U < 0:00.31 0 38 -6 8cc8c0 U < 0:00.00 0 0 -44 8cd250 U < 0:00.00 0 42 -2 26f290 U < 0:00.01 0 38 -6 85a3c0 U < 0:15.73 1 38 -6 9ef868 U < 8:15.07 2 38 -6 9ef868 U < 8:14.63 0 38 -6 86051c U < 0:00.00 0 38 -6 2be08180 U < 0:00.00 0 38 -6 ea5ad40 U < 0:00.00 0 38 -6 ea5ad00 U < 0:00.00 This isn't very helpful so far, unless I'm not reading something in this that is relevant (quite possible). One thing of importance that came up and didn't mention in my earlier post, is that I am not using nfs and I do have it in the kernel. Same thing with netrain, I'm not using it but it's there, although I doubt netrain would consume cpu like this anyway. Any suggestions as to what else to look at? -- Didier Godefroy mailto:dg@ulysium.net