Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Soft interruption load balancing realization method and apparatus

A technology of load balancing equipment and implementation method, applied in the field of communication

Active Publication Date: 2011-08-10
CHENGDU HUAWEI TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The period of the clock interrupt is generally at the millisecond level, so the soft interrupt processing of the remote soft interrupt queue is not very timely, which seriously affects the timeliness of data processing

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
  • Soft interruption load balancing realization method and apparatus
  • Soft interruption load balancing realization method and apparatus
  • Soft interruption load balancing realization method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, and are not intended to limit the present invention.

[0029] The device for soft interrupt load balancing in the embodiment of the present invention, such as figure 2 As shown, including devices that report hard interrupts (such as network cards, data cards, etc. that obtain a large amount of data from the outside and need to obtain system soft interrupts to process data); multiple CPUs, such as CPU0 to CPUn, each CPU has its own The local soft interrupt queue does not add a new remote soft interrupt queue, and sends IPI (Inter-Professor Interrupt, Inter-Processor Interrupt) messages between CPUs, so that soft interrupts can be ba...

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

An embodiment of the invention discloses a soft interrupt load balancing equipment, which comprises a plurality of central processing units; each central processing unit has a corresponding local soft interrupt queue; the central processing units are used to receive hard interrupt and then select the central processing unit which processes the soft interrupt corresponding to the hard interrupt; if the other central processing units are selected, then IPI messages are sent to the selected central processing units to make the selected central processing units execute the soft interrupt. The embodiment of the invention discloses a soft interrupt load balancing realization method. The invention sends IPI messages among CPUs when the other CPUs are needed to process the soft interrupt, so the whole process does not need to be triggered by external events (such as the interruption of the clock); the whole process is coherent without delay and can uniformly dispatch the soft interrupt processing data among a plurality of CPUs in a timely manner.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of communications, and in particular, to a method and device for implementing softirq load balancing. Background technique [0002] In order to make hard interrupts return quickly in computer systems, data processing is often performed in soft interrupts. In the SMP (Symmetric Multiprocessor, symmetric multiprocessor) system, there are multiple CPUs (Central Process Unit, central processing unit), the hard interrupt is reported to a certain CPU, and the corresponding soft interrupt is also executed on this CPU. Because the data processing of soft interrupts consumes a lot of CPU resources, when hard interrupts are reported to all CPUs unbalanced, the corresponding soft interrupts cannot be balanced, which leads to unbalanced CPU occupancy, and performance is limited by a single CPU, which cannot be used The advantages of the SMP system, therefore, solving the soft interrupt balance...

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): G06F9/50G06F9/54
Inventor 罗镇
Owner CHENGDU HUAWEI TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products