Implementation method and device for cache consistency of multi-core processor, the multi-core processor and storage medium

A technology for multi-core processors and implementation methods, applied in the field of computers, capable of solving problems such as increasing the performance of multi-core processor chips

Pending Publication Date: 2021-02-26
GREE ELECTRIC APPLIANCES INC
View PDF2 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The object of the present invention is to provide a method, device, multi-core processor and storage medium for realizing the cache coherence of a multi-core processor, so as to solve the problem of realizing the cache of a multi-core processor by keeping the cache and memory synchronization of each core in real time. Consistency, which increases the bandwidth of the multi-core processor on-chip bus and thus affects the performance of the multi-core processor, achieves the effect of improving the performance of the multi-core processor by effectively reducing memory write-back operations

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
  • Implementation method and device for cache consistency of multi-core processor, the multi-core processor and storage medium
  • Implementation method and device for cache consistency of multi-core processor, the multi-core processor and storage medium
  • Implementation method and device for cache consistency of multi-core processor, the multi-core processor and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with specific embodiments of the present invention and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0031] According to an embodiment of the present invention, a method for implementing cache coherency of a multi-core processor is provided, such as figure 1 A schematic flow diagram of an embodiment of the method of the present invention is shown. The method for implementing the cache coherency of the multi-core processor may include: step S110 and step S120.

...

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 an implementation method and device for cache consistency of a multi-core processor, the multi-core processor and a storage medium, and the method comprises the steps: adding amodified and shared state on the basis of an MESI protocol so that when buffer in each processor of the multi-core processor, marking each cache line as any one of a modified state, a modified and shared state, an exclusive state, a shared state and a failed state; wherein the modified and shared state indicates that the data in the cache line is updated but is not written back into the memory, and the same effective copy exists in the caches of other cores; and tracking the cache line corresponding to each processor core through bus monitoring so as to perform state conversion on the corresponding cache line according to different data access modes, thereby realizing cache consistency of the multi-core processor. According to the scheme, the performance of the multi-core processor is improved by effectively reducing memory write-back operations.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a method for realizing cache consistency of a multi-core processor, a device, a multi-core processor and a storage medium, and in particular to a method for realizing cache consistency of a multi-core processor, a device, and multi-core processing devices and storage media. Background technique [0002] Multi-core means that a processor contains multiple central processing unit cores (cpu core), and two or more cores are packaged together and integrated into a processor circuit. A multicore processor is a single chip (also known as a silicon core) that plugs directly into a single processor socket, but where the operating system utilizes all associated resources to treat each of its execution cores as a discrete logical processor. By dividing tasks among multiple execution cores, multicore processors can perform more tasks in a given clock cycle. [0003] Multi-co...

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 Applications(China)
IPC IPC(8): G06F9/54G06F13/16
CPCG06F9/544G06F9/545G06F13/1678
Inventor 叶政
Owner GREE ELECTRIC APPLIANCES INC
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