Oracle Solaris Performance, Panics, Hangs, and Dtrace (MOSC)

MOSC Banner

How many threads did a process create? (Seeing high lock contention)

edited Feb 8, 2016 12:10PM in Oracle Solaris Performance, Panics, Hangs, and Dtrace (MOSC) 7 commentsAnswered ✓

Hi all,

Is there any tool that can tell me how many _total_ threads a process spawned over it's lifetime?

I'm trying to debug an issue whereby we're seeing a serious performance drop when moving to a new system with more cores.  (An Oracle X5-2 if that matters.)

On both new and old boxes the app is hard coded to use "36" threads.  New box actually has 36 real cores.  The old box only had 20 real cores.

prstat shows much time is spent in the LCK state for the app's LWPs. Some stack examination shows that things are getting stuck in some memory allocation locks.    (This is C++ code, and I did try mtmalloc which only helped a little.)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center