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

Multi-core CPU and inter-core communication method thereof

An inter-core communication and multi-core technology, applied in the field of multi-core CPU and its inter-core communication, can solve the problems of large communication failures and occupying many MAC ports, and achieve the effect of high forwarding performance and high reliability

Active Publication Date: 2012-09-26
NEW H3C TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in this way, a switch chip needs to be installed outside the CPU, and many MAC ports are occupied in the process of message forwarding, and the probability of accidental communication failure is high.

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
  • Multi-core CPU and inter-core communication method thereof
  • Multi-core CPU and inter-core communication method thereof
  • Multi-core CPU and inter-core communication method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to solve the above problems in the prior art, in the embodiment of the present invention, a MAC loopback port is configured on the multi-core CPU, and the buffer (cache) of the MAC loopback port is configured as a shared cache of each core in the multi-core CPU. When one core in a multi-core CPU sends a message to another core, the source core as the sender of the message sends the message carrying the identification information (such as the MAC address) of the destination core to the MAC loopback port, and the MAC loopback After the interface is looped back, it is stored in the shared cache, and the hardware forwarding engine of the shared cache notifies the destination core as the receiver of the message to read the message from the shared cache.

[0034] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0035] like figure 2 As shown, the multi-core CPU includes a core 1, a core 2, a core...

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 inter-core communication method of a multi-core CPU. The multi-core CPU is configured with a medium access control (MAC) loopback interface, and a receive register of the MAC loopback interface is shared by all cores. When a source core, as a message sender, needs to send a message to a target core as a message receiver, in the method, the source core sends the message to be sent to the target core to the MAC loopback interface; the MAC loopback interface stores the message in the receive register of the MAC loopback interface after loop back; a hardware forwarding engine corresponding to the MAC loopback interface sends the memory address of the message in the receive register to the target core; and the target core reads the message from the receive register of the MAC loopback interface according to the memory address. The method can realize inter-core message forwarding in the multi-core CPU, and enhance the efficiency and the reliability of inter-core communication.

Description

technical field [0001] The invention relates to the communication field, in particular to a multi-core CPU and an inter-core communication method thereof. Background technique [0002] More and more network access users and more and more diversified business requirements require that various network devices must provide sufficient throughput; on the other hand, due to continuous updates and changes in network applications, new services are constantly emerging, and require Service providers can quickly meet user needs and increase profit models, thereby consolidating and enhancing competitiveness. In this context, traditional processors are becoming more and more inadequate. Now more and more devices use powerful multi-core CPUs to improve product performance. Multi-core CPUs are currently widely used in PCs and embedded devices. Therefore, how to communicate between cores becomes a problem that must be solved for multi-core CPU devices. [0003] Most of the inter-core comm...

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): G06F15/163
Inventor 高瑞昌王琮
Owner NEW H3C TECH CO LTD