Load balancing method under virtual environment

A virtualized environment and load balancing technology, applied in digital transmission systems, data exchange networks, electrical components, etc., to solve the problem of reduced network throughput, longer I/O processing time of network devices, frequent interruption of single connection processing, etc. problem, to avoid the effect of response

Inactive Publication Date: 2014-06-04
HUAZHONG UNIV OF SCI & TECH
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The purpose of the present invention is to solve the problem that network I / O is concentrated on a single virtual processor for processing under virtualization, resulting in frequent migration of virtual processors and frequent interruption of single connection processing, which eventually leads to a decrease in network device I / O processing time. Long, and the problem of decreased network throughput

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
  • Load balancing method under virtual environment
  • Load balancing method under virtual environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] At first the technical terms in the present invention are explained and defined:

[0019] Network card interrupt scheduling parameters: the present invention defines parameters for monitoring whether the system environment (network card queues, physical processor resources, virtual processor resources) changes, and if changed, the parameters are set. This parameter is initially set to change for initial load balancing. This parameter is cleared after each execution of the load balancing method.

[0020] Ring queue: ring buffer in English, implemented in a shared memory method, and used to transfer data between different virtual machines.

[0021] Driver domain: Driver Domain in English, the virtual machine used to manage devices in paravirtualization, the device driver is concentrated in this driver domain, and the device backend corresponding to the device front end in the virtual machine is also concentrated in this driver domain.

[0022] Event channel: Event Chann...

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

The invention discloses a load balancing method under a virtual environment. The load balancing method comprises the following steps of: judging a preset network card interrupt scheduling parameter changes when network card interrupt reaches, and if so, acquiring a sum M of current network card queues, a sum N of physical processors, interrupt loads on the physical processors, a number L of virtual processors in a virtual machine and a number K of virtual processors in a driving region; applying L annular queues and event channels for the front end of network card equipment of the virtual machine and the rear end of the network card equipment; judging whether N is more than M, and if the N is more than the M, binding M network card queues into the first M of the N physical processors in sequence by utilizing expanded message interrupt; processing the network card interrupt by the physical processors bound by the network card queues with network card interrupt; and forwarding a data packet corresponding to the network card interrupt to the rear end of the network card equipment. According to the load balancing method disclosed by the invention, problems of reduced network throughput rate and prolonged response time caused by a manner that high-load network I / O (Input / Output) is concentratedly processed in the single virtual processor under the virtual condition are avoided.

Description

technical field [0001] The invention belongs to the field of load balancing in a virtualized environment, and more specifically, the invention relates to a load balancing method in a virtualized environment. Background technique [0002] In the case of virtualization, load balancing includes load balancing of virtual processor scheduling and load balancing of different device interruptions. The load balancing of virtual processor scheduling adopts the "stealing" method. When the virtual processor queue corresponding to the current physical processor is empty, the load balancing policy will transfer the virtual processors to be run in the queue to the virtual processor queues of adjacent physical processors. Migrate to own virtual processor queue. The load balancing of different devices can realize that the interrupts of different devices are bound to different physical processors for processing. [0003] However, existing load balancing methods have the following problems:...

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): H04L12/701H04L12/803
Inventor 金海邵志远王强
Owner HUAZHONG UNIV OF SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products