Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2001 12:42:10 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Mike Pumford <mpumford@mpc-data.co.uk>
Cc:        freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG
Subject:   Re: 0.00% CPU for all processes
Message-ID:  <20011016124209.A33631@dan.emsphone.com>
In-Reply-To: <200110161236.NAA17246@lion.mpc-data.co.uk>
References:  <200110160601.f9G611T20245@zibbi.icomtek.csir.co.za> <200110161236.NAA17246@lion.mpc-data.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Oct 16), Mike Pumford said:
> > > 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?
>
> top on Linux is really slow compared to the BSD versions. It is
> slower to update and always consumes a significant chunk of CPU. BSD
> top seems much more efficient. Possibly down to the fact the BSD top
> gathers its info with libkvm while linux top has to parse a load of
> files in /proc. I suspect there may be differences in the CPU usage
> calculation algorithm as well.

The first thing I do on every Linux box installed here at work is to
compile top-3.5beta12.  Works great.  Whatever ships with Linux doesn't
deserve to be called 'top'.

-- 
	Dan Nelson
	dnelson@allantgroup.com

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?20011016124209.A33631>