# US 2009/0271676 A1 · Detecting architectural vulnerability of processor resources

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2009/0271676 A1
- Document ID: US20090271676A1
- Status: Published application
- Kind: A1
- Application number: 12/148,812
- Filed: 2008-04-23
- Published: 2009-10-29
- Earliest claimed: 2008-04-23
- Assignees: Intel Corporation
- Inventors: Arijit Biswas; Niranjan Soundararajan; Shubhendu Mukherjee
- Web page: https://patentgrep.com/patent/US20090271676A1

## CPC

- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 11/3409: {for performance assessment}
- G06F 2201/88: Monitoring involving counting
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

In one embodiment, a quantum detector is provided to detect a vulnerability measure for a processor based on a processor metrics each associated with operation of a processor structure during a quantum, along with a controller to control an error mitigation unit based on the vulnerability measure. Other embodiments are described and claimed.

## Claims

### Claim 1

An apparatus comprising:
a plurality of counters each to maintain a utilization value for a storage unit of a processor during a quantum;
a second counter to count a number of mispredictions made by a prediction unit of the processor during the quantum; and
a first logic to determine a vulnerability measure for at least a first portion of the processor for the quantum based at least in part on the utilization values and the number of mispredictions.

### Claim 2 (depends on 1)

The apparatus of claim 1, further comprising a second logic to determine a vulnerability measure for a second portion of the processor for the quantum based at least in part on a second set of utilization values and the number of mispredictions.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the at least the first portion of the processor corresponds to a front end unit of the processor, and the second portion of the processor corresponds to a back end unit of the processor.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the first logic is to receive the utilization values and to determine the vulnerability measure according to a linear function having a plurality of terms each including a coefficient and one of the utilization values.

### Claim 5 (depends on 4)

The apparatus of claim 4, further comprising a second logic to receive the vulnerability measure and to generate a control signal to control at least one error mitigation unit of the processor based on the vulnerability measure.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the second logic is to enable an error detection mechanism of the at least one error mitigation unit if the vulnerability measure is greater than a first threshold and is to enable an error correction mechanism of the at least one error mitigation unit if the vulnerability measure is greater than a second threshold.

### Claim 7 (depends on 5)

The apparatus of claim 5, wherein the second logic is to receive a plurality of vulnerability measures each for one of a plurality of quanta and is to generate the control signal based on the plurality of vulnerability measures.

### Claim 8 (depends on 5)

The apparatus of claim 5, wherein the second logic is to disable the at least one error mitigation unit if the vulnerability measure is less than the first threshold, and wherein the at least one error mitigation unit is to be configured to perform non-error mitigation tasks when disabled by the second logic.

### Claim 9 (depends on 5)

The apparatus of claim 5, wherein the second logic is to dynamically control the at least one error mitigation unit to be enabled during a first portion of a program based on vulnerability measures of a first plurality of quanta and to be disabled based on vulnerability measures of a second plurality of quanta.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the apparatus comprises a processor and further comprising a detector including the plurality of counters, the second counter and the first logic, wherein the detector is associated with a first portion of the processor.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein at least one of the plurality of counters of the detector is associated with a structure in a second portion of the processor.

### Claim 12

A method comprising:
determining a quantized-architectural vulnerability factor (Q-AVF) value for a quantum for at least a portion of a processor using processor metrics;
comparing the Q-AVF value to at least one threshold value; and
dynamically controlling at least one error mitigation unit of the processor based on the comparison.

### Claim 13 (depends on 12)

The method of claim 12, further comprising determining the Q-AVF value according to a linear equation having a plurality of terms each corresponding to a processor metric value and a weight value.

### Claim 14 (depends on 13)

The method of claim 13, wherein each of the processor metric values corresponds to a utilization value for one of a plurality of front end structures of the processor.

### Claim 15 (depends on 14)

The method of claim 14, wherein a first utilization value corresponds to a number of valid entries in a structure for each cycle of the quantum.

### Claim 16 (depends on 15)

The method of claim 15, further comprising determining the first utilization value via shifting the number of valid entries by a logarithmic value corresponding to the quantum.

### Claim 17 (depends on 12)

The method of claim 12, further comprising determining the Q-AVF value for a front end unit of the processor based on processor metric values for an instruction decode queue of the front end unit, a branch predictor of the front end unit, and a retirement order buffer of a back end unit of the processor.

### Claim 18

A system comprising:
a multicore processor having a plurality of cores, wherein a first core includes a detector to detect a vulnerability measure for the first core based on a plurality of processor metric values each associated with operation of a core structure during a first time period, and a controller to control an error mitigation unit of the first core based on the vulnerability measure; and
a dynamic random access memory (DRAM) coupled to the multicore processor.

### Claim 19 (depends on 18)

The system of claim 18, wherein the detector includes a plurality of counters each to maintain the processor metric values during the first time period, a second counter to count a number of mispredictions made by a prediction unit of the first core during the first time period, and a first logic to determine the vulnerability measure for at least a first portion of the first core for the first time period based at least in part on the processor metric values and the number of mispredictions.

### Claim 20 (depends on 19)

The system of claim 19, wherein the detector further comprises a second logic to determine a second vulnerability measure for a second portion of the first core for the first time period based at least in part on a second set of processor metric values and the number of mispredictions.

### Claim 21 (depends on 19)

The system of claim 19, wherein the first logic is to receive the processor metric values and to determine the vulnerability measure according to a linear function having a plurality of terms each including a coefficient and one of the processor metric values.

### Claim 22 (depends on 18)

The system of claim 18, wherein the controller is enable an error detection mechanism of the error mitigation unit if the vulnerability measure is greater than a first threshold and is to enable an error correction mechanism of the error mitigation unit if the vulnerability measure is greater than a second threshold.

### Claim 23 (depends on 22)

The system of claim 22, wherein the controller is to receive a plurality of vulnerability measures each for one of a plurality of time periods and is to generate a control signal based on the plurality of vulnerability measures.

### Claim 24 (depends on 22)

The system of claim 22, wherein the error mitigation unit is to be configured to perform non-error mitigation tasks when disabled by the controller.
