Re: [QUESTION]perf stat: comment of miss ratio

From: John Garry
Date: Wed Nov 13 2019 - 05:45:59 EST


On 09/11/2019 02:47, Andi Kleen wrote:
Relevant code is checked to make sure that the ratio is calculated by

L1-dcache-load-misses/L1-dcache-loads, data "7.58%=30249/399189*100%" also

proves this conclusion.

So, I'm not sure why we use "of all L1-dcache hits" here to describe miss
ratio,

Yes you're right it should be "of all L1-dcache accesses"

Please send a patch to fix the string and also check if this isn't wrong with some other
ratio too.


" 399,189 L1-dcache-loads # 246.396 M/sec
30,249 L1-dcache-load-misses # 7.58% of all L1-dcache hits (18.04%)"


If accesses and loads are equivalent, could we use consistent terminology?

Thanks,
John