A network packet processing method for load balancing between multiple CPU cores
A CPU core and network message technology, which is applied in the field of network message processing for load balancing between multiple CPU cores, can solve problems such as message fetching, CPU core idleness, and ineffective use of processing capabilities, so as to achieve no waste of CPU resources, Realize the effect of automatic equalization
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0022] Such as figure 1 As shown, a network message processing method for load balancing between multiple CPU cores, the method can generally be described as: first designate a CPU core to receive messages from the network card receiving queue, and distribute them to the message receiving queues of other CPU cores , until the message receiving queue reaches its maximum threshold, other CPU cores receive messages from their corresponding message receiving queues, and then process the messages with the protocol stack. Wherein, each CPU core is provided with a corresponding ID, and the value range of the ID is an integer between [0, CPU_CORE_NUMBERS-1], wherein, CPU_CORE_NUMBERS is the total number of CPU cores.
[0023] Define a static unsigned integer variable: recv_packet_count, used to indicate the number of received packets; define a static unsigned integer variable: hash_cpu, used to indicate the ID of the CPU core to be distributed.
[0024] The described network packet p...
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