Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2001 18:39:33 +0200
From:      Cliff Sarginson <cliff@raggedclown.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: 0.00% CPU for all processes
Message-ID:  <20011018183933.F2096@raggedclown.net>
In-Reply-To: <20011017071724.A96520@diabolic-cow.chatgris.net>; from rguyom@pobox.com on Wed, Oct 17, 2001 at 07:17:24AM %2B0200
References:  <174272.1003179053903.JavaMail.imail@patti.excite.com> <20011017071724.A96520@diabolic-cow.chatgris.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 17, 2001 at 07:17:24AM +0200, Rémi Guyomarch wrote:
> 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...
> 
> -- 
> Rmi

This is interesting stuff.
I use both FreeBSD and Linux, and am always bemused by seeing
top at the top in Linux. I thought it might have been an ego thing by
the author .. :).

-- 
Regards
Cliff



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




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