隔离CPU缓存未命中的观察

时间:2019-01-22 06:45:33

标签: cpu cpu-cache perf

我在cpu核心12中有一个隔离cpu,我执行以下perf命令:

sudo perf stat -e DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK,ITLB_MISSES.MISS_CAUSES_A_WALK,DTLB_STORE_MISSES.MISS_CAUSES_A_WALK,cache-references,cache-misses -C 12 sleep 10 



Performance counter stats for 'CPU(s) 12':

             0      DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK                                   
             4      ITLB_MISSES.MISS_CAUSES_A_WALK                                   
             0      DTLB_STORE_MISSES.MISS_CAUSES_A_WALK                                   
           210      cache-references                                            
           176      cache-misses              #   83.810 % of all cache refs  

通常,我将perf cache-misses用于进程,如何解释这一点:cpu核心的cache-misses?!

0 个答案:

没有答案