> On Thu, Apr 10, 2008 at 12:08:59PM -0400, Jonathan Adams wrote:
> > 
> > Hrm;  try dropping the ', ustack()' from the script;  that way, you're  
> > only considering kernel stacks, which should raise the amount of signal.
> > 
> OK, this is again for 16k threads:
> 
> - 835 hits in unix`cpu_halt
> - 63 in unix`_resume_from_idle+0x83/genunix`restorectx+0x1f
> - 33 in unix`sys_syscall+0x100
> = The following were entered from unix`sys_syscall+0x17b
>   (cv_wait / cv_signal):
> - 53 in mutex_enter
> - 42 in genunix`sleepq_wakeone_chan+0x17
> - 38 in genunix`thread_lock+0x19
> - 36 in genunix`sleepq_insert+0x29
> - 34 in genunix`sleepq_insert+0x4e
> - 32 in genunix`lwp_hash_lookup+0x27
> 
> The total number of hits (I assume that's the final number at the
> bottom of the dump) is 3948.  The total running time was ~35 sec,
> and the cpu_halt is again ~20% of the time.

It may be useful to observe prstat -mL which will report micro-state 
accounting data for each thread. 

- akolb


_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to