Skip to content

Commit

Permalink
Merge pull request #12 from dr-sc/snoop_per_cache_level
Browse files Browse the repository at this point in the history
Split CACHE.SNOOP.REMOTE_REQ_LOCAL_HITM event per cache level
  • Loading branch information
bcstrongx authored Oct 25, 2024
2 parents c79e2fe + ac73c22 commit ab34ec3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
6 changes: 4 additions & 2 deletions adoc_event_tables/cache_spec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@
|CACHE.L2.PREF.MERGE |L2 cache hits caused by prefetcher where data is not yet in cache but was already requested by preceding miss.
|CACHE.L2.PREF.UNUSED |Number of cachelines brought into L2 by prefetcher and evicted without being accessed even once.
|CACHE.L2.WB |Writebacks to next level cache or memory.
|CACHE.SNOOP.LOCAL_REQ_REMOTE_HITM.SPEC |Private cache misses where data was found in another core cache in modified state. This event can be used to accout for contested accesses cases where several cores read/write the same cachelines.
|CACHE.SNOOP.REMOTE_REQ_LOCAL_HITM |Snoop requests which found cacheline in the core cache in modified state. This event can be used to accout for contested accesses cases where several cores read/write the same cachelines.
|CACHE.SNOOP.LOCAL_REQ_REMOTE_HITM.SPEC |Private cache misses where data was found in another core cache in modified state. This event can be used to account for contested accesses cases where several cores read/write the same cachelines.
|CACHE.L1.SNOOP.REMOTE_REQ_LOCAL_HITM |Snoop requests which found cacheline in the L1 data cache in modified state. This event can be used to account for contested accesses cases where several cores read/write the same cachelines.
|CACHE.L2.SNOOP.REMOTE_REQ_LOCAL_HITM |Snoop requests which found cacheline in the L2 cache in modified state. This event can be used to account for contested accesses cases where several cores read/write the same cachelines.
|CACHE.L3.SNOOP.REMOTE_REQ_LOCAL_HITM |Snoop requests which found cacheline in the L3 cache in modified state. This event can be used to account for contested accesses cases where several cores read/write the same cachelines.
|CACHE.L3.LOAD.ACCESS.SPEC |L3 cache accesses for load instructions. Speculatively executed instructions are also taken into account.
|CACHE.L3.LOAD.MISS.SPEC |L3 cache misses for load instructions. Speculatively executed instructions are also taken into account.
|CACHE.L3.LOAD.HIT.SPEC |L3 cache hits for load instructions. Speculatively executed instructions are also taken into account.
Expand Down
22 changes: 17 additions & 5 deletions event_files/cache_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,26 @@
{
"EventName": "CACHE.SNOOP.LOCAL_REQ_REMOTE_HITM.SPEC",
"EventCode": "0x0",
"BriefDescription": "Private cache misses where data was found in another core cache in modified state. This event can be used to accout for contested accesses cases where several cores read/write the same cachelines.",
"PublicDescription": "Private cache misses where data was found in another core cache in modified state. This event can be used to accout for contested accesses cases where several cores read/write the same cachelines."
"BriefDescription": "Private cache misses where data was found in another core cache in modified state. This event can be used to account for contested accesses cases where several cores read/write the same cachelines.",
"PublicDescription": "Private cache misses where data was found in another core cache in modified state. This event can be used to account for contested accesses cases where several cores read/write the same cachelines."
},
{
"EventName": "CACHE.SNOOP.REMOTE_REQ_LOCAL_HITM",
"EventName": "CACHE.L1.SNOOP.REMOTE_REQ_LOCAL_HITM",
"EventCode": "0x0",
"BriefDescription": "Snoop requests which found cacheline in the core cache in modified state. This event can be used to accout for contested accesses cases where several cores read/write the same cachelines.",
"PublicDescription": "Snoop requests which found cacheline in the core cache in modified state. This event can be used to accout for contested accesses cases where several cores read/write the same cachelines."
"BriefDescription": "Snoop requests which found cacheline in the L1 data cache in modified state. This event can be used to account for contested accesses cases where several cores read/write the same cachelines.",
"PublicDescription": "Snoop requests which found cacheline in the L1 data cache in modified state. This event can be used to account for contested accesses cases where several cores read/write the same cachelines."
},
{
"EventName": "CACHE.L2.SNOOP.REMOTE_REQ_LOCAL_HITM",
"EventCode": "0x0",
"BriefDescription": "Snoop requests which found cacheline in the L2 cache in modified state. This event can be used to account for contested accesses cases where several cores read/write the same cachelines.",
"PublicDescription": "Snoop requests which found cacheline in the L2 cache in modified state. This event can be used to account for contested accesses cases where several cores read/write the same cachelines."
},
{
"EventName": "CACHE.L3.SNOOP.REMOTE_REQ_LOCAL_HITM",
"EventCode": "0x0",
"BriefDescription": "Snoop requests which found cacheline in the L3 cache in modified state. This event can be used to account for contested accesses cases where several cores read/write the same cachelines.",
"PublicDescription": "Snoop requests which found cacheline in the L3 cache in modified state. This event can be used to account for contested accesses cases where several cores read/write the same cachelines."
},
{
"EventName": "CACHE.L3.LOAD.ACCESS.SPEC",
Expand Down

0 comments on commit ab34ec3

Please sign in to comment.