# US 11,119,800 B1 · Detecting and mitigating hardware component slow failures

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

- Number: US 11,119,800 B1
- Document ID: US11119800B1
- Status: Granted
- Kind: B1
- Application number: 16/022,626
- Filed: 2018-06-28
- Granted: 2021-09-14
- Earliest claimed: 2018-06-28
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Marcin Piotr Kowalski
- Web page: https://patentgrep.com/patent/US11119800B1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 3/061: {Improving I/O performance}
- G06F 11/3051: {Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs (verification or detection of system hardware configuration G06F11/2247)}
- G06F 11/3409: {for performance assessment}
- G06F 11/3452: {Performance evaluation by statistical analysis}
- H04L 1/16: in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L 1/18: Automatic repetition systems, e.g. Van Duuren systems
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F 2009/45591: {Monitoring or debugging support}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Techniques for monitoring computer system components for degraded operation are described. In some embodiments, a baseline performance metric value is received from a system monitoring service, a request directed to an input/output (I/O) device is received that was generated by a first computing device, a timer is started, the timer having a duration based on the baseline performance metric value, the received request is sent to the I/O device, an error message is generated upon expiration of the duration of the timer before a response to the request is received from the I/O device, and the generated error message is sent to a second computing device to cause the second computing device to perform at least one action in response to the generated error message.

## Claims

### Claim 1

A computer-implemented method performed by a proxy for an input/output (I/O) device comprising:
receiving a baseline performance metric value from a system monitoring service, wherein the baseline performance metric value represents a maximum latency associated with an operation with the I/O device in a computer system having a certain configuration, and wherein the baseline performance metric value is determined based at least in part on a statistical analysis of a set of collected performance metrics associated with the I/O device and application of one or more configuration parameters associated with the I/O device to the statistical analysis of the set of performance metrics;
receiving a request generated by a first computing device to perform the operation, the request directed to the I/O device;
starting a timer having a duration based on the baseline performance metric value associated with the operation, wherein the baseline performance metric value is determined based on obtained and aggregated performance metrics associated with the I/O device;
sending the received request to perform the operation to the I/O device;
generating an error message upon expiration of the duration of the timer before a response to the request is received from the I/O device;
sending the generated error message to a second computing device to cause the second computing device to perform at least one action in response to the generated error message;
receiving a response from the I/O device after expiration of the duration of the timer; and
suppressing the received response from the I/O device.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the request is received via a first interconnect interface and the received request is sent via a second interconnect interface.

### Claim 3

A non-transitory computer-readable storage medium storing computer program instructions comprising functionality for performing, by a proxy for a second device:
receiving a baseline performance metric value from a system monitoring service, wherein the baseline performance metric value represents a maximum latency associated with an operation with the second device in a computer system having a certain configuration, and wherein the baseline performance metric value is determined based at least in part on a statistical analysis of a set of collected performance metrics associated with the I/O device and application of one or more configuration parameters associated with the I/O device to the statistical analysis of the set of performance metrics;
receiving a request generated by a first device to perform an operation with the second device, the request directed to the second device;
starting a timer having a duration based on a baseline performance metric value associated with the operation, wherein the baseline performance metric value is determined based on obtained and aggregated performance metrics associated with the second device;
sending the received request to perform the operation to the second device;
generating an error message upon expiration of the duration of the timer before a response to the request is received from the second device;
sending the generated error message to cause at least one action in response to the generated error message;
receiving a response from the second device after expiration of the duration of the timer; and
suppressing the received response from the second device.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein the proxy is part of a hypervisor program executing on the first device, and wherein the request is received from an operating system program executing on the first device.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the received request is generated in part by an application programming interface call to a device driver associated with the second device.

### Claim 6 (depends on 4)

The computer-implemented method of claim 4, wherein sending the generated error message comprises sending the generated error message to the operating system program.

### Claim 7 (depends on 4)

The computer-implemented method of claim 4, wherein the action comprises retrying the request to the second device.

### Claim 8 (depends on 3)

The computer-implemented method of claim 3, wherein the proxy is part of an offload program executing on a third device coupled to the first device via a first interconnect, and wherein the request is received via the first interconnect.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein the received request is sent via a second interconnect that couples the third device to the second device.

### Claim 10 (depends on 8)

The computer-implemented method of claim 8, wherein sending the generated error message comprises initiating a transaction over the first interconnect.

### Claim 11 (depends on 3)

The computer-implemented method of claim 3, wherein the aggregated performance metrics associated with the second device include obtained performance metrics for the second device and performance metrics associated with a class of one or more components associated with the second device.

### Claim 12 (depends on 3)

The computer-implemented method of claim 3, wherein the baseline performance metric value is determined by performing a statistical analysis of the aggregated performance metrics associated with the second device and applying one or more configuration parameters to a result of the statistical analysis.

### Claim 13 (depends on 3)

The computer-implemented method of claim 3, further comprising recording a measured time for receiving the response from the second device.

### Claim 14

A system comprising:
an input/output (I/O) device;
a processor coupled to the I/O device via a first interconnect; and
a memory coupled to the processor, the memory storing instructions which, when executed by the processor, cause the processor to implement a proxy to:
receive a baseline performance metric value from a system monitoring service, wherein the baseline performance metric value represents a maximum latency associated with an operation with the I/O device in a computer system having a certain configuration, and wherein the baseline performance metric value is determined based at least in part on a statistical analysis of a set of collected performance metrics associated with the I/O device and application of one or more configuration parameters associated with the I/O device to the statistical analysis of the set of performance metrics;
receive a request to perform an operation directed to the I/O device;
start a timer having a duration based on a baseline performance metric value associated with the operation, wherein the baseline performance metric value is determined based on obtained and aggregated performance metrics associated with the I/O device, and wherein the baseline performance metric value represents a maximum latency associated with the operation with to the I/O device in a computer system having a certain configuration;
send the received request to perform the operation to the I/O device via the first interconnect;
generate an error message upon expiration of the duration of the timer before a response to the request is received from the I/O device;
send the generated error message to cause at least one action in response to the generated error message;
receive a response from the I/O device after expiration of the duration of the timer; and
suppress the received response from the I/O device.

### Claim 15 (depends on 14)

The system of claim 14, wherein the proxy is part of a hypervisor program executed by the processor, and wherein the request is received from an operating system program executed by the processor.

### Claim 16 (depends on 15)

The system of claim 15, wherein the received request is generated in part by an application programming interface call to a device driver associated with the I/O device.

### Claim 17 (depends on 15)

The system of claim 15, wherein the generated error message is sent by the proxy to the operating system program.

### Claim 18 (depends on 15)

The system of claim 15, wherein the action comprises retrying the request to the I/O device.

### Claim 19 (depends on 14)

The system of claim 14, wherein the proxy is part of an offload program, wherein the processor is coupled to another processor via a second interconnect, and wherein the request is received from the another processor via the second interconnect.

### Claim 20 (depends on 19)

The system of claim 19, wherein the generated error message is sent by the proxy to the another processor via the second interconnect.
