Multi-core processor based message processing method and multi-core processor

A multi-core processor and message processing technology, which is applied in the field of network communication, can solve problems such as waste of processing core resources and reduce parallel processing capabilities of multi-core processors, so as to improve cache hit rate, improve parallel processing capabilities, and avoid lock conflicts Effect

Active Publication Date: 2015-03-04
RUIJIE NETWORKS CO LTD
View PDF5 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This kind of lock conflict phenomenon, because the pipeline that has not taken the cache space needs to wait until the cache space is obtained before further processing the message, which will reduce the parallel processing capability of the multi-core processor, resulting in a waste of processing core resources

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 processor based message processing method and multi-core processor
  • Multi-core processor based message processing method and multi-core processor
  • Multi-core processor based message processing method and multi-core processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The message forwarding method based on the multi-core processor and the multi-core processor provided by the present invention will be described in more detail below with reference to the drawings and embodiments.

[0043] An embodiment of the present invention provides a message processing method based on a multi-core processor, such as figure 1 shown, including:

[0044] Step 101, in the process of creating pipelines, the multi-core processor allocates a cache subpool for each pipeline, and the cache subpool is used to store message pointers, and the pointers point to message buffers.

[0045] Among them, each message pointer corresponds to a message, and each message corresponds to a message buffer, and each message pointer points to the message buffer of the message corresponding to the message pointer, and the message buffer is actually stored The physical area of ​​the packet. Specifically, the message pointer points to the address of the physical area where the...

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 provides a multi-core processor based message processing method and a multi-core processor. The method comprises steps as follows: the multi-core processor distributes one buffer subpool to each assembly line in a flow line establishing process, and the buffer subpool is used for storing a message pointer which points to a message buffer; and the received messages are scattered to the buffer subpools corresponding to different flow lines and processed on the corresponding flow lines. According to the multi-core processor based message processing method and the multi-core processor, one buffer subpool is provided for each flow line, and resources are directly acquired from the corresponding buffer subpools when required to be acquired for the flow lines, so that the lock confliction phenomenon among the flow lines in the prior art is avoided, lockless message retransmission is realized, and the parallel processing capability of the multi-core processor is improved to a certain degree.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a message processing method based on a multi-core processor and the multi-core processor. Background technique [0002] At present, in order to meet the requirements of high-speed data forwarding performance, multi-core processors are more and more popular, and the multi-core processors have high scalability and parallel computing capabilities. The so-called multi-core processor is a processor that integrates multiple core processors on a hardware chip, usually in a shared memory structure. The multi-core processor has multiple processing cores independent of each other, and can execute message processing programs in parallel, thereby enhancing the throughput of the system. At present, the scheme of using the multi-core processor to process messages is as follows: [0003] (1) The processing of the message is divided into multiple processing stages, and different p...

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): H04L12/861
Inventor 李蒙
Owner RUIJIE NETWORKS CO LTD
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