Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Flow control method of virtual machine and physical machine

A flow control and virtual machine technology, which is applied in the field of virtualized networks and can solve problems such as inability to control data flow

Inactive Publication Date: 2016-06-08
TENCENT TECH (SHENZHEN) CO LTD
View PDF2 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a flow control method for a virtual machine and a physical machine, so as to at least solve the problem of data that cannot be received by a virtual machine in the prior art when the data directly enters the virtual machine without being processed by the virtualized network of the physical machine. Technical issues with flow control

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
  • Flow control method of virtual machine and physical machine
  • Flow control method of virtual machine and physical machine
  • Flow control method of virtual machine and physical machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] According to an embodiment of the present invention, a flow control method for a virtual machine is provided. The virtual machine flow control method in this embodiment can be applied to such as figure 1 In the hardware environment shown.

[0023] Such as figure 1 As shown, the SRIOV physical network card 101 will generate several interfaces 102 after enabling SRIOV. The function of the physical network card 101 is to forward data between the physical network port 103 and the interface 102. The physical network port 103 acts as an external network interface in the SRIOV scenario , it is connected to an external physical medium (such as an optical fiber) 104, and realizes data interaction with the physical medium 104; VF106 is a "network card" or a virtual instance virtualized by the physical network card 101 supporting SRIOV, and it will use a Presented in the form of an independent network card, each VF106 has its own exclusive PCI configuration area, and may share t...

Embodiment 2

[0084] According to an embodiment of the present invention, a physical machine is provided, and the above physical machine can be applied to such as figure 1 In the hardware environment shown.

[0085] Such as figure 1 As shown, the SRIOV physical network card 101 will generate several interfaces 102 after enabling SRIOV. The function of the physical network card 101 is to forward data between the physical network port 103 and the interface 102. The physical network port 103 acts as an external network interface in the SRIOV scenario , it is connected to an external physical medium (such as an optical fiber) 104, and realizes data interaction with the physical medium 104; VF106 is a "network card" or a virtual instance virtualized by the physical network card 101 supporting SRIOV, and it will use a Presented in the form of an independent network card, each VF106 has its own exclusive PCI configuration area, and may share the same physical resource with other VF106s. Depend o...

Embodiment 3

[0125] According to an embodiment of the present invention, a physical machine is provided, and the above-mentioned physical machine can be used as figure 1 In the hardware environment shown.

[0126] Such as figure 1 As shown, the SRIOV physical network card 101 will generate several interfaces 102 after enabling SRIOV. The function of the physical network card 101 is to forward data between the physical network port 103 and the interface 102. The physical network port 103 acts as an external network interface in the SRIOV scenario , it is connected to an external physical medium (such as an optical fiber) 104, and realizes data interaction with the physical medium 104; VF106 is a "network card" or a virtual instance virtualized by the physical network card 101 supporting SRIOV, and it will use a Presented in the form of an independent network card, each VF106 has its own exclusive PCI configuration area, and may share the same physical resource with other VF106s. Depend on...

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 flow control method of a virtual machine and a physical machine. The method comprises the following steps of obtaining the number of interrupt signals which are sent to the virtual machine within the preset time bucket when a first interrupt signal needs to be sent to the virtual machine; judging whether the number of the interrupt signals which are sent to the virtual machine is smaller than a preset threshold; if the number of the interrupt signals which are sent to the virtual machine is smaller than the preset threshold, sending the first interrupt signal to the virtual machine in order to make the virtual machine respond to the first interrupt signal to receive first data; and if the number of the interrupt signals which are sent to the virtual machine is equal to the preset threshold, storing the first interrupt signal into a waiting queue. The method solves the technical problem that the flow control cannot be carried out on the data received by the virtual machine with an SRIOV (Single Root Input Output Virtualization) physical network card when the data directly enters the virtual machine and is not subjected to virtualization network processing of the physical machine in the prior art.

Description

technical field [0001] The present invention relates to the technical field of virtualization network, in particular, to a flow control method of a virtual machine and a physical machine. Background technique [0002] As virtualized network technologies are used more and more widely, new virtualized network technologies emerge in an endless stream. Among them, the SRIOV (SingleRootInputOutputVirtualization) network card implemented by hardware virtualization network technology can greatly reduce the delay of network transmission and has obvious performance advantages compared with network cards using other virtualization network technologies. . [0003] As we all know, a typical virtualized network supports multiple virtual machines on one physical machine. At this time, it is necessary to configure and manage the network traffic of the virtual machines. In the prior art, the data is processed and transmitted to the virtual machine through the virtualized network of the ph...

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 Applications(China)
IPC IPC(8): H04L12/801H04L12/46
Inventor 高剑林
Owner TENCENT TECH (SHENZHEN) CO LTD
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
Eureka Blog
Learn More
PatSnap group products