Uncore Manual
Reference Number: 329468-002 41
Uncore Performance Monitoring
Cacheing Agent (Cbo) Performance Monitoring
LLC_LOOKUP
• Title: Cache Lookups
• Category: CACHE Events
• Event Code: 0x34
• Max. Inc/Cyc:. 1, Register Restrictions: 0-1
• Definition: Counts the number of times the LLC was accessed - this includes code, data,
prefetches and hints coming from L2. This has numerous filters available. Note the non-standard
filtering equation. This event will count requests that lookup the cache multiple times with multi-
ple increments. One must ALWAYS set filter mask bit 0 and select a state or states to match. Oth-
erwise, the event will count nothing. CBoGlCtrl[22:17] bits correspond to [M'FMESI] state.
• NOTE: Bit 0 of the umask must always be set for this event. This allows us to match a given
state (or states). The state is programmed in Cn_MSR_PMON_BOX_FILTER.state. The state field
is a bit mask, so you can select (and monitor) multiple states at a time. 0 = I (miss), 1 = S, 2 =
E, 3 = M, 4 = F. For example, if you wanted to monitor F and S hits, you could set 10010b in the
5-bit state field. To monitor any lookup, set the field to 0x1F.
LLC_VICTIMS
• Title: Lines Victimized
• Category: CACHE Events
• Event Code: 0x37
• Max. Inc/Cyc:. 1, Register Restrictions: 0-1
• Definition: Counts the number of lines that were victimized on a fill. This can be filtered by the
state that the line was in.
Table 2-19. Unit Masks for LLC_LOOKUP
Extension
umask
[15:8]
Filter Dep Description
DATA_READ b00000011 CBoFilter0[
23:17]
Data Read Request
Read transactions
WRITE b00000101 CBoFilter0[
23:17]
Write Requests
Writeback transactions from L2 to the LLC This
includes all write transactions -- both Cacheable and
UC.
REMOTE_SNOOP b00001001 CBoFilter0[
23:17]
External Snoop Request
Filters for only snoop requests coming from the remote
socket(s) through the IPQ.
ANY b00010001 CBoFilter0[
23:17]
Any Request
Filters for any transaction originating from the IPQ or
IRQ. This does not include lookups originating from the
ISMQ.
NID b01000001 CBoFilter0[
23:17]
Lookups that Match NID
Qualify one of the other subevents by the Target NID.
The NID is programmed in
Cn_MSR_PMON_BOX_FILTER.nid. In conjunction with
STATE = I, it is possible to monitor misses to specific
NIDs in the system.
Table 2-20. Unit Masks for LLC_VICTIMS
Extension
umask
[15:8]
Filter Dep Description
M_STATE bxxxxxxx1 Lines in M state
E_STATE bxxxxxx1x Lines in E state
S_STATE bxxxxx1xx Lines in S State