Re: [perf-discuss] prstat-m - cpu% does not add to 100% ?

2007-02-10 Thread johansen-osdev
Eugene: I think I understand why your microstate values aren't adding up to 100%. The fact that you're running Solaris 9 has a lot to do with the problem. Microstate accounting only updates its timestamps when a lwp transitions from one state to another. So, in your case, your lwp has been idle

Re: [perf-discuss] prstat-m - cpu% does not add to 100% ?

2007-02-10 Thread adrian cockcroft
On 2/9/07, Eugene Margulis <[EMAIL PROTECTED]> wrote: I understand that prstat -m shows microstate wallclock utilization that should add up to 100% from USR to LAT. Why do you think it should add up? Its not that simple. For a start, the display you are looking at is process level stats, and

[perf-discuss] Re: prstat-m - cpu% does not add to 100% ?

2007-02-10 Thread Eugene Margulis
here is the info: gcars0d7% uname SunOS gcars0d7% uname -i SUNW,Netra-440 gcars0d7% uname -X System = SunOS Node = gcars0d7 Release = 5.9 KernelID = Generic_118558-33 Machine = sun4u BusType = Serial = Users = OEM# = 0 Origin# = 1 NumCPU = 4 Are there any legitimate cases when the cpu% does no

Re: [perf-discuss] prstat-m - cpu% does not add to 100% ?

2007-02-10 Thread johansen-osdev
What version of Solaris are you running? Any additional details you could provide about your configuration and software would be helpful. -j On Fri, Feb 09, 2007 at 01:05:39PM -0800, Eugene Margulis wrote: > I understand that prstat -m shows microstate wallclock utilization that > should add up