Virtual container storage interface controller
US-12175078-B2 · Dec 24, 2024 · US
US2016306647A1 · US · A1
| Field | Value |
|---|---|
| Publication number | US-2016306647-A1 |
| Application number | US-201615187458-A |
| Country | US |
| Kind code | A1 |
| Filing date | Jun 20, 2016 |
| Priority date | Dec 20, 2013 |
| Publication date | Oct 20, 2016 |
| Grant date | — |
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.
The present invention discloses a method for affinity binding of interrupt of a virtual network interface card, and a computer device. The method includes: receiving a request message sent by an IaaS resource management system, where the request message carries an interrupt affinity policy parameter of a virtual network interface card; performing one-to-one correspondence affinity binding between multiple virtual central processing units VCPUs and multiple physical central processing units PCPUs; performing affinity binding between a virtual interrupt of the virtual network interface card and a VCPU; and performing affinity binding between a physical interrupt of the virtual network interface card and a corresponding PCPU according to the affinity policy parameter.
Opening claim text (preview).
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. 2 . The method according to claim 1 , wherein performing the affinity binding between the virtual interrupt of the virtual network interface card and the VCPU, and performing the affinity binding between the physical interrupt of the virtual network interface card and the corresponding PCPU according to the affinity policy parameter further comprises: when the virtual interrupt of the virtual network interface card is in affinity binding with a first VCPU of the multiple VCPUs, performing binding between the physical interrupt of the virtual network interface card and a first PCPU of the multiple PCPUs according to the policy parameter, wherein the first VCPU is a VCPU in affinity binding with the first PCPU. 3 . The method according to claim 2 , wherein the method further comprises: when the virtual interrupt of the virtual network interface card changes to be in affinity binding with a second VCPU, performing binding between the physical interrupt of the virtual network interface card and a second PCPU, wherein the second VCPU is a VCPU in affinity binding with the second PCPU. 4 . The method according to claim 2 , wherein performing the binding between the physical interrupt of the virtual network interface card and the first PCPU of the multiple PCPUs further comprises: finding a corresponding physical interrupt number according to a virtual interrupt number of the virtual network interface card, so as to determine a corresponding physical interrupt; determining a corresponding first PCPU according to a one-to-one correspondence affinity binding relationship between the VCPUs and the PCPUs; and performing binding between the physical interrupt of the virtual network interface card and the corresponding first PCPU. 5 . The method according to claim 3 , wherein performing the binding between the physical interrupt of the virtual network interface card and the second PCPU further comprises: finding a corresponding physical interrupt number according to a virtual interrupt number of the virtual network interface card, so as to determine a corresponding physical interrupt; determining a corresponding second PCPU according to a one-to-one correspondence affinity binding relationship between the VCPUs and the PCPUs; and performing binding between the physical interrupt of the virtual network interface card and the corresponding second PCPU. 6 . The method according to claim 1 , wherein performing the affinity binding between the physical interrupt of the virtual network interface card and the corresponding PCPU according to the affinity policy parameter further comprises: performing affinity binding between the physical interrupt of the virtual network interface card and an idle PCPU according to the policy parameter. 7 . The method according to claim 6 , wherein when a state of the idle PCPU changes to non-idle, affinity binding between the physical interrupt of the virtual network interface card and another idle PCPU is performed. 8 . The method according to claim 1 , wherein performing the affinity binding between the physical interrupt of the virtual network interface card and the corresponding PCPU according to the policy parameter further comprises: performing, according to the policy parameter, affinity binding between the physical interrupt of the virtual network interface card and a reserved PCPU that is used to process the physical interrupt of the virtual network interface card. 9 . A computer device, comprising: a non-transitory memory storage comprising processor-executable instructions; and one or more processor in communication with the memory, wherein the one or more processors are configured to execute the processor-executable instructions to facilitate: receiving a request message from an Infrastructure as a Service (IaaS) resource management system, wherein the request message carries an interrupt affinity policy parameter of a virtual network interface card; performing one-to-one correspondence affinity binding between multiple virtual central processing units VCPUs and multiple physical central processing units PCPUs; and performing affinity binding between a virtual interrupt of the virtual network interface card and a VCPU, and performing affinity binding between a physical interrupt of the virtual network interface card and a corresponding PCPU according to the affinity policy parameter. 10 . The computer device according to claim 9 , wherein the one or more processors are further configured to execute the processor-executable instructions to facilitate: capturing an operation of performing affinity binding between the virtual interrupt of the virtual network interface card and the VCPU or changing affinity binding; and performing affinity binding between the physical interrupt of the virtual network interface card and the corresponding PCPU; wherein affinity binding is performed between the physical interrupt of the virtual network interface card and the corresponding PCPU according to a notification, wherein the corresponding PCPU is a PCPU in one-to-one correspondence affinity binding with the VCPU. 11 . The computer device according to claim 9 , wherein the one or more processors are further configured to execute the processor-executable instructions to facilitate: performing affinity binding between the physical interrupt of the virtual network interface card and an idle PCPU. 12 . The computer device according to claim 9 , wherein the one or more processors are further configured to execute the processor-executable instructions to facilitate: performing affinity binding between the physical interrupt of the virtual network interface card and a reserved PCPU that is used to process the physical interrupt of the virtual network interface card.
I/O management, e.g. providing access to device drivers or storage · CPC title
Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455) · CPC title
by interrupt, e.g. masked · 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.