System and method for routing network frames between virtual machines
US-2016350151-A1 · Dec 1, 2016 · US
US9983899B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-9983899-B2 |
| Application number | US-201615058829-A |
| Country | US |
| Kind code | B2 |
| Filing date | Mar 2, 2016 |
| Priority date | Sep 2, 2013 |
| Publication date | May 29, 2018 |
| Grant date | May 29, 2018 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
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.
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
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
Related publications grouped by family.
Answers are generated from the same data shown on this page.