Software Tuning, Performance Optimization & Platform Monitoring
Discussion around monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform monitoring
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

ICACHE IFTAG Skylake Meaning


Hi guys, i would understand better this counter, because  in some description it seems that count the miss and hit to the instruction cache, from my benchmark it seems not happens, i ask me if maybe count other thing, in some paper that i read, some guys use this counter for counting instruction TLB miss and hit so i'am little counfused about its purpose..!

Thanks a lot

0 Kudos
1 Reply
Black Belt

These are certainly documented as being related to instruction fetches, but this can be very hard to understand in Intel implementations.

Figure 2-2 and Figure 2-6 in the Intel Architectures Optimization Reference Manual (document 248966-042b, September 2019) show block diagrams for the SKX and SKL cores, respectively.   Micro-ops to be executed can be fetched from the "Decoded ICache (DSB)" or from the "Legacy Decode Pipeline" or from the "MSROM" (Microcode).  It is not clear exactly where "instruction fetch" is being counted.  If it is being counted only in the Legacy Decode Pipeline, for example, then the counts could miss fetches by the BPU (Branch Prediction Unit) into the Decoded ICache.   The comment in the Intel perfmon website ( for this event says that it counts at 64-Byte Cacheline granularity, which may not make sense for pre-decoded uops.

I have never tested the ICache-related counters on Intel architectures -- partly because the details can be confusing (and partly because applications in my world are not limited by instruction fetch).