Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 2008 13:40:04 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        William LeFebvre <bill@lefebvre.org>
Cc:        FreeBSD-stable@freebsd.org, FreeBSD-current@freebsd.org, Nikola Le??i?? <nikola.lecic@anthesphoria.net>, Edwin Groothuis <edwin@freebsd.org>
Subject:   Re: Request for testing - top 3.8b1 in the base system
Message-ID:  <20080928204004.GB87271@icarus.home.lan>
In-Reply-To: <48DFDF25.2090905@lefebvre.org>
References:  <20080928054620.GA80250@k7.mavetju> <20080928142409.19f94e5b@anthesphoria.net> <20080928193825.GC87069@icarus.home.lan> <48DFDF25.2090905@lefebvre.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 28, 2008 at 03:46:45PM -0400, William LeFebvre wrote:
> Jeremy Chadwick wrote:
>> On Sun, Sep 28, 2008 at 02:24:09PM +0200, Nikola Le??i?? wrote:
>
>>> Is it normal to have 100.64% for cc1?
>>
>> I would assume so, as your machine has more than one logical or
>> physical processor.
>>
>
> No, that was a per-thread display he posted.  Altho undesirable I can  
> come up with some plausible reasons why it is exceeding 100%, all  
> related to the uncertainty of trying to perform accurate measurements on  
> a moving target.  I suppose I could cap the percentage at 100 just for  
> aesthetic reasons, and to keep it from overflowing the column.

Ah ha.  That could also explain why gstat(8) has the same problem
(%busy column occasionally being >100, sometimes 102-103%).  A simple &
100 on the displayed value should suffice, yep.

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




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