0

The 'perf stat' output for a certain executable is shown below.

2,207,929,785,602 cpu-cycles # 1.098 GHz [58.33%]
955,083,725,303 instructions # 0.43 insns per cycle [58.33%]
412,816,464,977 cache-references # 205.308 M/sec [58.33%]
38,645,898,456 cache-misses # 9.362 % of all cache refs [58.33%]
4,692,761,524 branch-misses # 2.334 M/sec [58.33%]
0 ref-cycles # 0.000 K/sec [58.34%]
2010722.835480 cpu-clock (msec)
2010721.870420 task-clock (msec) # 1.000 CPUs utilized
214,190 page-faults # 0.107 K/sec
4,931 context-switches # 0.002 K/sec
1 cpu-migrations # 0.000 K/sec
214,190 minor-faults # 0.107 K/sec
0 major-faults # 0.000 K/sec
0 alignment-faults # 0.000 K/sec
0 emulation-faults # 0.000 K/sec
412,932,984,788 L1-dcache-loads # 205.366 M/sec [58.33%]
38,652,092,016 L1-dcache-load-misses # 9.36% of all L1-dcache hits [50.00%]
412,973,918,453 L1-dcache-stores # 205.386 M/sec [50.00%]
38,637,972,959 L1-dcache-store-misses # 19.216 M/sec [50.00%]
137,439,818,973 branch-loads # 68.353 M/sec [50.00%]
4,695,820,373 branch-load-misses # 2.335 M/sec [50.00%]

I would like to know what the percentage values shown on the rightmost column in some of the rows mean.
Thank you.

2
Contributors
1
Reply
11
Views
2 Years
Discussion Span
Last Post by rubberman
1

It depends. Some seem to indicate the percentage of the CPU that the process is using. Others will indicate what percentage of cache hits don't find the data needed in the cache and so require reloading the data from memory (ram). You might want to read the man page for perf-stat for more information.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.