Network resource configuration for a virtual machine

US9983899B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9983899-B2
Application numberUS-201615058829-A
CountryUS
Kind codeB2
Filing dateMar 2, 2016
Priority dateSep 2, 2013
Publication dateMay 29, 2018
Grant dateMay 29, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A resource configuration method of a virtual machine and a communications device. When an actual requirement of the virtual machine for the network resource is dynamically changed, the communications device may dynamically configure a communication manner corresponding to the virtual machine such that a virtual machine with a relatively low requirement for the network resource may use the manner of sharing the physical network interface card, and a virtual machine with a relatively high requirement for the network resource may use the pass-through manner, which does not cause a situation in which network resources of some virtual machines are wasted and network resources of some virtual machines are insufficient. As a result, network resources of virtual machines are properly allocated.

First claim

Opening claim text (preview).

What is claimed is: 1. A resource configuration method of a communications device comprising a plurality of virtual machines and a plurality of physical network interface cards, comprising: dynamically acquiring requirement indication information of the plurality of virtual machines for a network resource; dynamically configuring at least one first virtual machine of the plurality of virtual machines to communicate using a first physical network interface card of the plurality of physical network interface cards in a pass-through manner, wherein a requirement indication information of the at least one first virtual machine meets a preset pass-through condition; and dynamically configuring at least one second virtual machine of the plurality of virtual machines to share a second physical network interface card of the plurality of physical network interface cards, wherein a requirement indication information of the at least one second virtual machine does not meet the preset pass-through condition, wherein configuring the at least one second virtual machine to share the second physical network interface card comprises: selecting a physical network interface card of the plurality of physical network interface cards whose network traffic or load is less than or equal to a preset value to perform sharing as the second physical network interface card; and changing a hardware network resource in a configuration file of the at least one second virtual machine to a resource of the shared second physical network interface card. 2. The resource configuration method according to claim 1 , wherein acquiring the requirement indication information of the plurality of virtual machines for the network resource comprises acquiring network traffic or load of the plurality of virtual machines, and wherein the preset pass-through condition comprises the network traffic or the load is greater than a first threshold, wherein the network traffic or load of the at least one first virtual machine is greater than the first threshold. 3. The resource configuration method according to claim 1 , wherein acquiring the requirement indication information of the plurality of virtual machines for the network resource comprises acquiring the network traffic or load of each virtual machine of the plurality of virtual machines, wherein the at least one first virtual machine comprises N virtual machines whose network traffic or load ranks ahead, and wherein N is less than a quantity of physical network interface cards. 4. The resource configuration method according to claim 1 , wherein acquiring the requirement indication information of the plurality of virtual machines for the network resource further comprises: acquiring the network traffic or load of each virtual machine of the plurality of virtual machines; and calculating a hash value corresponding to the network traffic or the load of each virtual machine of the plurality of virtual machines, wherein the hash value corresponding to the network traffic or the load of the at least one virtual machine is greater than a second threshold. 5. The resource configuration method according to claim 1 , wherein configuring the at least one first virtual machine to communicate in the pass-through manner comprises: changing a hardware network resource in a configuration file of the at least one first virtual machine to the resource of the first physical network interface card. 6. The resource configuration method according to claim 1 , wherein before acquiring the requirement indication information of the plurality of virtual machines of the communications device for the network resource, the method further comprises: setting an initial value of the requirement indication information corresponding to each virtual machine of the plurality of virtual machines; configuring a virtual machine whose initial value of the requirement indication information meets the preset pass-through condition to communicate in a pass-through manner; and configuring a virtual machine whose initial value of the requirement indication information does not meet the preset pass-through condition to share a physical network interface card. 7. A communications device for resource configuration of one or more virtual machines, comprising: multiple physical network interface cards; multiple virtual machines; a memory; and a processor, wherein the memory storing instructions which, when executed by the processor, cause the processor to be configured to: dynamically acquire requirement indication information of the multiple virtual machines for a network resource; dynamically configure at least one first virtual machine of the multiple virtual machines to communicate using a first physical network interface card of the multiple physical network interface cards in a pass-through manner, wherein a requirement indication information of the at least one first virtual machine meets a preset pass-through condition; and dynamically configure at least one second virtual machine of the multiple virtual machines to share a second physical network interface card of the multiple physical network interface cards, wherein a requirement indication information of the at least one second virtual machine does not meet the preset pass-through, wherein configuring the at least one second virtual machine to share the second physical network interface card comprises: selecting a physical network interface card of the multiple physical network interface cards whose network traffic or load is less than or equal to a preset value to perform sharing as the second physical network interface card; and changing a hardware network resource in a configuration file of the at least one second virtual machine to a resource of the shared second physical network interface card. 8. The communications device according to claim 7 , wherein the instructions further cause the processor to be configured to acquire network traffic or load of the multiple virtual machines, and wherein the preset pass-through condition comprises network traffic or the load is greater than a first threshold, wherein the network traffic or load of the at least one first virtual machine is greater than the first threshold. 9. The communications device according to claim 7 , wherein the instructions further cause the processor to be configured to: acquire the network traffic or load of each virtual machine of the multiple virtual machines, wherein the at least one first virtual machine comprises N virtual machines whose network traffic or load ranks ahead, and wherein N is less than a quantity of physical network interface cards. 10. The communications device according to claim 7 , wherein the instructions further cause the processor to be configured to: acquire the network traffic or load of each virtual machine of the multiple virtual machines; and calculate a hash value corresponding to the network traffic or the load of each virtual machine of the multiple virtual machines, wherein the hash value corresponding to the network traffic or the load of the at least one virtual machine is greater than a second threshold. 11. The communications device according to claim 7 , wherein the instructions further cause the processor to be configured to: change a hardware network resource in a configuration file of the at least one first the virtual machine to the resource of the first physical network interface card. 12. The communications device according to claim 7 , wherein the instructions further cause the processor to be configured to: set an initial value of the requirement indication information corresponding to each virtual machine of the one

Assignees

Inventors

Classifications

  • Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455) · CPC title

  • Distribution of virtual machine instances; Migration and load balancing · CPC title

  • Wireless resource allocation · CPC title

  • Network integration; Enabling network access in virtual machine instances · CPC title

  • Hypervisor-specific management and integration aspects · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9983899B2 cover?
A resource configuration method of a virtual machine and a communications device. When an actual requirement of the virtual machine for the network resource is dynamically changed, the communications device may dynamically configure a communication manner corresponding to the virtual machine such that a virtual machine with a relatively low requirement for the network resource may use the manne…
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F9/45558. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 29 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 7 related publications on this page (citations in our corpus or others sharing the same primary CPC).