Configuration of speed of virtual network interface card
AssigneeBeijing Sankuai Online Technology Co., Ltd
InventorJian QIU
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Sankuai Online Technology Co., Ltd
InventorJian QIU
Estimating the term…
The present disclosure provides a method and an apparatus for configuring a speed of a virtual network interface card (NIC). The method includes: after a virtual machine (VM) is started, configuring an initial transmission speed of a virtual NIC in the VM by using an internal interface set in the VM, and saving the initial transmission speed in the virtual NIC, where the internal interface is used to configure a transmission speed of the virtual NIC and allow communication with an external interface of a physical machine; and during the running of the VM, if the transmission speed of the virtual NIC needs to be modified, invoking the external interface to obtain a target transmission speed, and reconfiguring the target transmission speed as the transmission speed of the virtual NIC via the internal interface.
A method for configuring a speed of a virtual network interface card (NIC), comprising:
A machine device, comprising a storage medium, a processor, and machine executable instructions that are stored on the storage medium and can be run on the processor, wherein the processor executes the machine executable instructions to implement the following operations, comprising:
A non-volatile machine readable storage medium, storing machine executable instructions, wherein the machine executable instructions are executed by a processor to implement the following operations, comprising:
Dependencies are inferred from the claim text.