Method and device for rapidly processing data message in multi-core mode
A technology for processing data and managing messages, applied in the computer field, can solve the problems of complex data message processing process, slow processing speed of business messages, affecting the data processing performance of the central processor, etc. , the effect of reducing the number of copies
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0023] Such as figure 1 As shown, the method for quickly processing data packets in the multi-core mode in this embodiment is implemented under the symmetric multiprocessing SMP architecture of the server, so that management packets and service packets can be processed separately. Specifically, as shown in the figure, the method includes a rule entry establishing step S10, a packet receiving step S20, and a forwarding step S30. Among them, the rule entry establishment step S10: send the management message to the user state running on at least one core in the multi-core, so that the user state program can establish a sending rule entry based on the management message, and the sending rule entry includes all business Packet features and corresponding sending rules. In multi-core mode, a CPU includes multiple cores, and data packets can be processed by a specified core, or distributed to all cores for simultaneous processing. During the specific execution process, the user can ...
no. 2 example
[0027] Such as figure 2 As shown, the device for rapidly processing data packets in the multi-core mode provided by the present invention includes a planning entry establishment module 100 , a packet receiving module 200 and a forwarding module 300 under the symmetric multiprocessing SMP architecture.
[0028]Specifically, the rule table item establishment module 100 is configured to send the management message to the user mode program running on at least one core in the multi-core, so that the user mode program establishes the sending rule table item based on the management message, and sends the rule table Items include the characteristics of all business packets and the corresponding sending rules. Preferably, the rule entry creation module 100 is further configured to send the management message to the user mode program running on at least one core among the multi-cores through the protocol stack. This increases the reliability of the management message transmission. Fu...
no. 3 example
[0032] The server provided in this embodiment includes an apparatus for rapidly processing data packets in multi-core mode as described in the second embodiment.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 