Method for dynamically partitioning shared cache in multi-core environment

A shared cache, dynamic technology, applied in the direction of memory address/allocation/relocation, resource allocation, memory system, etc., can solve problems such as inability to apply and adjust program cache, achieve the effect of low overhead and improve overall performance

Inactive Publication Date: 2013-05-01
HUAZHONG UNIV OF SCI & TECH
View PDF2 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] (1) It is not possible to adjust the program cache at the most appropriate time, because the program's cache requirements are related to the program's stage behavior, and the program's stage behavior is not uniform and regular. Making adjustments does not make adjustments to a program's cache at the optimal time when its cache requ

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
  • Method for dynamically partitioning shared cache in multi-core environment
  • Method for dynamically partitioning shared cache in multi-core environment
  • Method for dynamically partitioning shared cache in multi-core environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the object, technical solution and advantages of the present invention clearer, 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.

[0051] At first the technical terms in the present invention are explained and defined:

[0052] Sparse Basic Block Vector: SBBV (Sparse Basic Block Vector, referred to as SBBV) in English, the feature vector used in the behavior analysis of the program stage, including the address of the conditional branch instruction and the number of instructions executed between the conditional branch instructions.

[0053] Cache Missing Interval: When the cache is invalidated each time, the total number of cache accesses recorded between two invalidations;

[0054] Miss Rate Curve: It is expressed in English ...

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 method for dynamically partitioning a shared cache in a multi-core environment. The method comprises the following steps of: initializing a hardware counter, starting a plurality of applications, sampling running information of the applications by using the hardware counter, obtaining basic block information of the applications by using the hardware counter, analyzing phase behaviors of the applications, judging whether phases of the applications are changed or not through extracting the IPC (Instruction Per Cycle) coefficient of variation of the applications, obtaining cache miss pitches of the applications by using the hardware counter if the phases of the applications are changed so as to obtain miss rate curves, establishing cache partitioning strategies for the applications according to the miss rate curves, and reallocating caches of the applications by using a dynamic page coloring method according to the established cache partitioning strategies. According to the method, the cache demand changes of the applications can be perceived, so that the caches of the applications are subjected to adjustment at the best time; and furthermore, compared with the existing phase behavior analysis method, the method has the advantages that the performance of the applications is hardly affected, and the overall performance of a system can be effectively improved.

Description

technical field [0001] The invention belongs to the field of multi-core system structure and program behavior analysis, and more specifically relates to a dynamic division method of a shared cache in a multi-core environment. Background technique [0002] On-chip multi-core processors (Chip Multi Processors, CMP) have become the mainstream of microprocessors due to their advantages of high performance and low power consumption. As the core part of the processor, the cache plays a vital role in the performance of the processor system. Under the multi-core architecture, the processor adopts a multi-level cache design method, and all processor cores share the last-level cache or each processor core has its own private last-level cache. The structure of the private last-level cache has good chip scalability and relatively simple control logic, but it cannot make efficient use of system resources. In comparison, the structure of the shared last-level cache has the advantages of...

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
IPC IPC(8): G06F12/08G06F9/50G06F12/0871
Inventor 金海廖小飞余丹萍
Owner HUAZHONG UNIV OF SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products