Re: TOP shows above 100% WCPU usage

2006-08-22 Thread Jiawei Ye
On 8/23/06, Kip Macy <[EMAIL PROTECTED]> wrote: I've seen with libthr. What libraries are you using? -Kip libthr :) Jiawei -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming

Re: TOP shows above 100% WCPU usage

2006-08-22 Thread Kip Macy
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 <[EMAIL PROTECTED]> wrote: > > > How can mysql use 160%? Is this a reporting bug in top because mysql is > > > threaded? > > > > You have multiple

Re: TOP shows above 100% WCPU usage

2006-08-21 Thread Jiawei Ye
On 8/16/06, Dan Nelson <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] I am seeing this on

Re: TOP shows above 100% WCPU usage

2006-08-18 Thread Peter Jeremy
On Thu, 2006-Aug-17 10:57:04 -0400, Bill LeFebvre wrote: >Dan Nelson wrote: >>I just built top-3.6 on such a system, though, and it does report a >>simple "main(){for(;;);}" process as consuming 100 %CPU. Maybe you're >>thinking of Solaris's own prstat command? > >Heh. I released 3.6 with new Sun

Re: TOP shows above 100% WCPU usage

2006-08-17 Thread Brent Casavant
On Thu, 17 Aug 2006, Dan Nelson wrote: > In the last episode (Aug 17), Brent Casavant said: > > Note that IRIX's top does not bias for availabile CPUs -- I've seen > > well-threaded programs using in excess of 2400% CPU. > > > > What it comes down to is that depending on the nature of the > > inf

Re: TOP shows above 100% WCPU usage

2006-08-17 Thread Dan Nelson
In the last episode (Aug 17), Brent Casavant said: > Note that IRIX's top does not bias for availabile CPUs -- I've seen > well-threaded programs using in excess of 2400% CPU. > > What it comes down to is that depending on the nature of the > information you're trying to glean from WCPU, you may w

Re: TOP shows above 100% WCPU usage

2006-08-17 Thread Brent Casavant
On Thu, 17 Aug 2006, Chuck Swiger wrote: > On Aug 16, 2006, at 10:28 PM, Bill LeFebvre wrote: > > > > You have multiple CPUs, so a threaded process can theoretically reach > > > > 100*ncpus cpu usage. > > > > > > > Ahh, thats makes sense, thanks. > > > > Actually it doesn't. IMO, %CPU should be

Re: TOP shows above 100% WCPU usage

2006-08-17 Thread Chuck Swiger
On Aug 16, 2006, at 10:28 PM, Bill LeFebvre wrote: You have multiple CPUs, so a threaded process can theoretically reach 100*ncpus cpu usage. Ahh, thats makes sense, thanks. Actually it doesn't. IMO, %CPU should be biased for all available cpu, not just a single cpu. In other words, a s

Re: TOP shows above 100% WCPU usage

2006-08-17 Thread O. Hartmann
Bill LeFebvre wrote: O. Hartmann wrote: I use FreeBSD 6.1-STABLE/AMD on an pure 64Bit box/environment, single CPU Athlon 3500+, and sometimes I can see a 100%+ usage of WCPU in 'xine' or 'transmission'. So this is definitely not related to multiple CPUs. WCPU is supposed to be weighted in so

Re: TOP shows above 100% WCPU usage

2006-08-17 Thread Bill LeFebvre
Dan Nelson wrote: One problem is that method doesn't scale to lots of CPUs. On a Sun T2000 a non-threaded process consuming all of one CPU would only report 3.12 %CPU in that case (100/32). I agree. The alternative is having a 10-thread process on such a system report 1000% cpu utilization,

Re: TOP shows above 100% WCPU usage

2006-08-17 Thread Dan Nelson
In the last episode (Aug 17), Bill LeFebvre said: > Mike Jakubik wrote: > >Dan Nelson 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. > > > >Ahh, th

Re: TOP shows above 100% WCPU usage

2006-08-16 Thread Bill LeFebvre
O. Hartmann wrote: I use FreeBSD 6.1-STABLE/AMD on an pure 64Bit box/environment, single CPU Athlon 3500+, and sometimes I can see a 100%+ usage of WCPU in 'xine' or 'transmission'. So this is definitely not related to multiple CPUs. WCPU is supposed to be weighted in some way to take swap ti

Re: TOP shows above 100% WCPU usage

2006-08-16 Thread Bill LeFebvre
Mike Jakubik wrote: Dan Nelson 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. Ahh, thats makes sense, thanks. Actually it doesn't. IMO, %CPU should

Re: TOP shows above 100% WCPU usage

2006-08-16 Thread O. Hartmann
Dan Nelson wrote: In the last episode (Aug 15), Mike Jakubik said: 35 processes: 7 running, 28 sleeping CPU states: 58.1% user, 0.0% nice, 38.4% system, 1.1% interrupt, 2.4% idle Mem: 642M Active, 416M Inact, 125M Wired, 112M Buf, 825M Free Swap: 4071M Total, 4071M Free PID USERNAME T

Re: TOP shows above 100% WCPU usage

2006-08-15 Thread Mike Jakubik
Dan Nelson 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. Ahh, thats makes sense, thanks. ___ freebsd-sta

Re: TOP shows above 100% WCPU usage

2006-08-15 Thread Dan Nelson
In the last episode (Aug 15), Mike Jakubik said: > 35 processes: 7 running, 28 sleeping > CPU states: 58.1% user, 0.0% nice, 38.4% system, 1.1% interrupt, 2.4% idle > Mem: 642M Active, 416M Inact, 125M Wired, 112M Buf, 825M Free > Swap: 4071M Total, 4071M Free > > PID USERNAME THR PRI NICE

TOP shows above 100% WCPU usage

2006-08-15 Thread Mike Jakubik
last pid: 747; load averages: 2.69, 1.03, 0.58 up 0+01:40:40 10:14:29 35 processes: 7 running, 28 sleeping CPU states: 58.1% user, 0.0% nice, 38.4% system, 1.1% interrupt, 2.4% idle Mem: 642M Active, 416M Inact, 125M Wired, 112M Buf, 825M Free Swap: