Skip to content

Instantly share code, notes, and snippets.

@mdcallag
Created October 18, 2016 21:38
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save mdcallag/c2a5d375d567ca1532d33248cbbd2f9c to your computer and use it in GitHub Desktop.
# InnoDB
> perf stat -e cycles,instructions,cache-references,cache-misses,bus-cycles -a sleep 10
1,086,047,113,265 cycles [71.43%]
1,195,762,088,439 instructions # 1.10 insns per cycle [71.43%]
7,244,872,699 cache-references [71.43%]
1,029,562,672 cache-misses # 14.211 % of all cache refs [71.43%]
43,401,510,561 bus-cycles [71.43%]
# MyRocks
> perf stat -e cycles,instructions,cache-references,cache-misses,bus-cycles -a sleep 10
1,056,373,856,444 cycles [71.43%]
596,779,152,062 instructions # 0.56 insns per cycle [71.43%]
3,951,908,208 cache-references [71.43%]
803,454,461 cache-misses # 20.331 % of all cache refs [71.43%]
42,245,210,684 bus-cycles [71.43%]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment