From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Goetzman, Dan" Newsgroups: gmane.os.tru64.managers Subject: System performance monitoring and kernel threads (nfsd) Date: Thu, 01 Aug 2002 10:29:19 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1028215749 27361 127.0.0.1 (1 Aug 2002 15:29:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 1 Aug 2002 15:29:09 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17aHsy-00077C-00 for ; Thu, 01 Aug 2002 17:29:08 +0200 Original-Received: (qmail 20688 invoked by uid 5); 1 Aug 2002 15:29:34 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 20680 invoked from network); 1 Aug 2002 15:29:34 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 1 Aug 2002 15:29:34 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H060064G8D4DP@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 01 Aug 2002 11:29:33 -0400 (EDT) Original-Received: from creeper.bmc.com (firebird.bmc.com [198.207.223.228]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H060080W8CZ58@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 01 Aug 2002 11:29:24 -0400 (EDT) Original-Received: from ec03-hou.bmc.com (localhost [127.0.0.1]) by creeper.bmc.com (8.10.2/8.10.2) with ESMTP id g71FT6H08698 for ; Thu, 01 Aug 2002 10:29:06 -0500 (CDT) Original-Received: by ec03-hou.bmc.com with Internet Mail Service (5.5.2653.19) id ; Thu, 01 Aug 2002 10:29:21 -0500 Content-return: allowed Original-To: "Tru64 UnixMgrs \(E-mail\)" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:1200 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1200 From a systems admin point of view... I am in the process of setting up long term perfomance monitoring and modeling on my 5.1A TruCluster system. The cluster is used as a large scale highly available file server and I wanted to view the amount of system resources used by both NFS and CIFS/SMB file serving (via ASU). The ASU part was easy, I just had to identify all the processes devoted to that task. NFS seems a bit more difficult to track. The nfsd daemons do the file serving, but it appears that they use "kernel threads" and the system kernel threads are run under the system process "kernel idle", as are all the other system kernel threads running on the system, nfs related or not. The nfsd daemons appear to do little work. So when I have a large nfs file serving load the performance monitoring (you could even use something like "top" to see this) will show the "kernel idle" process as using a fair amount of CPU, not the nfsd daemons. My question, how to account for the kernel thread activity and track it back to the "application" (NFS in my case)? Using normal tools and not having to manually look at the kernel threads via "ps axml" manually. I know you can see the kernel threads by using a few Tru64 options to ps (like "ps axml"), but how about typical system performance tools like top, etc? TIA... Dan Goetzman