Skip to content

Instantly share code, notes, and snippets.

@lpgauth
Created February 23, 2015 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lpgauth/e85efa59b96726af235d to your computer and use it in GitHub Desktop.
Save lpgauth/e85efa59b96726af235d to your computer and use it in GitHub Desktop.
otp17-hipe-mfait-rwlock.patch
(rtb-gateway@***.bloomdigital.com)85> 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 [%]
----- --- ------- ------------ --------------- ---------- -------------
pollset 1 24256 6071 25.0289 170652 65.8227
drv_ev_state 16 30178 1486 4.9241 117592 45.3568
run_queue 28 308489 10163 3.2944 109278 42.1500
timeofday 1 24499 3263 13.3189 32380 12.4894
timer_wheel 1 16898 862 5.1012 12341 4.7601
proc_status 11621 127163 146 0.1148 4896 1.8885
proc_main 11621 122045 3719 3.0472 4422 1.7056
proc_link 11621 38783 171 0.4409 3389 1.3072
pix_lock 1024 92 6 6.5217 2976 1.1479
proc_msgq 11621 103294 423 0.4095 2756 1.0630
db_tab 87 79065 59 0.0746 853 0.3290
make_ref 1 7123 106 1.4881 394 0.1520
bif_timers 1 1293 44 3.4029 335 0.1292
pollset_rm_list 1 6401 55 0.8592 181 0.0698
db_hash_slot 832 11815 38 0.3216 88 0.0339
ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment