Cache pollution avoidance instructions

Electrical computers and digital processing systems: memory – Storage accessing and control – Hierarchical memories

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C711S122000

Reexamination Certificate

active

06275904

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates in general to the field of computer systems, and in particular, to an apparatus and method for providing instructions which facilitate the control of cache accesses while minimizing cache pollution.
2. Description of the Related Art
The use of a cache memory with a processor facilitates the reduction of memory access time. The fundamental idea of cache organization is that by keeping the most frequently accessed instructions and data in the fast cache memory, the average memory access time will approach the access time of the cache. To achieve the optimal tradeoffs between cache size and performance, typical processors implement a cache hierarchy, that is, different levels of cache memory. The different levels of cache correspond to different distances from the processor core. The closer the cache is to the processor, the faster the data access. However, the closer the cache is to the processor, the more costly it is to implement. As a result, the closer the cache level, the faster and smaller the cache.
The performance of cache memory is frequently measured in terms of its hit ratio. When the processor refers to memory and finds the data in its cache, it is said to produce a hit. If the data is not found in cache, then it is in main memory and is counted as a miss. If a miss occurs, then an allocation is made at the entry indexed by the address of the access. The access can be for loading data to the processor or storing data from the processor to memory. The cached information is retained by the cache memory until it is no longer needed, made invalid or replaced by other data, in which instances the cache entry is de-allocated.
A computer system may utilize one or more levels of cache memory. Allocation and de-allocation schemes implemented for the cache for various known computer systems are generally similar in practice. General practice has been to allocate an entry in the cache for all accesses required by the processor. Accordingly, system architectures specify re-use of accessed data without notion of relevant cache hierarchy level. That is, all accesses are allocated in cache. A disadvantage of this approach is that in certain instances, certain data is referenced once and not reused in the immediate future. It is not desirable for such data, typically termed as non-temporal data, to overwrite data that is used frequently (i.e., temporal data) such as application-cached code and data, when cache memory is full.
BRIEF SUMMARY OF THE INVENTION
A computer system and method for providing cache memory management is disclosed. The computer system comprises a main memory having a plurality of main memory addresses each having a corresponding data entry, and a processor coupled to the main memory. At least one cache memory is coupled to the processor. The at least one cache memory has a cache directory with a plurality of addresses and a cache controller having a plurality of data entries corresponding to the plurality of addresses. The processor receives an instruction having an operand address and determines if the operand address matches one of the plurality of addresses in the cache directory. If so, the processor updates a data entry in the cache controller corresponding to the matched address. Otherwise, a data entry corresponding to the operand address in the main memory is updated.


REFERENCES:
patent: 5586296 (1996-12-01), Bernstein et al.
patent: 5890216 (1999-03-01), Derrick et al.
patent: 6021470 (2000-02-01), Frank et al.
patent: 0 779 581 A (1997-06-01), None
patent: 2 228 116 A (1990-08-01), None
patent: 2 271 653 A (1994-04-01), None
The UltraSPARC Processor—Technology White Paper, The UltraSPARC Architecture, Sun Microsystems, Jul. 17, 1997, p. 1-10.
21164 Alpha Microprocessor Data Sheet, Samsung Electronics, 1997.
Visual Instruction Set (VIS™) User's Guide, Sun Microsystems, Version 1.1, Mar. 1997.
AMD-3D Technology Manual, AMD, Publication No. 21928, Issued Date: Feb. 1998.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Cache pollution avoidance instructions does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Cache pollution avoidance instructions, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Cache pollution avoidance instructions will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2467939

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.