Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2008 03:10:47 +0000
From:      Hugo Silva <hugo@barafranca.com>
To:        freebsd-current@FreeBSD.ORG
Cc:        Kris Kennaway <kris@FreeBSD.org>
Subject:   Re: cpu usage in 7.0
Message-ID:  <47BF8EB7.9090007@barafranca.com>
In-Reply-To: <47BF5702.3020204@FreeBSD.org>
References:  <845250.18624.qm@web63909.mail.re1.yahoo.com> <47BF5702.3020204@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote:
> Barney Cordoba wrote:
>> I have a dual core system running 7.0 and I can't get
>> top to show more than 100% usage no matter how I
>> hammer it. My MAC shows over 100% often, but its not
>> clear if top is averaging the 2 cpus or just not going
>> over 100, or just showing 1 of the cpus.
>
> 100% in FreeBSD means "all of your CPUs are completely active".  It is 
> hard to exceed this amount :-)

You should see my production mysql going over 458% on service startup, 
on a quad core server :-)

>
>> Is there any way to show the per-cpu usage to get an
>> idea of the overall efficiency of sharing? Are there
>> any tools that can be used to monitor this? What
>> exactly is top showing?
>
> Not in 7.0.  8.0 supports top -P and vmstat -P
>
> Kris

   11 root        1 171 ki31     0K    16K CPU3   3  81.1H 100.00% idle: 
cpu3
   12 root        1 171 ki31     0K    16K CPU2   2  81.0H 100.00% idle: 
cpu2
   13 root        1 171 ki31     0K    16K CPU1   1  80.9H 100.00% idle: 
cpu1
   14 root        1 171 ki31     0K    16K RUN    0  80.3H 100.00% idle: 
cpu0

top -S (7.0-RC2)

>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscribe@freebsd.org"




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