On Fri, Apr 18, 2008 at 02:40:15PM -0400, Jonathan Adams wrote: > > On Apr 18, 2008, at 1:03 PM, Kleyson Rios wrote: > > Hi przemol, > > > > Bellow output of plockstat for malloc and libumem. Both many locks. > > Why changing to libumem I didn't get less locks ? > > > > You're looking at Mutex hold statistics, which don't mean a lot > (unless contention is caused by long hold times) > > The important thing for multi-threaded performance is *contention*. > (Spinning and blocking) Those are the statistics you should be > looking at. > > Both malloc and libumem use locks to protect their state; libumem > just uses many locks, in order to reduce contention.
So it seems Kleyson that I was wrong and rickey c weisner script is the way to go. Regards przemol -- http://przemol.blogspot.com/ ---------------------------------------------------------------------- Posluchaj najlepszych kawalkow w Sieci! http://link.interia.pl/f1da1 _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org