Patents
US 6,301,641 B1#4765752 Most CitedExpiredUnited States (USPTO)Utility

Method for reducing the frequency of cache misses in a computer

18Forward Citations (#4765752 Global)
0.7/yrCitation Velocity (#10520472 Global)
4.94Citation PageRank (#3383739 Global)
4Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A score is computed of how many cache misses occur for the execution of each of a number of blocks. The score is used as a heuristic in a local search in which an original selection is iteratively replaced each time by a selection that differs from the original selection only by the movement of a single block and that has a lower number of cache misses for the sample of execution than the original selection. Thus a selection of locations for placing instructions of a program in main memory is found that minimizes the number of cache misses that occur for a sample of a typical execution of the program.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of selecting memory locations for placing instructions into a main memory, the method comprising obtaining a sample of execution of a program containing the instructions, generating an optimized selection of locations using a local search, the optimized selection producing a minimized number of cache misses when the instructions are placed in the main memory connected to a cache memory according to the optimized selection for the sample of execution, wherein the method comprises: generating an original selection of locations for placing the instructions; computing for each respective

Technical Overview & Description

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

Cited By — Indexed Forward Citations (15 of 18 total)

PatentTitleYearCitations
US 8,413,127 B2Fine-grained software-directed data prefetching using integrated high-level and low-level code analysis optimizations20131
US 2004060040 A1Methods and apparatus to avoid dynamic micro-architectural penalties in an in-order processor—14
US 2007260856 A1Methods and apparatus to detect data dependencies in an instruction pipeline—46
US 2005268039 A1Aggregate bandwidth through store miss management for cache-to-cache data transfer—27
US 2006048120 A1Fine-grained software-directed data prefetching using integrated high-level and low-level code analysis optimizations—35
US 7,168,070 B2Aggregate bandwidth through management using insertion of reset instructions for cache-to-cache data transfer200727
US 2008235460 A1Apparatus and method for information processing enabling fast access to program—8
US 9,032,158 B2Method, system and apparatus for identifying a cache line20151
US 7,669,194 B2Fine-grained software-directed data prefetching using integrated high-level and low-level code analysis optimizations201011
CN 114,996,171 AComputing device and Cache-based LRU algorithm optimization method—0
US 2010095271 A1Fine-Grained Software-Directed Data Prefetching Using Integrated High-Level and Low-Level Code Analysis Optimizations—15
US 7,100,157 B2Methods and apparatus to avoid dynamic micro-architectural penalties in an in-order processor200618
US 2011271058 A1Method, system and apparatus for identifying a cache line—4
US 8,700,851 B2Apparatus and method for information processing enabling fast access to program20142
US 2007233638 A1Method and system for providing cost model data for tuning of query cache memory in databases—20

Non-Patent Literature (5)

  • "Optimal Code Placement of Embedded Software for Instruction Caches", By Hiroyuki Timiyama et al. Published in the Proceedings of the European Design and Test Conference in Paris on Mar. 11-14, 1996, pp. 96-101.
  • IBM Technical Disclosure, "Instruction Placement Method to Improve Cache Behavior", vol. 37, No. 06A, Jun. 1994.*
  • McFarling Scott, "Procedure Merging with Instruction Caches", Proceedings of the ACM SIGPLAN, Jun. 1991.*
  • McFarling Scott, "Program Optimization for Instruction Caches", ACM, Dec. 1989.
  • Proceedings of the ACM Siglan'90 Conference on Programming Language Design and Implementation White Plains, New York, Jun. 20-22, 1990, Profile Guided Code Position ,Karl Pettis, Robert C. Hansen. p. 16-27 see especially p. 17-22, chapter 3-5.