Re: x86 perf's dTLB-load-misses broken on IvyBridge? II
From: Andi Kleen
Date: Wed Feb 19 2014 - 10:42:14 EST
> > [ C(DTLB) ] = {
> > [ C(OP_READ) ] = {
> > [ C(RESULT_ACCESS) ] = 0x81d0, /* MEM_UOP_RETIRED.ALL_LOADS */
> > [ C(RESULT_MISS) ] = 0x0108, /* DTLB_LOAD_MISSES.CAUSES_A_WALK */
> > },
Actually I tested on the wrong system earlier, sorry The miss event code
is wrong on IvyBridge, it should be 0x8108 (DTLB_LOAD_MISSES.DEMAND_LD_MISS_CAUSES_A_WALK),
not 0x0108.
BTW that event only counts demand loads, no prefetches, that would be a separate event.
dTLB-loads works with and without PEBS.
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/