In the last episode (Feb 07), O. Hartmann said:
> Try to find docs about the process states shown in top, but I can't find
> any hint for explanations what the abbrev.  do mean.
> 
> I have a problem with a scientific program using OpenMP showing STATE
> 'usem' in top.  Problem: the small program is much slower on a dual or
> four core CPU using OpenMP than using only a single core (single thread
> never show state 'usem' in top).

STATEs that aren't in caps are either wait channels or mutexes, and their
initialization is scattered all over the kernel.  There isn't one
comprehensive index.  "usem" sounds like maybe a semaphore operation?  A
quick grep of the kernel doesn't show any strings starting with "usem",
though.  Maybe if you run "procstat -k <pid>" on one of those processes you
can narrow down what part of the kernel it's waiting in.

-- 
        Dan Nelson
        dnel...@allantgroup.com
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to