From owner-freebsd-stable Mon Oct 15 23: 1:25 2001 Delivered-To: freebsd-stable@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id B1F0337B40D; Mon, 15 Oct 2001 23:01:15 -0700 (PDT) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id f9G611T20245; Tue, 16 Oct 2001 08:01:01 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200110160601.f9G611T20245@zibbi.icomtek.csir.co.za> Subject: Re: 0.00% CPU for all processes In-Reply-To: <174272.1003179053903.JavaMail.imail@patti.excite.com> from Matt Sykes at "Oct 15, 2001 01:50:51 pm" To: matt-sykes@excite.com (Matt Sykes) Date: Tue, 16 Oct 2001 08:01:01 +0200 (SAT) Cc: jhay@icomtek.csir.co.za (John Hay), freebsd-questions@freebsd.org, freebsd-stable@freebsd.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > > > > 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-stable" in the body of the message