← Back to Patent Explorer
US5359723A Expired / Lapsed US ⏱️ 0.0 years remaining

Cache memory hierarchy having a large write through first level that allocates for CPU read misses only and a small write back second level that allocates for CPU write misses only

Assignee: Intel Corp
•
Filing: 1991-12-16
•
Granted: 1994-10-25
•
Expires: 2011-12-16
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A cache memory hierarchy having a first level write through cache memory and a second level write back cache memory is provided to a computer system having a CPU, a main memory, and a number of DMA devices. The first level write through cache memory responds to read and write accesses by the CPU, and snoop accesses by the DMA devices, whereas the second level write back cache memory responds to read and write accesses by the CPU as well as the DMA devices. Additionally, the first level write through cache memory is a relatively large cache memory designed to provide a high cache hit rate, whereas the second level write back cache memory is a relatively small cache memory designed to reduce accesses to the main memory. Furthermore, the first level write through cache memory reallocates its cache lines in response to CPU read misses only, whereas the second level write through cache memory reallocates its cache lines in response to CPU write misses only.

Inventors

  • 👤 Gregory S. Mathews
  • 👤 Edward S. Zager

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-01 21:01
CPC Classifications
G; G06; G06F; G06F12/00; G06F12/02; G06F12/08; G06F12/0802; G06F12/0893; G06F12/0897; Y; Y02; Y02D; Y02D10/00

Claims Analysis

