Skip to content

Instantly share code, notes, and snippets.

@sejima
Created September 23, 2015 03:33
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 sejima/30432d68b9ff5273870e to your computer and use it in GitHub Desktop.
Save sejima/30432d68b9ff5273870e to your computer and use it in GitHub Desktop.
Xeon L5630:~$ for i in 1 2; do perf stat -e cycles,instructions,cache-references,cache-misses,stalled-cycles-frontend,stalled-cycles-backend,LLC-loads,LLC-load-misses ./test$i; sleep 3; done
16777216
Performance counter stats for './test1':
12433495368 cycles [49.90%]
20189930563 instructions # 1.62 insns per cycle
# 0.35 stalled cycles per insn [62.43%]
8512348 cache-references [62.49%]
4216625 cache-misses # 49.535 % of all cache refs [62.61%]
6994470819 stalled-cycles-frontend # 56.26% frontend cycles idle [62.63%]
270233891 stalled-cycles-backend # 2.17% backend cycles idle [62.57%]
88061 LLC-loads [49.98%]
32500 LLC-load-misses # 36.91% of all LL-cache hits [49.90%]
5.621416874 seconds time elapsed
16777216
Performance counter stats for './test2':
21166966474 cycles [50.02%]
20191834077 instructions # 0.95 insns per cycle
# 0.77 stalled cycles per insn [62.53%]
134780496 cache-references [62.53%]
121400730 cache-misses # 90.073 % of all cache refs [62.53%]
15493381212 stalled-cycles-frontend # 73.20% frontend cycles idle [62.53%]
6532339503 stalled-cycles-backend # 30.86% backend cycles idle [62.49%]
125100824 LLC-loads [49.97%]
116213474 LLC-load-misses # 92.90% of all LL-cache hits [50.00%]
9.511937843 seconds time elapsed
Xeon L5630:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment