From owner-freebsd-current Tue Mar 27 10:47: 7 2001 Delivered-To: freebsd-current@freebsd.org Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by hub.freebsd.org (Postfix) with ESMTP id 0BEB137B719; Tue, 27 Mar 2001 10:47:04 -0800 (PST) (envelope-from david@catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.10.0/8.10.0) id f2RIkxF15850; Tue, 27 Mar 2001 10:46:59 -0800 (PST) Date: Tue, 27 Mar 2001 10:46:59 -0800 (PST) From: David Wolfskill Message-Id: <200103271846.f2RIkxF15850@bunrab.catwhisker.org> To: david@catwhisker.org, jhb@FreeBSD.org Subject: Re: top output broked? Cc: current@FreeBSD.org In-Reply-To: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Date: Tue, 27 Mar 2001 10:21:46 -0800 (PST) >From: John Baldwin >> Hmm... mine loks like that (modulo #CPUs), except when I'm actually >> making it do some work (re-building the kernel, in this case). What I >> see ("top -S") looks like: >> last pid: 9546; load averages: 0.97, 0.64, 0.30 up 0+00:08:32 >> 08:51:47 >> 77 processes: 3 running, 57 sleeping, 2 zombie, 15 waiting >> CPU states: 91.1% user, 0.0% nice, 5.4% system, 0.4% interrupt, 3.1% idle >This is probably right.. Yes; that much of it "feels" about right. >I don't know why you are seeing such weirdness however. Is your world and >kernel out of sync. Assuredly not, but I understand the rationale behind the question. :-) (I have the "script" log available for perusal....) >It's a nice (mis)feature now that if items in the middle >of kinfo_proc change size it still tries to use the misordered data rather than >complaining about it like it used to. :-P See my other e-mail where top on my >laptop doles out time to userland tasks ok. >> I confess a degree of skepticism.... :-} >I agree. :-) >Date: Tue, 27 Mar 2001 10:21:45 -0800 (PST) >From: John Baldwin >Keep in mind that we no longer charge interrupt time to the process being >interrupted, instead all that interrupt handling has been pushed off into >ithreads. Same for software interrupt threads. OK; that's a good & useful thing to keep in mind. And I did see some IRQ-related entries in top's output. >That said, I don't see how X is so idle, it's certainly not on my laptop: > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > 454 john 4 0 44440K 43464K select 1:57 4.05% 4.05% XFree86 > 461 john 4 0 17076K 16144K select 0:35 0.39% 0.39% enlightenment > 492 john 4 10 3072K 2040K select 0:28 0.10% 0.10% E-ScreenSave. Eh... the "enlightenment" line may provide a clue there. I use tvtwm as a window manager. :-} (I figure anything that could be marginally acceptable on a (maxed out) 24 MB Sun 3/60 ought to be adequate for this 750 MHz/256 MB laptop....) Cheers, david -- David H. Wolfskill david@catwhisker.org As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message