Total Claims: 12
Claim 1
Independent Claim 301 words
In a data processing system, first and second levels of a cache memory hierarchy comprising; (a) a write through (WT) cache memory, at the first level of the cache memory hierarchy for (i) caching a first subset of data stored in a main memory: (ii) allowing read accesses by a processor and write accesses by said processor, as well as snoop accesses by direct memory access (DMA) devices; and (iii) modifying the contents of said WT cache memory only in response to indications of read misses of said read accesses, by implementing a first allocation policy wherein for each of said read miss indications, said first subset of data stored in the WT cache memory is modified by replacing a line of data in the first subsist with a new line of data from the main memory, said new line of data from the main memory having been the subject of the missed read access; and (b) a write back (WB) cache memory, at the second level of the cache memory hierarchy, for (i) caching a second subset of data stored in said main memory; (ii) allowing read accesses by said processor and write accesses by said processor, as well as read accesses by said DMA devices and write accesses by said DMA devices; and (iii) modifying the contents of said WB cache memory only in response to indications of write misses of said write accesses by said processor, by implementing a second allocation policy wherein for each of said write miss indications, said second subset of data stored in the WB cache memory is modified by replacing a line of data in the second subset with a new line data from the processor, said new line of data from the processor having been the subject of the missed write access.
Claim 2
Dependent Claim 301 words
In a data processing system, first and second levels of a cache memory hierarchy comprising; (a) a write through (WT) cache memory, at the first level of the cache memory hierarchy for (i) caching a first subset of data stored in a main memory: (ii) allowing read accesses by a processor and write accesses by said processor, as well as snoop accesses by direct memory access (DMA) devices; and (iii) modifying the contents of said WT cache memory only in response to indications of read misses of said read accesses, by implementing a first allocation policy wherein for each of said read miss indications, said first subset of data stored in the WT cache memory is modified by replacing a line of data in the first subsist with a new line of data from the main memory, said new line of data from the main memory having been the subject of the missed read access; and (b) a write back (WB) cache memory, at the second level of the cache memory hierarchy, for (i) caching a second subset of data stored in said main memory; (ii) allowing read accesses by said processor and write accesses by said processor, as well as read accesses by said DMA devices and write accesses by said DMA devices; and (iii) modifying the contents of said WB cache memory only in response to indications of write misses of said write accesses by said processor, by implementing a second allocation policy wherein for each of said write miss indications, said second subset of data stored in the WB cache memory is modified by replacing a line of data in the second subset with a new line data from the processor, said new line of data from the processor having been the subject of the missed write access.
Claim 3
Dependent Claim 72 words
The cache memory hierarchy as set forth in claim 1, wherein said WT cache memory at the first level of the cache memory hierarchy having a first cache size designed to provide a high cache hit rate, whereas said WB cache memory at the second level of the cache memory hierarchy having a second cache size, complementary to said first cache size, designed merely to reduce write accesses to said main memory.
Claim 4
Dependent Claim 23 words
The cache memory hierarchy as set forth in claim 2, wherein said first cache size is substantially larger than said second cache size.
Claim 5
Dependent Claim 25 words
The cache memory hierarchy as set forth in claim 3, wherein said first cache size is about eight times larger than said second cache size.
Claim 6
Dependent Claim 43 words
The cache memory hierarchy as set forth in claim 1, wherein said WT cache memory at the first level of the cache memory hierarchy and said WB cache memory at the second level of cache memory hierarchy are n-way set associative cache memory.
Claim 7
Dependent Claim 347 words
A computer system comprising: a) a central processing unit (CPU) for executing instructions; b) a main memory for storing instructions and data; c) a peripheral device for providing periphery functions that makes direct memory accesses; d) first and second levels of a cache memory hierarchy coupled to said CPU, said main memory and said peripheral device having 1) a write through (WT) cache memory at the first level of the cache memory hierarchy for (i) caching a first subset of instructions and data stored in said main memory; (ii) allowing read accesses by said CPU and write accesses by said CPU as well as snoop accesses by said peripheral device; and (iii) modifying the contents of said WT cache memory only in response to indications of read misses of said read accesses by said CPU, by implementing a first allocation policy wherein for each of said read miss indications, said first subset of data stored in the WT cache memory is modified by replacing a line of data in the first subset with a new line of data from the main memory, said new line of data from the main memory having been the subject of the missed read access; and 2) a write back (WB) cache memory at the second level of the cache memory hierarchy for i) caching a second subset of instructions and data stored in said main memory; (ii) allowing read accesses by said CPU and write accesses by said CPU as well as read accesses by said peripheral device and write accesses by said peripheral device; and (iii) modifying the contents of said WB cache memory in response to indications of write misses of said write accesses by said processor, by implementing a second allocation policy wherein for each of said write miss indications, said second subset of data stored in the WB cache memory is modified by replacing a line of data in the second subset with a new line data from the processor, said new line of data from the processor having been the subject of the missed write access.
Claim 8
Dependent Claim 347 words
A computer system comprising: a) a central processing unit (CPU) for executing instructions; b) a main memory for storing instructions and data; c) a peripheral device for providing periphery functions that makes direct memory accesses; d) first and second levels of a cache memory hierarchy coupled to said CPU, said main memory and said peripheral device having 1) a write through (WT) cache memory at the first level of the cache memory hierarchy for (i) caching a first subset of instructions and data stored in said main memory; (ii) allowing read accesses by said CPU and write accesses by said CPU as well as snoop accesses by said peripheral device; and (iii) modifying the contents of said WT cache memory only in response to indications of read misses of said read accesses by said CPU, by implementing a first allocation policy wherein for each of said read miss indications, said first subset of data stored in the WT cache memory is modified by replacing a line of data in the first subset with a new line of data from the main memory, said new line of data from the main memory having been the subject of the missed read access; and 2) a write back (WB) cache memory at the second level of the cache memory hierarchy for i) caching a second subset of instructions and data stored in said main memory; (ii) allowing read accesses by said CPU and write accesses by said CPU as well as read accesses by said peripheral device and write accesses by said peripheral device; and (iii) modifying the contents of said WB cache memory in response to indications of write misses of said write accesses by said processor, by implementing a second allocation policy wherein for each of said write miss indications, said second subset of data stored in the WB cache memory is modified by replacing a line of data in the second subset with a new line data from the processor, said new line of data from the processor having been the subject of the missed write access.
Claim 9
Dependent Claim 71 words
The computer system as set forth in claim 6, wherein said WT cache memory at the first level of the cache memory hierarchy having a first cache size designed to provide a high cache hit rate, whereas said WB cache memory at the second level of the cache memory hierarchy having a second cache size, complementary to said first cache size, designed merely to reduce write accesses to said main memory.
Claim 10
Dependent Claim 22 words
The computer system as set forth in claim 7, wherein said first cache size is substantially larger than said second cache size.
Claim 11
Dependent Claim 24 words
The computer system as set forth in claim 8, wherein said first cache size is about eight times larger than said second cache size.
Claim 12
Dependent Claim 42 words
The computer as set forth in claim 6, wherein said WT cache memory at the first level of the cache memory hierarchy and said WB cache memory at the second level of the cache memory hierarchy are n-way set associative cache memory.

References Cited (Backward Citations)

US4933835A Cited
US5091846A Cited
US5241641A Cited
US5253353A Cited
US5261066A Cited
US5247642A Cited
US5191649A Cited
US5276836A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1997-10-24 1998-04-25 1998-10-25 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2001-10-24 2002-04-25 2002-10-25 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2005-10-24 2006-04-25 2006-10-25 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag