System and method for implementing packet combined treatment by multi-core CPU
A joint processing and CPU core technology, applied in the field of communication, can solve problems such as interruption overhead and hardware limitations, and achieve the effects of avoiding interruption overhead, improving flexibility, and achieving packet throughput and delay
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] see Image 6 , is the embodiment 1 of method provided by the present invention, comprises the following steps:
[0050] Step 1, the message is sent and the CPU core processes the message information;
[0051] In this step, after the message sending CPU completes its own processing of the message, it encapsulates the message information into a preset message structure to ensure that the next CPU core can recognize it, for example:
[0052] struct pkt_message
[0053] {
[0054] ulong *packet;
[0055] ulong *pretreat;
[0056] ulong*parameter;
[0057]}
[0058] Step 2, the message sending CPU core identifies the state of the shared message queue, and correspondingly controls the CPU core as the shared message queue corresponding to the message receiving CPU core;
[0059] Step 3, the message sending CPU core writes the message information processed by the CPU core to the shared message queue;
[0060] Step 4, the message receiving CPU core queries whethe...
Embodiment 2
[0073] see Figure 9 , for the embodiment 2 of the method provided by the present invention, comprising the following steps:
[0074] Step 21, the message is sent and the CPU core processes the message information;
[0075] Step 22. The message sending CPU core identifies the length of the shared message queue 1. If it is less than the preset minimum threshold value of 1min, it indicates that no congestion occurs, and executes step 27; it is greater than the preset minimum threshold value of 1min and less than the preset When the maximum threshold value is 1max, perform step 23, and when it is greater than the preset maximum threshold value 1max, perform step 24;
[0076] Step 23, shortening the length of the shared message queue corresponding to the CPU core as the message receiving CPU core, and performing step 27;
[0077] Step 24, indicating that the shared message queue is full, and buffering the processed message information;
[0078] Step 25, identifying the shared m...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com