A packet processing method based on multi-core processor and multi-core processor

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

Active Publication Date: 2017-11-03
RUIJIE NETWORKS CO LTD
View PDF5 Cites 0 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
  • A packet processing method based on multi-core processor and multi-core processor
  • A packet processing method based on multi-core processor and multi-core processor
  • A packet processing method based on multi-core processor 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 present invention provides a message processing method based on a multi-core processor and a multi-core processor. The method includes: the multi-core processor allocates a cache sub-pool to each pipeline during the process of creating a pipeline, and the cache sub-pool It is used to store a message pointer, and the pointer points to a message buffer; the received message is hashed to buffer subpools corresponding to different pipelines, and the message is processed on the corresponding pipeline. In the present invention, each pipeline has a cache sub-pool, and when the pipeline needs to obtain resources, it can be obtained directly from its corresponding cache sub-pool, thereby avoiding the lock conflict phenomenon between pipelines in the prior art, and realizing no The lock forwarding message improves the parallel processing capability of the multi-core processor to a certain extent.

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 Patents(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