Intel BX80571E7500 Programming Manual - Page 61

Table 2-31. S_CSR_PMON_CTR{3-0} Register - Field Definitions, Table 2-32. S_MSR_MM_CFG Register -

Page 61 highlights

INTEL® XEON® PROCESSOR 7500 SERIES UNCORE PROGRAMMING GUIDE UNCORE PERFORMANCE MONITORING The S-Box performance monitor data registers are 48b wide. A counter overflow occurs when a carry out bit from bit 47 is detected. Software can force all uncore counting to freeze after N events by preloading a monitor with a count value of (248 - 1) - N and setting the control register to send a PMI to the U-Box. Upon receipt of the PMI, the U-Box will disable counting ( Section 2.1.1.1, "Freezing on Counter Overflow"). During the interval of time between overflow and global disable, the counter value will wrap and continue to collect events. In this way, software can capture the precise number of events that occurred between the time uncore counting was enabled and when it was disabled (or 'frozen') with minimal skew. If accessible, software can continuously read the data registers without disabling event collection. Table 2-31. S_CSR_PMON_CTR{3-0} Register - Field Definitions Field event_count Bits HW Reset Val Description 47:0 0 48-bit performance event counter 2.5.3.4 S-Box Registers for Mask/Match Facility In addition to generic event counting, each S-Box provides a MATCH/MASK register pair that allows a user to filter outgoing packet traffic (system bound) according to the packet Opcode, Message Class, Response, HNID and Physical Address. Program the selected S-Box counter to capture TO_R_PROG_EV to capture the filter match as an event. To use the match/mask facility : a) Set MM_CFG (see Table 2-32, "S_MSR_MM_CFG Register - Field Definitions") reg bit 63 to 0. b) Program match/mask regs (see Table 2-33, "S_MSR_MATCH Register - Field Definitions"). (if MM_CFG[63] == 1, a write to match/mask will produce a GP fault). NOTE: The address and the Home Node ID have a mask component in the MASK register. To mask off other fields (e.g. opcode or message class), set the field to all 0s. c) Set the counter's control register event select to 0x0 (TO_R_PROG_EV) to capture the mask/match as a performance event. d) Set MM_CFG reg bit 63 to 1 to start matching. Table 2-32. S_MSR_MM_CFG Register - Field Definitions Field mm_en ig Bits HW Reset Val 63 62:0 0 Enable Match/Mask Read zero; writes ignored. Description 2-49

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146

I
NTEL
® X
EON
® P
ROCESSOR
7500 S
ERIES
U
NCORE
P
ROGRAMMING
G
UIDE
UNCORE PERFORMANCE MONITORING
2-49
The S-Box performance monitor data registers are 48b wide. A counter overflow occurs when a carry
out bit from bit 47 is detected. Software can force all uncore counting to freeze after N events by
preloading a monitor with a count value of (2
48
- 1) - N and setting the control register to send a PMI to
the U-Box. Upon receipt of the PMI, the U-Box will disable counting (
Section 2.1.1.1, “Freezing on
Counter Overflow”
). During the interval of time between overflow and global disable, the counter value
will wrap and continue to collect events.
In this way, software can capture the precise number of events that occurred between the time uncore
counting was enabled and when it was disabled (or ‘frozen’) with minimal skew.
If accessible, software can continuously read the data registers without disabling event collection.
Table 2-31. S_CSR_PMON_CTR{3-0} Register – Field Definitions
2.5.3.4
S-Box Registers for Mask/Match Facility
In addition to generic event counting, each S-Box provides a MATCH/MASK register pair that allows a
user to filter outgoing packet traffic (system bound) according to the packet Opcode, Message Class,
Response, HNID and Physical Address. Program the selected S-Box counter to capture TO_R_PROG_EV
to capture the filter match as an event.
To use the match/mask facility :
a) Set MM_CFG (see
Table 2-32, “S_MSR_MM_CFG Register – Field Definitions”
) reg bit 63 to 0.
b) Program match/mask regs (see
Table 2-33, “S_MSR_MATCH Register – Field Definitions”
). (if
MM_CFG[63] == 1, a write to match/mask will produce a GP fault).
NOTE: The address and the Home Node ID have a mask component in the MASK register. To mask off
other fields (e.g. opcode or message class), set the field to all 0s.
c) Set the counter’s control register event select to 0x0 (TO_R_PROG_EV) to capture the mask/match
as a performance event.
d) Set MM_CFG reg bit 63 to 1 to start matching.
Table 2-32. S_MSR_MM_CFG Register – Field Definitions
Field
Bits
HW
Reset
Val
Description
event_count
47:0
0
48-bit performance event counter
Field
Bits
HW
Reset
Val
Description
mm_en
63
0
Enable Match/Mask
ig
62:0
Read zero; writes ignored.