Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2001 07:17:24 +0200
From:      =?iso-8859-1?Q?R=E9mi_Guyomarch?= <rguyom@pobox.com>
To:        freebsd-questions@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: 0.00% CPU for all processes
Message-ID:  <20011017071724.A96520@diabolic-cow.chatgris.net>
In-Reply-To: <174272.1003179053903.JavaMail.imail@patti.excite.com>; from matt-sykes@excite.com on Mon, Oct 15, 2001 at 01:50:51PM -0700
References:  <174272.1003179053903.JavaMail.imail@patti.excite.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 15, 2001 at 01:50:51PM -0700, Matt Sykes wrote:
...
> 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?

Linux' top parse ascii strings from /proc
All *BSD tops use binary bits from sysctl() and thus are vastly faster
than Linux. With Linux on a slow sparc I've see top use between 5 and
10% of the cpu used only for top...

-- 
Rémi

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011017071724.A96520>