cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

memory.json (18119B)


      1[
      2    {
      3        "BriefDescription": "Execution stalls while L3 cache miss demand load is outstanding.",
      4        "CollectPEBSRecord": "2",
      5        "Counter": "0,1,2,3",
      6        "CounterMask": "6",
      7        "EventCode": "0xa3",
      8        "EventName": "CYCLE_ACTIVITY.STALLS_L3_MISS",
      9        "PEBScounters": "0,1,2,3",
     10        "SampleAfterValue": "1000003",
     11        "UMask": "0x6"
     12    },
     13    {
     14        "BriefDescription": "Number of machine clears due to memory ordering conflicts.",
     15        "CollectPEBSRecord": "2",
     16        "Counter": "0,1,2,3,4,5,6,7",
     17        "EventCode": "0xc3",
     18        "EventName": "MACHINE_CLEARS.MEMORY_ORDERING",
     19        "PEBScounters": "0,1,2,3,4,5,6,7",
     20        "PublicDescription": "Counts the number of Machine Clears detected dye to memory ordering. Memory Ordering Machine Clears may apply when a memory read may not conform to the memory ordering rules of the x86 architecture",
     21        "SampleAfterValue": "100003",
     22        "UMask": "0x2"
     23    },
     24    {
     25        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
     26        "CollectPEBSRecord": "2",
     27        "Counter": "0,1,2,3",
     28        "CounterMask": "2",
     29        "EventCode": "0x47",
     30        "EventName": "MEMORY_ACTIVITY.CYCLES_L1D_MISS",
     31        "PEBScounters": "0,1,2,3",
     32        "SampleAfterValue": "1000003",
     33        "UMask": "0x2"
     34    },
     35    {
     36        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
     37        "CollectPEBSRecord": "2",
     38        "Counter": "0,1,2,3",
     39        "CounterMask": "3",
     40        "EventCode": "0x47",
     41        "EventName": "MEMORY_ACTIVITY.STALLS_L1D_MISS",
     42        "PEBScounters": "0,1,2,3",
     43        "SampleAfterValue": "1000003",
     44        "UMask": "0x3"
     45    },
     46    {
     47        "BriefDescription": "MEMORY_ACTIVITY.STALLS_L2_MISS",
     48        "CollectPEBSRecord": "2",
     49        "Counter": "0,1,2,3",
     50        "CounterMask": "5",
     51        "EventCode": "0x47",
     52        "EventName": "MEMORY_ACTIVITY.STALLS_L2_MISS",
     53        "PEBScounters": "0,1,2,3",
     54        "SampleAfterValue": "1000003",
     55        "UMask": "0x5"
     56    },
     57    {
     58        "BriefDescription": "MEMORY_ACTIVITY.STALLS_L3_MISS",
     59        "CollectPEBSRecord": "2",
     60        "Counter": "0,1,2,3",
     61        "CounterMask": "9",
     62        "EventCode": "0x47",
     63        "EventName": "MEMORY_ACTIVITY.STALLS_L3_MISS",
     64        "PEBScounters": "0,1,2,3",
     65        "SampleAfterValue": "1000003",
     66        "UMask": "0x9"
     67    },
     68    {
     69        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 128 cycles.",
     70        "CollectPEBSRecord": "2",
     71        "Counter": "1,2,3,4,5,6,7",
     72        "Data_LA": "1",
     73        "EventCode": "0xcd",
     74        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_128",
     75        "MSRIndex": "0x3F6",
     76        "MSRValue": "0x80",
     77        "PEBS": "2",
     78        "PEBScounters": "1,2,3,4,5,6,7",
     79        "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 128 cycles.  Reported latency may be longer than just the memory latency.",
     80        "SampleAfterValue": "1009",
     81        "TakenAlone": "1",
     82        "UMask": "0x1"
     83    },
     84    {
     85        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 16 cycles.",
     86        "CollectPEBSRecord": "2",
     87        "Counter": "1,2,3,4,5,6,7",
     88        "Data_LA": "1",
     89        "EventCode": "0xcd",
     90        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_16",
     91        "MSRIndex": "0x3F6",
     92        "MSRValue": "0x10",
     93        "PEBS": "2",
     94        "PEBScounters": "1,2,3,4,5,6,7",
     95        "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 16 cycles.  Reported latency may be longer than just the memory latency.",
     96        "SampleAfterValue": "20011",
     97        "TakenAlone": "1",
     98        "UMask": "0x1"
     99    },
    100    {
    101        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 256 cycles.",
    102        "CollectPEBSRecord": "2",
    103        "Counter": "1,2,3,4,5,6,7",
    104        "Data_LA": "1",
    105        "EventCode": "0xcd",
    106        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_256",
    107        "MSRIndex": "0x3F6",
    108        "MSRValue": "0x100",
    109        "PEBS": "2",
    110        "PEBScounters": "1,2,3,4,5,6,7",
    111        "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 256 cycles.  Reported latency may be longer than just the memory latency.",
    112        "SampleAfterValue": "503",
    113        "TakenAlone": "1",
    114        "UMask": "0x1"
    115    },
    116    {
    117        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 32 cycles.",
    118        "CollectPEBSRecord": "2",
    119        "Counter": "1,2,3,4,5,6,7",
    120        "Data_LA": "1",
    121        "EventCode": "0xcd",
    122        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_32",
    123        "MSRIndex": "0x3F6",
    124        "MSRValue": "0x20",
    125        "PEBS": "2",
    126        "PEBScounters": "1,2,3,4,5,6,7",
    127        "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 32 cycles.  Reported latency may be longer than just the memory latency.",
    128        "SampleAfterValue": "100007",
    129        "TakenAlone": "1",
    130        "UMask": "0x1"
    131    },
    132    {
    133        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 4 cycles.",
    134        "CollectPEBSRecord": "2",
    135        "Counter": "1,2,3,4,5,6,7",
    136        "Data_LA": "1",
    137        "EventCode": "0xcd",
    138        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_4",
    139        "MSRIndex": "0x3F6",
    140        "MSRValue": "0x4",
    141        "PEBS": "2",
    142        "PEBScounters": "1,2,3,4,5,6,7",
    143        "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 4 cycles.  Reported latency may be longer than just the memory latency.",
    144        "SampleAfterValue": "100003",
    145        "TakenAlone": "1",
    146        "UMask": "0x1"
    147    },
    148    {
    149        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 512 cycles.",
    150        "CollectPEBSRecord": "2",
    151        "Counter": "1,2,3,4,5,6,7",
    152        "Data_LA": "1",
    153        "EventCode": "0xcd",
    154        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_512",
    155        "MSRIndex": "0x3F6",
    156        "MSRValue": "0x200",
    157        "PEBS": "2",
    158        "PEBScounters": "1,2,3,4,5,6,7",
    159        "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 512 cycles.  Reported latency may be longer than just the memory latency.",
    160        "SampleAfterValue": "101",
    161        "TakenAlone": "1",
    162        "UMask": "0x1"
    163    },
    164    {
    165        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 64 cycles.",
    166        "CollectPEBSRecord": "2",
    167        "Counter": "1,2,3,4,5,6,7",
    168        "Data_LA": "1",
    169        "EventCode": "0xcd",
    170        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_64",
    171        "MSRIndex": "0x3F6",
    172        "MSRValue": "0x40",
    173        "PEBS": "2",
    174        "PEBScounters": "1,2,3,4,5,6,7",
    175        "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 64 cycles.  Reported latency may be longer than just the memory latency.",
    176        "SampleAfterValue": "2003",
    177        "TakenAlone": "1",
    178        "UMask": "0x1"
    179    },
    180    {
    181        "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 8 cycles.",
    182        "CollectPEBSRecord": "2",
    183        "Counter": "1,2,3,4,5,6,7",
    184        "Data_LA": "1",
    185        "EventCode": "0xcd",
    186        "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_8",
    187        "MSRIndex": "0x3F6",
    188        "MSRValue": "0x8",
    189        "PEBS": "2",
    190        "PEBScounters": "1,2,3,4,5,6,7",
    191        "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 8 cycles.  Reported latency may be longer than just the memory latency.",
    192        "SampleAfterValue": "50021",
    193        "TakenAlone": "1",
    194        "UMask": "0x1"
    195    },
    196    {
    197        "BriefDescription": "Retired instructions with at least 1 store uop. This PEBS event is the trigger for stores sampled by the PEBS Store Facility.",
    198        "CollectPEBSRecord": "2",
    199        "Data_LA": "1",
    200        "EventCode": "0xcd",
    201        "EventName": "MEM_TRANS_RETIRED.STORE_SAMPLE",
    202        "PEBS": "2",
    203        "SampleAfterValue": "1000003",
    204        "UMask": "0x2"
    205    },
    206    {
    207        "BriefDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that were not supplied by the local socket's L1, L2, or L3 caches.",
    208        "Counter": "0,1,2,3",
    209        "EventCode": "0x2A,0x2B",
    210        "EventName": "OCR.DEMAND_CODE_RD.L3_MISS",
    211        "MSRIndex": "0x1a6,0x1a7",
    212        "MSRValue": "0x3FBFC00004",
    213        "Offcore": "1",
    214        "SampleAfterValue": "100003",
    215        "UMask": "0x1"
    216    },
    217    {
    218        "BriefDescription": "Counts demand data reads that were not supplied by the local socket's L1, L2, or L3 caches.",
    219        "Counter": "0,1,2,3",
    220        "EventCode": "0x2A,0x2B",
    221        "EventName": "OCR.DEMAND_DATA_RD.L3_MISS",
    222        "MSRIndex": "0x1a6,0x1a7",
    223        "MSRValue": "0x3FBFC00001",
    224        "Offcore": "1",
    225        "SampleAfterValue": "100003",
    226        "UMask": "0x1"
    227    },
    228    {
    229        "BriefDescription": "Counts demand reads for ownership (RFO) requests and software prefetches for exclusive ownership (PREFETCHW) that were not supplied by the local socket's L1, L2, or L3 caches.",
    230        "Counter": "0,1,2,3",
    231        "EventCode": "0x2A,0x2B",
    232        "EventName": "OCR.DEMAND_RFO.L3_MISS",
    233        "MSRIndex": "0x1a6,0x1a7",
    234        "MSRValue": "0x3F3FC00002",
    235        "Offcore": "1",
    236        "SampleAfterValue": "100003",
    237        "UMask": "0x1"
    238    },
    239    {
    240        "BriefDescription": "Counts hardware prefetches to the L3 only that missed the local socket's L1, L2, and L3 caches.",
    241        "Counter": "0,1,2,3",
    242        "EventCode": "0x2A,0x2B",
    243        "EventName": "OCR.HWPF_L3.L3_MISS",
    244        "MSRIndex": "0x1a6,0x1a7",
    245        "MSRValue": "0x94002380",
    246        "Offcore": "1",
    247        "SampleAfterValue": "100003",
    248        "UMask": "0x1"
    249    },
    250    {
    251        "BriefDescription": "Counts hardware prefetches to the L3 only that were not supplied by the local socket's L1, L2, or L3 caches and the cacheline is homed locally.",
    252        "Counter": "0,1,2,3",
    253        "EventCode": "0x2A,0x2B",
    254        "EventName": "OCR.HWPF_L3.L3_MISS_LOCAL",
    255        "MSRIndex": "0x1a6,0x1a7",
    256        "MSRValue": "0x84002380",
    257        "Offcore": "1",
    258        "SampleAfterValue": "100003",
    259        "UMask": "0x1"
    260    },
    261    {
    262        "BriefDescription": "Counts all (cacheable) data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that were not supplied by the local socket's L1, L2, or L3 caches.",
    263        "Counter": "0,1,2,3",
    264        "EventCode": "0x2A,0x2B",
    265        "EventName": "OCR.READS_TO_CORE.L3_MISS",
    266        "MSRIndex": "0x1a6,0x1a7",
    267        "MSRValue": "0x3F3FC04477",
    268        "Offcore": "1",
    269        "SampleAfterValue": "100003",
    270        "UMask": "0x1"
    271    },
    272    {
    273        "BriefDescription": "Counts all (cacheable) data read, code read and RFO requests including demands and prefetches to the core caches (L1 or L2) that missed the L3 Cache and were supplied by the local socket (DRAM or PMM), whether or not in Sub NUMA Cluster(SNC) Mode.  In SNC Mode counts PMM or DRAM accesses that are controlled by the close or distant SNC Cluster.  It does not count misses to the L3 which go to Local CXL Type 2 Memory or Local Non DRAM.",
    274        "Counter": "0,1,2,3",
    275        "EventCode": "0x2A,0x2B",
    276        "EventName": "OCR.READS_TO_CORE.L3_MISS_LOCAL_SOCKET",
    277        "MSRIndex": "0x1a6,0x1a7",
    278        "MSRValue": "0x70CC04477",
    279        "Offcore": "1",
    280        "SampleAfterValue": "100003",
    281        "UMask": "0x1"
    282    },
    283    {
    284        "BriefDescription": "Counts streaming stores that missed the local socket's L1, L2, and L3 caches.",
    285        "Counter": "0,1,2,3",
    286        "EventCode": "0x2A,0x2B",
    287        "EventName": "OCR.STREAMING_WR.L3_MISS",
    288        "MSRIndex": "0x1a6,0x1a7",
    289        "MSRValue": "0x94000800",
    290        "Offcore": "1",
    291        "SampleAfterValue": "100003",
    292        "UMask": "0x1"
    293    },
    294    {
    295        "BriefDescription": "Counts streaming stores that were not supplied by the local socket's L1, L2, or L3 caches and the cacheline is homed locally.",
    296        "Counter": "0,1,2,3",
    297        "EventCode": "0x2A,0x2B",
    298        "EventName": "OCR.STREAMING_WR.L3_MISS_LOCAL",
    299        "MSRIndex": "0x1a6,0x1a7",
    300        "MSRValue": "0x84000800",
    301        "Offcore": "1",
    302        "SampleAfterValue": "100003",
    303        "UMask": "0x1"
    304    },
    305    {
    306        "BriefDescription": "Number of times an RTM execution aborted.",
    307        "CollectPEBSRecord": "2",
    308        "Counter": "0,1,2,3,4,5,6,7",
    309        "EventCode": "0xc9",
    310        "EventName": "RTM_RETIRED.ABORTED",
    311        "PEBScounters": "0,1,2,3,4,5,6,7",
    312        "PublicDescription": "Counts the number of times RTM abort was triggered.",
    313        "SampleAfterValue": "100003",
    314        "UMask": "0x4"
    315    },
    316    {
    317        "BriefDescription": "Number of times an RTM execution aborted due to none of the previous 4 categories (e.g. interrupt)",
    318        "CollectPEBSRecord": "2",
    319        "Counter": "0,1,2,3,4,5,6,7",
    320        "EventCode": "0xc9",
    321        "EventName": "RTM_RETIRED.ABORTED_EVENTS",
    322        "PEBScounters": "0,1,2,3,4,5,6,7",
    323        "PublicDescription": "Counts the number of times an RTM execution aborted due to none of the previous 4 categories (e.g. interrupt).",
    324        "SampleAfterValue": "100003",
    325        "UMask": "0x80"
    326    },
    327    {
    328        "BriefDescription": "Number of times an RTM execution aborted due to various memory events (e.g. read/write capacity and conflicts)",
    329        "CollectPEBSRecord": "2",
    330        "Counter": "0,1,2,3,4,5,6,7",
    331        "EventCode": "0xc9",
    332        "EventName": "RTM_RETIRED.ABORTED_MEM",
    333        "PEBScounters": "0,1,2,3,4,5,6,7",
    334        "PublicDescription": "Counts the number of times an RTM execution aborted due to various memory events (e.g. read/write capacity and conflicts).",
    335        "SampleAfterValue": "100003",
    336        "UMask": "0x8"
    337    },
    338    {
    339        "BriefDescription": "Number of times an RTM execution aborted due to incompatible memory type",
    340        "CollectPEBSRecord": "2",
    341        "Counter": "0,1,2,3,4,5,6,7",
    342        "EventCode": "0xc9",
    343        "EventName": "RTM_RETIRED.ABORTED_MEMTYPE",
    344        "PEBScounters": "0,1,2,3,4,5,6,7",
    345        "PublicDescription": "Counts the number of times an RTM execution aborted due to incompatible memory type.",
    346        "SampleAfterValue": "100003",
    347        "UMask": "0x40"
    348    },
    349    {
    350        "BriefDescription": "Number of times an RTM execution aborted due to HLE-unfriendly instructions",
    351        "CollectPEBSRecord": "2",
    352        "Counter": "0,1,2,3,4,5,6,7",
    353        "EventCode": "0xc9",
    354        "EventName": "RTM_RETIRED.ABORTED_UNFRIENDLY",
    355        "PEBScounters": "0,1,2,3,4,5,6,7",
    356        "PublicDescription": "Counts the number of times an RTM execution aborted due to HLE-unfriendly instructions.",
    357        "SampleAfterValue": "100003",
    358        "UMask": "0x20"
    359    },
    360    {
    361        "BriefDescription": "Number of times an RTM execution successfully committed",
    362        "CollectPEBSRecord": "2",
    363        "Counter": "0,1,2,3,4,5,6,7",
    364        "EventCode": "0xc9",
    365        "EventName": "RTM_RETIRED.COMMIT",
    366        "PEBScounters": "0,1,2,3,4,5,6,7",
    367        "PublicDescription": "Counts the number of times RTM commit succeeded.",
    368        "SampleAfterValue": "100003",
    369        "UMask": "0x2"
    370    },
    371    {
    372        "BriefDescription": "Number of times an RTM execution started.",
    373        "CollectPEBSRecord": "2",
    374        "Counter": "0,1,2,3,4,5,6,7",
    375        "EventCode": "0xc9",
    376        "EventName": "RTM_RETIRED.START",
    377        "PEBScounters": "0,1,2,3,4,5,6,7",
    378        "PublicDescription": "Counts the number of times we entered an RTM region. Does not count nested transactions.",
    379        "SampleAfterValue": "100003",
    380        "UMask": "0x1"
    381    },
    382    {
    383        "BriefDescription": "Speculatively counts the number of TSX aborts due to a data capacity limitation for transactional reads",
    384        "CollectPEBSRecord": "2",
    385        "Counter": "0,1,2,3",
    386        "EventCode": "0x54",
    387        "EventName": "TX_MEM.ABORT_CAPACITY_READ",
    388        "PEBScounters": "0,1,2,3",
    389        "PublicDescription": "Speculatively counts the number of Transactional Synchronization Extensions (TSX) aborts due to a data capacity limitation for transactional reads",
    390        "SampleAfterValue": "100003",
    391        "UMask": "0x80"
    392    },
    393    {
    394        "BriefDescription": "Speculatively counts the number of TSX aborts due to a data capacity limitation for transactional writes.",
    395        "CollectPEBSRecord": "2",
    396        "Counter": "0,1,2,3",
    397        "EventCode": "0x54",
    398        "EventName": "TX_MEM.ABORT_CAPACITY_WRITE",
    399        "PEBScounters": "0,1,2,3",
    400        "PublicDescription": "Speculatively counts the number of Transactional Synchronization Extensions (TSX) aborts due to a data capacity limitation for transactional writes.",
    401        "SampleAfterValue": "100003",
    402        "UMask": "0x2"
    403    },
    404    {
    405        "BriefDescription": "Number of times a transactional abort was signaled due to a data conflict on a transactionally accessed address",
    406        "CollectPEBSRecord": "2",
    407        "Counter": "0,1,2,3",
    408        "EventCode": "0x54",
    409        "EventName": "TX_MEM.ABORT_CONFLICT",
    410        "PEBScounters": "0,1,2,3",
    411        "PublicDescription": "Counts the number of times a TSX line had a cache conflict.",
    412        "SampleAfterValue": "100003",
    413        "UMask": "0x1"
    414    }
    415]