# US 2026/0030166 A1 · Latency determination

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

- Number: US 2026/0030166 A1
- Document ID: US20260030166A1
- Status: Published application
- Kind: A1
- Application number: 18/785,499
- Filed: 2024-07-26
- Published: 2026-01-29
- Earliest claimed: 2024-07-26
- Assignees: Arm Limited
- Applicants: Arm Limited
- Inventors: Scott Courtland HADLEY
- Web page: https://patentgrep.com/patent/US20260030166A1

## CPC

- G06F 12/0862: with prefetch
- G06F 3/0611: {in relation to response time}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0673: {Single storage device}
- G06F 2212/1024: Latency reduction
- G06F 2212/6024: History based prefetching
- G06F 2212/6026: Prefetching based on access pattern detection, e.g. stride based prefetch
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus includes: latency determination circuitry configured to determine a predicted exposed latency associated with a memory load request targeting an address in memory, the predicted exposed latency corresponding to a stall that would be caused by waiting for the memory load request to complete had the data stored at the address in memory targeted by the memory load request not been prefetched into a cache; and prefetch control circuitry configured to control issuing of prefetch requests to prefetch data from a memory system based on the predicted exposed latency.

## Claims

### Claim 1

An apparatus comprising:
latency determination circuitry configured to determine a predicted exposed latency associated with a memory load request targeting an address in memory, the predicted exposed latency corresponding to a stall that would be caused by waiting for the memory load request to complete had the data stored at the address in memory targeted by the memory load request not been prefetched into a cache; and
prefetch control circuitry configured to control issuing of prefetch requests to prefetch data from a memory system based on the predicted exposed latency.

### Claim 2 (depends on 1)

The apparatus of claim 1, in which the latency determination circuity is configured to determine the predicted exposed latency that would be caused had the data stored at the address in memory targeted by the memory load request had not been prefetched into the cache even when the data stored at the address in memory targeted by the memory load request has actually been prefetched into the cache.

### Claim 3 (depends on 1)

The apparatus of claim 1, in which the latency determination circuitry is configured to determine the predicted exposed latency based on determining a hidden latency, the hidden latency corresponding to an amount of time between when the memory load request starts executing and when the memory load request would start causing the stall had the data stored at the address in memory targeted by the memory load request not been prefetched into the cache.

### Claim 4 (depends on 1)

The apparatus of claim 1, in which the latency determination circuitry is configured to determine the predicted exposed latency based on predicting a total latency, the total latency being indicative of an amount of time between when the memory load request starts executing and when the memory load request would complete had the data stored at the address in memory targeted by the memory load request not been prefetched into the cache.

### Claim 5 (depends on 4)

The apparatus of claim 4, in which the latency determination circuitry is configured to predict the total latency based on determining a data source of a prefetched cache line containing the data stored at the address in memory targeted by the memory load request.

### Claim 6 (depends on 5)

The apparatus of claim 5, in which the latency determination circuitry is configured to predict the total latency based on determining, for a given data source, an average total latency of other memory load requests that target data in the given data source, the average total latency being indicative of an average amount of time between when the other memory load requests start executing and when the other memory load requests complete.

### Claim 7 (depends on 6)

The apparatus of claim 6, in which the latency determination circuitry is configured to predict the total latency based on the average total latency associated with a given data source that corresponds to the data source of the prefetched cache line.

### Claim 8 (depends on 7)

The apparatus of claim 7, in which the other memory load requests correspond to one or more of: a level two cache hit; a level three cache hit; and a level three cache miss.

### Claim 9 (depends on 8)

The apparatus of claim 8, in which the data source is one of: a level two cache, a level three cache, and main memory.

### Claim 10 (depends on 9)

The apparatus of claim 9, in which the latency determination circuitry is configured to determine the predicted exposed latency based on subtracting the hidden latency from the total latency.

### Claim 11 (depends on 1)

The apparatus of claim 1, in which the cache that the data stored at the address in memory targeted by the memory load request has been prefetched into is a lowest-level cache.

### Claim 12 (depends on 1)

The apparatus of claim 1, in which the prefetch control circuitry is configured to control issuing of prefetch requests targeting the address targeted by the memory load request based on the predicted exposed latency.

### Claim 13 (depends on 1)

The apparatus of claim 1, in which the prefetch control circuitry is configured to determine whether to issue or suppress issuing a prefetch request to prefetch data from the memory system based on determining whether the predicted exposed latency satisfies a condition.

### Claim 14 (depends on 1)

The apparatus of claim 1, in which the prefetch control circuitry is configured to issue a prefetch request targeting the address in memory targeted by the memory load request based on determining that the predicted exposed latency satisfies a condition.

### Claim 15 (depends on 1)

The apparatus of claim 1, in which the prefetch control circuitry is configured to suppress issuing of a prefetch request targeting the address in memory targeted by the memory load request based on determining that the predicted exposed latency does not satisfy a condition.

### Claim 16 (depends on 15)

The apparatus of claim 15, in which the condition comprises one or more of: a predetermined predicted exposed latency threshold, and a ranking condition associated with a ranking of a plurality of predicted exposed latencies.

### Claim 17 (depends on 1)

A system comprising:
the apparatus of claim 1, implemented in at least one packaged chip;
at least one system component; and
a board,
wherein the at least one packaged chip and the at least one system component are assembled on the board.

### Claim 18 (depends on 17)

A chip-containing product comprising the system of claim 17, wherein the system is assembled on a further board with at least one other product component.

### Claim 19 (depends on 1)

A non-transitory computer-readable medium storing computer-readable code for fabrication of the apparatus of claim 1.
