Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2001 08:01:01 +0200 (SAT)
From:      John Hay <jhay@icomtek.csir.co.za>
To:        matt-sykes@excite.com (Matt Sykes)
Cc:        jhay@icomtek.csir.co.za (John Hay), freebsd-questions@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: 0.00% CPU for all processes
Message-ID:  <200110160601.f9G611T20245@zibbi.icomtek.csir.co.za>
In-Reply-To: <174272.1003179053903.JavaMail.imail@patti.excite.com> from Matt Sykes at "Oct 15, 2001 01:50:51 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> >  > >  I don't know. If this patch ever do go in, it will probably
> >  > >  have to be protected with a "#ifdef BROKEN_P2L97-DS" or
> >  > >  something similar.
> 
> >  > >  > And, since I still have a broken FreeBSD kernel, how do I to
> >  > >  > fix it?  Am I just out of luck with this motherboard?
> 
> >  > >  Well if you are brave enough, you can try my patch. :-) If you
> >  > >  see the message "Disabled Device 13 trap SMI for access to RTC
> >  > >  chip" during the boot phase, you will know that it did execute
> >  > >  the code in the patch.
> 
> Looks like it works!

Great.

> 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%.

That sounds ok.

> 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?

No when they don't do anything, we just plain admit it. :-) Not running
linux, I don't really know, but I would guess that they calculate it
differently than FreeBSD. Your last guess is probably also on target.
A process just sitting in select waiting for something to connect to
it, really can't use much cpu, well I would say it shouldn't use any
cpu at all. :-)

John
-- 
John Hay -- John.Hay@icomtek.csir.co.za

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?200110160601.f9G611T20245>