Load balancing method and apparatus of multi-core CPU
A load balancing, CPU core technology, applied in the field of computer communication, can solve the problems of inability to fully balance multi-core load, low CPU utilization, CPU overhead, etc., to avoid CPU overhead, improve forwarding performance, and real-time load dynamic balancing. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0069] This embodiment provides a multi-core CPU load balancing method, which can be applied to communication equipment, wherein the communication equipment can include a hardware distribution module, a receiving port, and at least two CPU cores, and each receiving port is configured to communicate with at least two CPU cores. Binding, the CPU cores bound to the same receiving port are configured to bind one or more receiving queues of the receiving port respectively.
[0070] Wherein, the receiving queues bound to different CPU cores bound to the same receiving port are different. When a CPU core is bound to multiple receiving queues of a receiving port, the larger the index of the receiving queue, the higher the priority.
[0071] In other words, there is a one-to-many binding relationship between the receiving port and the CPU core, and there is a one-to-one or many-to-one binding relationship between the receiving queue of the receiving port and the CPU core, and the recei...
Embodiment 2
[0148] Embodiment 2. A load balancing device for a multi-core CPU, such as Figure 6 shown, including:
[0149] A hardware distribution module 601, a receiving port 602, and at least two CPU cores (for example, CPU cores 603a and 603b); wherein, each receiving port 602 is configured to be bound to at least two CPU cores (for example, CPU cores 603a and 603b) , the CPU cores bound to the same receiving port 602 are configured to bind one or more receiving queues of the receiving port 602 respectively;
[0150] The hardware distribution module 601 is used to classify the packets according to the distribution rules for each receiving port 602, and forward the packets to the packets to which the packets belong according to the distribution relationship between the receiving queue and the packet type of the receiving port 602 A receive queue with an allocation relationship of type;
[0151]The receiving port 602 is used to generate a hardware interrupt after receiving the message...
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