From owner-freebsd-stable Tue Oct 16 5:18:14 2001 Delivered-To: freebsd-stable@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id 822A237B40D; Tue, 16 Oct 2001 05:17:52 -0700 (PDT) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id f9GCGL329767; Tue, 16 Oct 2001 14:16:21 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200110161216.f9GCGL329767@zibbi.icomtek.csir.co.za> Subject: Re: 0.00% CPU for all processes In-Reply-To: <19663931.1003184867692.JavaMail.imail@patti.excite.com> from Matt Sykes at "Oct 15, 2001 03:27:47 pm" To: matt-sykes@excite.com (Matt Sykes) Date: Tue, 16 Oct 2001 14:16:21 +0200 (SAT) Cc: freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > > Looks like it works! > > > > > > In top, cvsup gradually comes up to about 40%, stays there a while, > > > then disappears (I couldn't think of another longish process to test > > > with). I guess that's correct. Before it would start at 2% then > > > quickly go back to 0%. > > > > > > dmesg says "Timecounter 'PIIX' frequency 3579545"; I guess that's > > > alright. > > > > > > One thing which surprises me, though --- all other processes are zero. > > > Is this normal? This is my first time seeing FreeBSD run. I have an > > > identical box here running linux (and each box runs a minimum of > > > services), where at least top will show nonzero CPU percentage in top, > > > usually around 0.5%. Does linux have more fine-grained timing, or is > > > it cheating, or does the margin of error render this test essentially > > > meaningless anyway? > > > > It's not unusual to see most of your processes at 0.00% in FreeBSD. > > > > >From the answers I've recieved, seems I wasn't clear enough. > I know that most of idle processes should be zero --- my > point is that top should show up in top, and since it does > in linux and with other FreeBSD top outputs I've seen, this > leads me to believe my kernel timer is still broken (and > it works on this same box running linux). > So do something like "cat /dev/zero | md5" and see if it show you something. Around here top is pretty quiet: 39815 root 96 0 2024K 1032K CPU1 0 0:00 0.00% 0.00% top 57045 jhay 96 0 2028K 768K select 1 3:06 0.00% 0.00% top 23617 jhay 28 0 2076K 544K RUN 19.8H 0.00% 0.00% top John -- John Hay -- John.Hay@icomtek.csir.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message