Skip to content

Instantly share code, notes, and snippets.

@lpgauth
Created July 18, 2014 18:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lpgauth/2b3220f4bceeed6f62d0 to your computer and use it in GitHub Desktop.
Save lpgauth/2b3220f4bceeed6f62d0 to your computer and use it in GitHub Desktop.
HiPE lock contention
(rtb-gateway@h033.bloomdigital.com)9> lcnt:start(), lcnt:rt_opt({copy_save, true}), lcnt:clear(), timer:sleep(250), lcnt:collect(), lcnt:conflicts().
lock id #tries #collisions collisions [%] time [us] duration [%]
----- --- ------- ------------ --------------- ---------- -------------
hipe_mfait_lock 1 156537 156367 99.8914 2832642 1119.0905
pollset 1 5002 195 3.8984 17340 6.8505
drv_ev_state 16 6683 46 0.6883 2031 0.8024
timeofday 1 10206 301 2.9492 602 0.2378
run_queue 28 62350 107 0.1716 122 0.0482
timer_wheel 1 9350 123 1.3155 114 0.0450
proc_link 8902 21641 16 0.0739 91 0.0360
proc_status 8902 49801 4 0.0080 55 0.0217
proc_main 8902 44075 230 0.5218 44 0.0174
proc_msgq 8902 36721 4 0.0109 5 0.0020
make_ref 1 3482 12 0.3446 5 0.0020
pollset_rm_list 1 128 2 1.5625 1 0.0004
ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment