Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2001 14:16:21 +0200 (SAT)
From:      John Hay <jhay@icomtek.csir.co.za>
To:        matt-sykes@excite.com (Matt Sykes)
Cc:        freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG
Subject:   Re: 0.00% CPU for all processes
Message-ID:  <200110161216.f9GCGL329767@zibbi.icomtek.csir.co.za>
In-Reply-To: <19663931.1003184867692.JavaMail.imail@patti.excite.com> from Matt Sykes at "Oct 15, 2001 03:27:47 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> >  > 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




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