Date: Tue, 22 Aug 2006 23:09:44 -0700 (PDT) From: Kip Macy <kmacy@fsmware.com> To: Jiawei Ye <leafy7382@gmail.com> Cc: Mike Jakubik <mikej@rogers.com>, stable@freebsd.org, Dan Nelson <dnelson@allantgroup.com> Subject: Re: TOP shows above 100% WCPU usage Message-ID: <20060822230917.O38889@demos.bsdclusters.com> In-Reply-To: <c21e92e20608212121g6c2f2015nad01aec68db97a87@mail.gmail.com> References: <44E1F796.5070105@rogers.com> <20060815172728.GB88051@dan.emsphone.com> <c21e92e20608212121g6c2f2015nad01aec68db97a87@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I've seen with libthr. What libraries are you using? -Kip On Tue, 22 Aug 2006, Jiawei Ye wrote: > On 8/16/06, Dan Nelson <dnelson@allantgroup.com> wrote: > > > How can mysql use 160%? Is this a reporting bug in top because mysql is > > > threaded? > > > > You have multiple CPUs, so a threaded process can theoretically reach > > 100*ncpus cpu usage. > > > > -- > > Dan Nelson > > dnelson@allantgroup.com > I am seeing this on a UP system too. > > last pid: 35355; load averages: 0.36, 0.08, 0.03 up 1+12:11:39 12:20:56 > 205 processes: 3 running, 202 sleeping > CPU states: 97.8% user, 0.0% nice, 1.5% system, 0.0% interrupt, 0.7% idle > Mem: 122M Active, 52M Inact, 59M Wired, 7808K Cache, 34M Buf, 524K Free > Swap: 1024M Total, 40M Used, 984M Free, 3% Inuse > > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 35343 www 22 4 0 275M 64620K accept 0:21 271.92% java > 767 jabber 1 91 0 8836K 1284K select 7:07 0.00% perl5.8.8 > 875 pgsql 1 91 0 19880K 1748K select 0:20 0.00% postgres > 840 vscan 1 4 0 22892K 18304K accept 0:17 0.00% clamd > 4733 www 27 4 0 17428K 3268K kqread 0:10 0.00% httpd > > -- > "Without the userland, the kernel is useless." > --inspired by The Tao of Programming > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060822230917.O38889>