Unlock instant, AI-driven research and patent intelligence for your innovation.

Phase analysis-based cache dynamic partitioning method and system

A dynamic and system state technology, applied in memory system, resource allocation, memory address/allocation/relocation, etc., can solve problems such as failure to maximize program performance, deviation from optimal division, and misjudgment of cache division.

Active Publication Date: 2012-11-14
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The performance of the program may change when the phase is switched. If the performance of the time slice on different phases is directly compared, the performance difference between the phases will be attributed to the difference in the cache division, which will lead to misjudgment of the quality of the cache division, and the search will deviate from the optimal Optimum division, the performance of the program has not been improved to the greatest extent;

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
  • Phase analysis-based cache dynamic partitioning method and system
  • Phase analysis-based cache dynamic partitioning method and system
  • Phase analysis-based cache dynamic partitioning method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0077] In order to make the object, technical solution and advantages of the present invention clearer, a method and system for dynamic cache partitioning based on phase analysis of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0078] A method and system for dynamic cache division based on phase analysis of the present invention, by identifying each phase in program operation, and searching for the optimal cache division of each phase, that is, by comparing the performance of each corresponding cache division on the same phase to determine The optimal cache division of the phase stops searching after the optimal cache division of the phase is determined, and the operating system maintains the state of the optimal cache division. It can reduce mi...

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

The invention discloses a phase analysis-based cache dynamic partitioning method and system. The method comprises the following steps of: starting a decision-making process, initializing a system state into a search state, and constructing a static search tree; starting an application program process; starting executing step 100 to step 300 circularly by the decision-making process until the application program process is finished; reading sampled data by a portioning decision-making module, identifying a phase number of a program running at the current time slice according to the sampled data, and updating a history record; collecting performance data of each partition of the current phase of the program under a search set by the partitioning decision-making module, and determining the cache partition of the next time slice according to a phase analysis result and the system state; and when the decision-making process of the current time slice is finished, determining the cache partition of the next time slice, and calling a partition executive module to finish the cache partition.

Description

technical field [0001] The invention relates to the technical field of dynamic partitioning of shared caches in multi-core processors, in particular to a method and system for dynamically partitioning caches based on phase analysis. Background technique [0002] A multi-core processor refers to a processor that integrates multiple processor cores on a single chip. A multi-core processor with shared cache means that multiple processor cores share the cache on the chip. Cache is an on-chip storage resource used to cache data recently used by the processor. Due to the limited cache capacity, new data will replace old data out of the cache. On a multi-core processor that shares a cache, the current replacement strategy does not distinguish between data sources, and the data between the processor cores will be replaced with each other, causing programs running on the processor cores to interfere with each other's performance. Cache partitioning technology refers to assigning di...

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(China)
IPC IPC(8): G06F9/50G06F12/08G06F12/0897
Inventor 贾耀仓武成岗徐地王振江李建军米伟
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI