主权项 |
1. A method for affinity binding of an interrupt of a virtual network interface card, wherein the method comprises:
receiving, by a computer device, a request message from an Infrastructure as a Service (IaaS) resource management system, wherein the request message carries an interrupt affinity policy parameter of the virtual network interface card; performing by the computer device, one-to-one correspondence affinity binding between multiple virtual central processing units (VCPUs) and multiple physical central processing units (PCPUs); and performing, by the computer device, affinity binding between a virtual interrupt of the virtual network interface card and a VCPU, and performing, by the computer device, affinity binding between a physical interrupt of the virtual network interface card and a corresponding PCPU according to the affinity policy parameter. |