Patents
US 8,539,159 B2#13502081 Most CitedExpiredUnited States (USPTO)Utility

Dirty cache line write back policy based on stack size trend information

8Forward Citations (#13502081 Global)
0.6/yrCitation Velocity (#12847926 Global)
1.77Citation PageRank (#17627089 Global)
18Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

Methods and apparatuses are disclosed for managing memory write back. In some embodiments, the method may include examining current and future instructions operating on a stack that exists in memory, determining stack trend information from the instructions, and utilizing the trend information to reduce data traffic between various levels of the memory. As stacked data are written to a cache line in a first level of memory, if future instructions indicate that additional cache lines are required for subsequent write operations within the stack, then the cache line may be written back to a second level of memory. If however, the future instructions indicate that no additional cache lines are required for subsequent write operations within the stack, then the first level of memory may avoid writing back the cache line and also may keep it marked as dirty.

Interactive Citation Constellation Global Citation Ranking

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

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method, comprising: issuing a write request to a cache memory, wherein the cache memory includes multiple cache lines; determining whether the write request refers to a predetermined word within a dirty cache line; and determining whether to write the dirty cache line to main memory based on whether the size of a stack is increasing or decreasing.

  2. Claim 2Depends on #1

    The method of claim 1 , further comprising determining whether the write request will be to the end of a dirty cache line.

  3. Claim 3Depends on #2

    The method of claim 2 , wherein the stack size is increasing and the dirty cache line is written to a main memory.

Technical Overview & Description

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

References Cited — Backward Prior Art (18)

PatentTitleYearCitations
US 4,928,239 ACache memory with variable fetch and replacement schemes1990100
US 5,687,336 AStack push/pop tracking and pairing in a pipelined processor199763
US 5,893,121 ASystem and method for swapping blocks of tagged stack entries between a tagged stack cache and an untagged main memory storage199975
US 5,893,148 ASystem and method for allocating cache memory storage space199926
US 6,026,485 AInstruction folding for a stack-based machine2000191
US 6,098,089 AGeneration isolation system and method for garbage collection2000163
US 6,151,661 ACache memory storage space management system and method200026
US 6,209,061 B1Integrated hierarchical memory overlay having invariant address space span that inactivates a same address space span in main memory200121
US 2002065990 A1Cache/smartcache with interruptible block prefetch—45
US 2002069332 A1Cache and DMA with a global valid bit—46
US 6,567,905 B2Generational garbage collector with persistent object cache200394
US 6,571,260 B1Memory reclamation method200373
US 2003101320 A1Cache with selective write allocation—70
US 2003221035 A1CPU life-extension apparatus and method—31
US 6,671,196 B2Register stack in cache memory200318
US 6,801,986 B2Livelock prevention by delaying surrender of ownership upon intervening ownership request during load locked / store conditional atomic memory operation200431
US 6,990,567 B1Use of internal general purpose registers of a processor as a Java virtual machine top of stack and dynamic allocation of the registers according to stack status200622
US 7,065,613 B1Method for reducing access to main memory using a stack cache200640

Non-Patent Literature (5)

  • Embedded JAVA, Vincent Perrier, Aug. 15, 2001, (3 page); Online http://www.onjava.com/pub/a/onjava/synd/2001/08/15/embedded.html.
  • J. Dundas, et al.: "Improving Data Cache Performance by Pre-Executing Instructions Under a Cache Miss", Proceedings of the 1997 International Conference on Supercomputing, Vienna, Jul. 7-11, 1997, Proceedings of the International Conference on Supercomputing, New York, ACM, US, vol. Conf. 11, Jul. 7
  • Kozierok, Charles M., "The Memory Controller", Apr. 17, 2001, The PC Guide, Site Version 2.2.0, <http://www.pcguide.com/ref/ram/timingController-c.html> accessed on Mar. 16, 2008.
  • Kozierok, Charles M., "The Memory Controller", Apr. 17, 2001, The PC Guide, Site Version 2.2.0, accessed on Mar. 16, 2008.
  • S.S. Pinter, et al.: "Tango: A Hardware-Based Data Prefetching Technique for Superscalar Processors" Proceedings of the 29th. Annual IEEE/ACM International Symposium on Microarchitecture, Micro-29. Paris, Dec. 25, 1996, Proceedings of the Annual IEEE/ACM International Symposium on Microarchitecture,