From owner-freebsd-current@FreeBSD.ORG Mon Nov 29 16:16:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5879E16A4CE for ; Mon, 29 Nov 2004 16:16:40 +0000 (GMT) Received: from smtpauth01.mail.atl.earthlink.net (smtpauth01.mail.atl.earthlink.net [209.86.89.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2768143D31 for ; Mon, 29 Nov 2004 16:16:40 +0000 (GMT) (envelope-from welchsm@earthlink.net) Received: from [66.41.102.215] (helo=NitroPhys.welchsmnet.net) by smtpauth01.mail.atl.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1CYoCd-0006Mq-PP; Mon, 29 Nov 2004 11:16:39 -0500 Received: from NitroPhys.welchsmnet.net (localhost [127.0.0.1]) iATGGDhL069588; Mon, 29 Nov 2004 10:16:13 -0600 (CST) (envelope-from welchsm@localhost.welchsmnet.net) Received: (from welchsm@localhost) by NitroPhys.welchsmnet.net (8.13.1/8.13.1/Submit) id iATGGDaS069584; Mon, 29 Nov 2004 10:16:13 -0600 (CST) (envelope-from welchsm) Date: Mon, 29 Nov 2004 10:16:13 -0600 From: Sean Welch To: Dan Nelson Message-ID: <20041129161613.GA53189@NitroPhys.welchsmnet.net> References: <20041128233704.GB62951@NitroPhys.welchsmnet.net> <20041129154805.GD5518@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041129154805.GD5518@dan.emsphone.com> User-Agent: Mutt/1.5.6i X-ELNK-Trace: 15d86f98c8ef8acad780f4a490ca69563f9fea00a6dd62bc9559c7fcca35abee6fff7359eb55af82350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.41.102.215 X-Mailman-Approved-At: Tue, 30 Nov 2004 13:14:42 +0000 cc: freebsd-current@FreeBSD.org Subject: Re: top under 5.3-RELEASE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Sean_Welch@alum.wofford.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Nov 2004 16:16:40 -0000 On Mon, Nov 29, 2004 at 09:48:05AM -0600, Dan Nelson wrote: > For things like port builds, you end up with a lot of very short-lived > processes (sh, sed, cc, etc). Those either don't show up in top at all > becuase they have started and exited between the sampling intervals, or > else have not accumulated enough CPU time to register any %CPU (which > is a weighted average over time). Ah. Thank you for filling me in. > The values should total up better when you have processes that hang > around a bit more. There was a regression in 5.3's libpthreads that > can make it report 0 CPU, so if you have some CPU-hungry threaded > programs, they may not show up in top at all even though they're using > 100% cpu. libthr and libc_r report CPU correctly. Okay. Mostly what I've been seeing so far is the first scenario (as I'm still trying to set up the system the way I like it), but I'll file away the second for when I start hammering it in normal use. Sean