Patents
US 8,429,665 B2#27185911 Most CitedActiveUnited States (USPTO)Utility

Cache performance prediction, partitioning and scheduling based on cache pressure of threads

4Forward Citations (#27185911 Global)
0.3/yrCitation Velocity (#25374808 Global)
1.08Citation PageRank (#37302326 Global)
18Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method is described for scheduling in an intelligent manner a plurality of threads on a processor having a plurality of cores and a shared last level cache (LLC). In the method, a first and second scenario having a corresponding first and second combination of threads are identified. The cache occupancies of each of the threads for each of the scenarios are predicted. The predicted cache occupancies being a representation of an amount of the LLC that each of the threads would occupy when running with the other threads on the processor according to the particular scenario. One of the scenarios is identified that results in the least objectionable impacts on all threads, the least objectionable impacts taking into account the impact resulting from the predicted cache occupancies. Finally, a scheduling decision is made according to the one of the scenarios that results in the least objectionable impacts.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for scheduling a plurality of threads on a processor having a plurality of cores, the cores sharing a last level cache (LLC), the method comprising: identifying a first scenario having a first combination of threads running on the processor; identifying a second scenario having a second combination of threads running on the processor; predicting cache occupancies of each of the threads for each of the first and second scenarios, the predicted cache occupancies being a representation of an amount of the LLC that each of the threads would occupy when running with other threads on the pr

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 6,243,788 B1Cache architecture to enable accurate cache sensitivity2001114
US 6,374,367 B1Apparatus and method for monitoring a computer system to guide optimization200298
US 6,442,585 B1Method for scheduling contexts based on statistics of memory system interactions in a computer system200268
US 2004143707 A1Dynamic cache partitioning—18
US 2007033592 A1Method, apparatus, and computer program product for adaptive process dispatch in a computer system having a plurality of processors—73
US 2008195849 A1Cache sharing based thread control—35
US 7,434,002 B1Utilizing cache information to manage memory access and cache utilization2008130
US 2009007120 A1System and method to optimize os scheduling decisions for power savings based on temporal characteristics of the scheduled entity and system workload—62
US 2009006755 A1Providing application-level information for use in cache management—50
US 7,487,317 B1Cache-aware scheduling for a chip multithreading processor200932
US 2009165004 A1Resource-aware application scheduling—18
US 7,581,064 B1Utilizing cache information to manage memory access and cache utilization200982
US 7,689,773 B2Methods and apparatus for estimating fair cache miss rates on a chip multiprocessor20108
US 7,707,578 B1Mechanism for scheduling execution of threads for fair resource allocation in a multi-threaded and/or multi-core processing system2010125
US 2010199280 A1Safe partition scheduling on multi-core processors—77
US 7,818,747 B1Cache-aware scheduling for a chip multithreading processor201028
US 2011087843 A1Monitoring cache usage in a distributed shared cache—33
US 8,028,286 B2Methods and apparatus for scheduling threads on multicore processors under fair distribution of cache and other shared resources of the processors201119

Non-Patent Literature (5)

  • A. Fedorova, M. Seltzer, and M. D. Smith (2006). "Cache-Fair Thread Scheduling for Multi Core Processors," Technical Report TR-17-06, Harvard University.
  • A. Naveh, E. Rotem, A. Mendelson, S. Gochman, R. Chabukswar, K. Krishnan, and A. Kumar (2006). "Power and Thermal Management in the Intel Core Duo Processor," Intel Technology Journal, 10(2): p. 109-122.
  • A. Parekh (1992). "A Generalized Processor Sharing Approach to Flow Control in Integrated Services Networks," PhD Thesis, Massachusetts Institute of Technology, Feb. 1992.
  • Advanced Micro Devices, Inc. (2007). AMD64 Architecture Programmer's Manual, vol. 2: System Programming.
  • C. A. Waldspurger and W. E. Weihl (1995). "Stride Scheduling: Deterministic Proportional-Share Resource Management," Technical Report MITILCSITM-528, MIT, Jun. 1995.