Hi, In prstat for a process (Java process) the Lck column says 80-90 % locked for a few threads for every 60 seconds reports. However when looking at lock contention with plockstat (-C option) there is only a few seconds worth of lock contention. I thought I should see much higher number from plockstat, why there is such a big difference?
If the process has say 4 threads and let us assume all four threads are locked for 80% in every 60 seconds report on prstat then should not there be lock contention for 4 times 80% of 60 seconds, i.e. 192 seconds of contention on plockstat? FYI - plockstat reports only a few seconds worth of contention on memory allocation. So there seems to be lock contention due to other reasons but how do you find out about other lock contention? Use of multi-threaded malloc (e.g. libumem) should improve this contention but need to find out the cause of other contentions. Thank you very much for the help. Mehdi Tondravi DMTS at Alcatel-Lucent -- This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org