Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Sep 1996 08:33:10 +0200
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        Robin Cutshaw <robin@intercore.com>
Cc:        smp@freebsd.org
Subject:   Re: vmstat on smp 
Message-ID:  <8151.841818790@critter.tfs.com>
In-Reply-To: Your message of "Tue, 03 Sep 1996 21:59:47 EDT." <199609040159.VAA10680@intercore.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199609040159.VAA10680@intercore.com>, Robin Cutshaw writes:
>> 
>> 
>> I am doing a non-parallel make and see the cpu idle at 0 and most of the
>> time used in sys.  It doesn't look like the second cpu is being counted
>> in total cpu percentage available.  The "sys" figure looks suspect as
>> well.
>> 
>
>Well, to answer my own question, the cpuidle0 and cpuidle1 kernel idle
>processes are accumulating all of the sys ticks and they are being charged
>to them rather that to idle ticks.  This explains the displayed behavior.
>
>In kern/kern_clock.c:statclock() it looks like the check for non-null
>process in sys time should also check for the process being cpuidle0
>or cpuidle1.

Peter has better plans for the idle than to have those processes, but
until then: yes.

--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@ref.tfs.com       TRW Financial Systems, Inc.
Future will arrive by its own means, progress not so.



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