Patents
US 6,845,501 B2#1342696 Most CitedExpiredUnited States (USPTO)Utility

Method and apparatus for enabling a compiler to reduce cache misses by performing pre-fetches in the event of context switch

41Forward Citations (#1342696 Global)
1.9/yrCitation Velocity (#2216791 Global)
5.53Citation PageRank (#2818210 Global)
16Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method for reducing cache memory misses in a computer that performs context switches between at least a first context and a second context. A First logic identifies a first prefetch region in a first memory element and a second logic identifies critical memory references within the first prefetch region during compilation of a computer program. The critical memory references within the first prefetch region correspond to data in cache memory if a context switch occurs from a process or thread associated with the second context to a process or thread associated with the first context during program execution. Third logic prefetches data associated with the identified critical memory references and stores the prefetched data in cache memory prior to a process or thread associated with the first context being resumed when a switch from the second context to the first context occurs during program execution.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 41.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    An apparatus for reducing cache memory misses in a computer that performs context switches between at least a first context and a second context, the apparatus comprising: a first logic, the first logic being configured to identify at least a first prefetch region in a first memory element during compilation of a computer program by the computer; a second logic, the second logic being configured to identify critical memory references within the first prefetch region during compilation, the critical memory references within the first prefetch region corresponding to data that may be needed in c

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • Title: Automatic Compiler Techniques for Thread Coarsening for Multithreaded Architectures, author:Zoppetti et al, ACM, 2000.*
  • Title: Instruction Prefetching of Systems Codes with layout optimized for reduced cache misses, author: Xia et al, 1996, ACM.*
  • Title: Reducing Multithreaded frame cache miss ratio by prefetching and working frame set scheduling, author: Choi et al, IEEE, 1996.
  • Title: The effect of context switches on cache performance, Mogul et al, ACM, 1991.*
  • Title: The Performing Implications of Thread Management Alternatives for Shared-Memory Multiprocessors, author: Anderson et al, ACM, 1989.*