Skip to content

Instantly share code, notes, and snippets.

@rahilb
Last active February 5, 2018 16:52
Show Gist options
  • Select an option

  • Save rahilb/aee13c8abbb62f54f8ee4a01db27637d to your computer and use it in GitHub Desktop.

Select an option

Save rahilb/aee13c8abbb62f54f8ee4a01db27637d to your computer and use it in GitHub Desktop.
java perf

tools

https://github.com/RRZE-HPC/likwid

http://jpbempel.blogspot.ie/2013/08/hardware-performance-counters.html

CoreFreq - CPU monitoring software designed for the 64-bits Processors

hints

Use CAS sparingly, especially for hot paths.

CState

- How do you know that you actually disabled all power management? I'd monitor cstate and pstate to see what they actually are over time. Cool anecdote: We once had a case where something in the system was mysteriously elevating cstate away from 0 after we set to to 0. We never did find out what it was. The case was "resolved" with a cron job that set cstate to 0 every minute (yuck. I know). (Gil Tene)

https://gist.github.com/wmealing/2dd2b543c4d3cff6cab7

Only new and overhyped platforms don’t have problems, because nobody cares enough yet to discover them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment