Patent · US Active

Prefetch stream allocation for multithreading systems

US10671394B2 · kind B2 · utility

3Cited by
8References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateOct 31, 2018
Grant dateJun 2, 2020
Priority date
Expiry dateOct 31, 2038

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/5016
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A computer system for prefetching data in a multithreading environment includes a processor having a prefetching engine and a stride detector. The processor is configured to perform requesting data associated with a first thread of a plurality of threads, and prefetching requested data by the prefetching engine, where prefetching includes allocating a prefetch stream in response to an occurrence of a cache miss. The processor performs detecting each cache miss, and based on detecting the cache miss, monitoring the prefetching engine to detect subsequent cache misses and to detect one or more events related to allocations performed by the prefetching engine. The processor further performs, based on the stride detector detecting a selected number of events, directing the stride detector to switch from the first thread to a second thread by ignoring stride-1 allocations for the first thread and evaluating stride-1 allocations for potential strided accesses on the second thread.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.