Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Set-associative cache memory having variable time decay rewriting algorithm

a technology of variable time decay and cache memory, which is applied in the direction of memory address/allocation/relocation, digital storage, instruments, etc., can solve the problems of ineffective replacement algorithm, inability to implement, and inability to replace data which will be used soon,

Inactive Publication Date: 2004-05-04
TENSILICA
View PDF5 Cites 47 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The replacement algorithm can have adverse affects on processor performance by making bad choices for replacement.
For instance, replacing data which will be used soon is worse than replacing data that will not be used again, because the first choice would cause another "miss," whereas the second choice would not.
Although set-associative memories with heterogenous ways can provide value over traditional set-associative memories with homogenous ways, replacement algorithms that work on a "set" basis either no longer work, are inefficient, or are difficult to implement.
In particular, current replacement algorithms are ill suited towards, or inefficient at one or more of the following: (1) handling heterogenous ways that can even allow the indexing of ways to change at run-time (i.e. Is the way configured to translate 4 KB or 4 MB pages); (2) handling way replacement criteria (i.e. Is the way configured to translate 4 KB or 4 MB pages); and (3) handling associative structures that do not have 2**N ways.
Most LRU implementations have similar issues, since they implement state that tracks LRU on a set basis.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Set-associative cache memory having variable time decay rewriting algorithm
  • Set-associative cache memory having variable time decay rewriting algorithm
  • Set-associative cache memory having variable time decay rewriting algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

The present invention will now be described in detail with reference to the drawings, which are provided as illustrative examples of the invention so as to enable those skilled in the art to practice the invention. Notably, the figures and examples below are not meant to limit the scope of the present invention. Moreover, where certain elements of the present invention can be partially or fully implemented using known components, only those portions of such known components that are necessary for an understanding of the present invention will be described, and detailed descriptions of other portions of such known components will be omitted so as not to obscure the invention. Further, the present invention encompasses present and future known equivalents to the known components referred to herein by way of illustration.

A top-level block diagram of one example implementation of a cache memory in accordance with the invention is shown in FIG. 3. As shown in FIG. 3, memory 300 is an N-W...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A set-associative structure replacement algorithm is particularly beneficial for irregular set-associative structures which may be affected by different access patterns, and different associativities available to be replaced on any given access. According to certain aspects, methods and apparatuses implement a novel decay replacement algorithm that is particularly beneficial for irregular set-associative structures. An embodiment apparatus includes set-associative structures having decay information stored therein, as well as update / replacement logic to implement replacement algorithms for translation lookup buffers (TLBS) and caches that vary in the number of associativities; have unbalanced associativity sizes, e.g., associativities can have different numbers of indices; and can have varying replacement criteria. The implementation apparatuses and methods provide good performance, on the level of LRU, random and clock algorithms; and is efficient and scalable.

Description

1. Field of the InventionThe present invention is directed to microprocessor architectures. More particularly, the invention is directed to TLBs and cache memories for speeding processor access to main memory in microprocessor systems. Even more particularly, the invention is directed to methods and apparatuses for implementing novel refill policies for multi-way set associative caches and TLBs.2. Background of the Related ArtCaches and Translation Lookaside Buffers (TLBs) are ubiquitous in microprocessor design. For general information on such microprocessor structures, see J. L. Hennessy and D. A. Patterson, Computer Architecture: A Quantitive Approach (1996), Chapter 5.Generally, the speed at which a microprocessor (e.g. a CPU) operates depends on the rate at which instructions and operands are transferred between memory and the CPU. As shown in FIG. 1, a cache 110 is a relatively small random access memory (RAM) used to store a copy of memory data in anticipation of future use b...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(United States)
IPC IPC(8): G06F12/00G06F12/08G06F12/10G06F12/12
CPCG06F12/0864G06F12/123G06F12/128G06F12/1027
Inventor EVANS, MARC ALANKONAS, PAVLOS
Owner TENSILICA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products