Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2001 07:51:16 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        Greg Lehey <grog@lemis.com>
Cc:        FBSD-Q <freebsd-questions@freebsd.org>
Subject:   Re: Top status from an SMP box
Message-ID:  <20010525075116.A97581@everest.wananchi.com>
In-Reply-To: <20010525100222.D26315@wantadilla.lemis.com>;  from "Greg Lehey" on Fri, May 25, 2001 at 10:02:22AM %2B0930
References:  <20010524124125.A20301@everest.wananchi.com> <20010525100222.D26315@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--2oS5YaxWCcQjTEyO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Greg Lehey <grog@lemis.com> [20010525 03:31]: writing on the subject 'Re:=
 Top status from an SMP box'
Greg> On Thursday, 24 May 2001 at 12:41:25 +0300, Odhiambo Washington wrote:
Greg> > Hello gurus,
Greg> > I am running an SMP box but the output of 'top' seems to confuse me.
Greg> >
Greg> > From the output below, is my processor any idle, and if so, what is=
 the
Greg> >> age??
Greg> > ##
Greg> >
Greg> > 81 process202921 running, 78 slee 0.06,  0.15,  0.25  up 1+01:34:24=
12:29:26
Greg> > 78U states:    1% user,  5% nice,  2% system,   % interrupt,     %i=
dle
Greg> > Mem: 85M Act 1.1 9728K I 0.0, 22M Wi 3.7 5664K Cac 0.922M Buf, 488K=
 F94.3e
Greg> > Swap: 350M Total,7996K Inact, 22M Wired, 8296K Cache, 22M Buf, 544K=
 Free
Greg> >
Greg> > At no point have I seen any numeral near the %idle, while I believe=
 it
Greg> > should be over 80%
Greg>=20
Greg> You don't say:
Greg>=20
Greg> 1.  What version of FreeBSD you're running.
Greg> 2.  How you invoke top.
Greg> 3.  Why you think the load should be round 80%.  There's nothing to
Greg>     suggest that in the output you show.
Greg>=20
Greg> I suspect that you might have a problem with a version mismatch.  The
Greg> entire output above looks somewhat strange.  I'm sure you don't really
Greg> have 202921 processes running, for example, and there's obvious
Greg> mutilation in the text.
Greg>=20
Greg> Greg

Hello Greg,
I am sorry I (forgot) to mention the finer details.
This box runs FreeBSD 4.3-STABLE. I updated it from 4.0 to 4.2 to 4.3 via
CVSUP and run mergemaster after every 'make world'. It is a box that I
inherited from a former employee. The only difference I made to it is
compiling an SMP kernel when I updated it. Since then all I've seen in the
output of top (invoked just by typing 'top') is confusion (me confused).

Well my guess about the load is as bad as you think - pure guess, because
that is about what I used to see when it was running on a single
processor. It is also true that the output of 'top' I pasted was slightly
modified to fit into my mail Window, only I did not realize it would miss
out on some details.

Here is an output of 'top -SI' (I'm not modifying it in any way)

last pid: 98886;  load averages:  0.05,  0.05,  0.02    up 1+20:53:04
07:48:06
64 processes:  2 running, 61 sleeping, 1 zombie
CPU states:  1.1% user,  0.0% nice,  3.9% system,  0.2% interrupt, 94.8%
idle
Mem: 83M Active, 11M Inact, 22M Wired, 6372K Cache, 22M Buf, 488K Free
Swap: 350M Total, 39M Used, 311M Free, 11% Inuse
  PID USERNAME        PRI NICE  SIZE    RES STATE  C   TIME   WCPU    CPU
COMMAN
D                                     6040         1      8  1.66%  1.66
9 469 squid            28   0 92008K  1168K CPU1   0  88:37  4.73%  1.56%
squid
98885 bishop1           2   0  1052K   620K sbwait 1   0:00  0.35%  0.05%
popa3
98871 geocarjones      28   0  1052K   580K CPU0   1   0:00  0.00%  0.00%
popa3

NB: What would be the cause of a version mismatch, the effects and how do
I test for such an anomally? How do I rectify the situation in case I have
a version mismatch?

Much thanks for your time and expert advise.


-Wash

--
Odhiambo Washington Wananchi Online Ltd.,
wash@wananchi.com 1st Flr Loita Hse
Tel: 254 2 313985 Loita Street.,
Fax: 254 2 313922 PO Box 10286, 00100-NAIROBI,KE.

The goal of science is to build better mousetraps.  The goal of nature
is to build better mice.

--2oS5YaxWCcQjTEyO
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7DeTEn7LIsuxjem8RAumLAJ9VuiQuyAV/ap7GCMm59o+AMMNgCwCfZWKh
y4yFZxRQtpb1foq6YNhuQ9c=
=GzmG
-----END PGP SIGNATURE-----

--2oS5YaxWCcQjTEyO--

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?20010525075116.A97581>