Patents
US 7,913,040 B2#13839328 Most CitedActiveUnited States (USPTO)Utility

Managing working set use of a cache via page coloring

8Forward Citations (#13839328 Global)
0.5/yrCitation Velocity (#14989267 Global)
1.55Citation PageRank (#21751520 Global)
17Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

A processor cache is indexed by a group of distinct page colors. The use of this cache by different working sets is controlled using page coloring. Translations of virtual addresses of the instructions and/or data of a working set are constrained to physical addresses the page colors of which are in a subgroup of the group of distinct page colors.

Interactive Citation Constellation Global Citation Ranking

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

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A computer-readable storage medium having computer-executable instructions for performing steps comprising: initializing a pointer to point to a page color most recently used for a particular working set; incrementing a page color value to generate an incremented page color value for use when next allocating memory and translating a virtual address of the particular working set to a physical address; and if the incremented page color value exceeds a limit for the particular working set, resetting the incremented page color value to a page color offset for the particular working set prior to us

  2. Claim 2Depends on #1

    The computer-readable storage medium of claim 1 , wherein the limit for the particular working set equals a total number of page colors available

Technical Overview & Description

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

References Cited — Backward Prior Art (17)

PatentTitleYearCitations
US 5,630,097 AEnhanced cache operation with remapping of pages for optimizing data relocation from addresses causing cache misses199781
US 5,752,261 AMethod and apparatus for detecting thrashing in a cache memory199872
US 6,026,475 AMethod for dynamically remapping a virtual address to a physical address to maintain an even distribution of cache page addresses in a virtual address space200095
US 6,115,793 AMapping logical cache indexes to physical cache indexes to reduce thrashing and increase cache size200039
US 6,408,368 B1Operating system page placement to maximize cache data reuse200235
US 6,523,092 B1Cache line replacement policy enhancement to avoid memory page thrashing200330
US 2005071535 A1Adaptive thread ID cache mechanism for autonomic performance tuning—9
US 2006036810 A1System, application and method of reducing cache thrashing in a multi-processor with a shared cache on which a disruptive process is executing—37
US 2006179225 A1Reducing cache trashing of certain pieces—15
US 7,107,583 B2Method and apparatus for reducing cache thrashing200617
US 2007067578 A1Controlling processor access to cache memory—27
US 2007124568 A1Digital data processing apparatus having asymmetric hardware multithreading support for different threads—39
US 2008022065 A1Dynamically sharing a stack between different code segments—17
US 2008040554 A1Providing quality of service (QoS) for cache architectures using priority information—72
US 7,434,002 B1Utilizing cache information to manage memory access and cache utilization2008130
US 7,444,499 B2Method and system for trace generation using memory index hashing200824
US 7,581,064 B1Utilizing cache information to manage memory access and cache utilization200982

Non-Patent Literature (3)

  • Brian K. Bray, William L. Lynch, and M. J. Flynn, "Page Allocation to Reduce Access Time of Physical Caches", 1990, by Technical Report No. CSL-TR-90-454 November, pp. 1-12.
  • Hashemi, et al., "Efficient Procedure Mapping Using Cache Line Coloring", Proceedings of the ACM SIGPLAN 1997 conference on Programming Language Design and Implementation, Date: 1997, pp. 171-182, ACM Press, New York, USA.
  • R.E. Kessler et al., "Page Placement Algorithms for Large Real-Indexed Caches", ACM Technologies on Computer Systems, vol. 10, No. 4, Nov. 1992, pp. 338-359.