Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2000 19:31:33 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.ORG>
To:        "Jose M. Alcaide" <jose@we.lc.ehu.es>
Cc:        current@FreeBSD.ORG
Subject:   RE: processes only consume system time ????
Message-ID:  <XFMail.000921193133.jhb@FreeBSD.org>
In-Reply-To: <39CA2B9C.DB675E0D@we.lc.ehu.es>

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

On 21-Sep-00 Jose M. Alcaide wrote:
> This happens with freshly built -CURRENT, on an uniprocessor machine:
> 
> $ cat loop.c
> main() { while (1); }
> $ time ./loop
>    [ wait for ten seconds... ]
> ^C
> real    0m9.982s
> user    0m0.000s
> sys     0m5.689s
> 
> Uh? Other utilities, such as top(1) and systat(1) show that 100% of time
> is accounted to the system. I imagine that this is related to SMPng...

Yes.  This is a FAQ.  The accounting is screwed up, and some of the
statistics are wrong.  Your system is scheduling processes close enough
to normal that you shouldn't have any problems.

> Any clues?
> 
> Cheers,
> -- JMA

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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