On 26 August 2016 at 17:46, Slawa Olhovchenkov <s...@zxy.spb.ru> wrote:
> On Fri, Aug 26, 2016 at 04:55:34PM -0700, Adrian Chadd wrote:
>
>> Hi,
>>
>> I use the kernel lock profiling debugging,
>
> I am already have 100% utilise all CPU cores, I think this is drop
> performance?
>
>> but you can use dtrace to
>> get an idea:
>>
>> dtrace -n 'lockstat:::adaptive-block { @[stack()] = sum(arg1); }'
>
> How to interpret results (how to distinct lock contention from lock
> cost/overhead (LOCK CMPXCGQ is very expensive))?

well, paste the results? :)

the lock is expensive because it's contended. :)


-a

>> (https://wiki.freebsd.org/DTrace/One-Liners)
>>
>>
>>
>> -adrian
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to