Dynamic virtual resource request rate control for utilizing physical resources
US-9635103-B2 · Apr 25, 2017 · US
US10489207B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-10489207-B2 |
| Application number | US-201715471202-A |
| Country | US |
| Kind code | B2 |
| Filing date | Mar 28, 2017 |
| Priority date | Dec 8, 2014 |
| Publication date | Nov 26, 2019 |
| Grant date | Nov 26, 2019 |
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.
Embodiments provide a resource management technology that may be applied to a host, where the host includes a CPU, an endpoint connected to the CPU, and an I/O device connected to the endpoint. A method includes: allocating, by the CPU, a target endpoint to a target process, where a virtual device is disposed on the target endpoint; obtaining, by the target endpoint, a performance specification of the target process, and adjusting a performance parameter of the virtual device according to the performance specification, where the adjusted virtual device satisfies a total requirement of performance specifications of all processes that use the target endpoint; and when the target process needs to access a resource, obtaining, from the I/O device, a resource that satisfies the performance specification of the target process, and providing the obtained resource to the target process for use.
Opening claim text (preview).
What is claimed is: 1. A resource management method, comprising: associating, by a first host, a first endpoint with a first process executed by a first central processing unit (CPU) of the first host, wherein a virtual device is allocated on the first endpoint; obtaining, by the first endpoint respective performance specifications of the first process and one or more other processes that use the first endpoint, and adjusting a performance parameter provided by the virtual device, wherein the adjusted performance parameter satisfies a total performance specification of the first process and the one or more other processes; sending, by the first host, a resource request of the first process for the virtual device to the first endpoint; after receiving the resource request, obtaining, by the first endpoint from an I/O device, a resource that satisfies the performance specification of the first process, and providing the obtained resource to the first process for use; and determining that the first process needs to migrate and, based thereon, sending, by a first CPU of the first host, the performance specification of the first process and description information of the first process to a second CPU, wherein the second CPU sends the performance specification of the first process to a second endpoint, the second endpoint generates a second virtual device, wherein the second virtual device satisfies the performance specification of the first process; the second CPU generates a second process according to the description information, and sends a second resource request of the second process for the second virtual device to the second endpoint; the second endpoint obtains the resource from a resource pool according to the performance specification of the second process, and providing the resource to the second process for use. 2. The method according to claim 1 , wherein obtaining, by the first endpoint, the performance specification of the first process comprises: obtaining, by the first endpoint, the performance specification from the first host; or collecting, by the endpoint, statistics about performance of the resource occupied by the first process, and generating the performance specification according to a statistical result. 3. The method according to claim 1 , wherein obtaining, by the first endpoint, respective performance specifications of the first process and one or more other processes comprises: collecting, by the first endpoint, statistics about performance of the resource occupied by the first process and one or more other processes; and generating the respective performance specifications according to the collected statistics wherein the obtained performance specifications are the generated performance specifications. 4. The method according to claim 1 , wherein: the first process runs in a virtual machine running on the first host. 5. The method according to claim 1 , wherein resources of multiple I/O devices from multiple endpoints form an I/O resource pool together, or resources of multiple I/O devices from a same endpoint form an I/O resource pool together, and wherein the obtaining, from the I/O device, the resource that satisfies the performance specification of the first process comprises: obtaining, from the resource pool, the resource that satisfies the performance specification of the first process. 6. The method according to claim 1 wherein: if the performance parameter provided by the virtual device is specified by a respective first performance parameter of each of the performance specifications, the total performance specification is a maximum of the first performance parameters; and if the performance parameter provided by the virtual device is specified by one or more of the respective first performance parameters of the performance specifications, the total performance specification is a sum of the one or more first performance parameters. 7. The method according to claim 6 , wherein: if the performance parameter provided by the virtual device is specified by a respective first performance parameter of each of the performance specifications, the performance parameter is a latency time; and if the performance parameter provided by the virtual device is specified by one or more respective first performance parameters of the performance specifications, the performance parameter comprises input/output per second input/output per second (TOPS) and bandwidth. 8. The resource management method according to claim 1 wherein the processes that use a target endpoint comprise processes which have permission to obtain resources from the target endpoint including the first process. 9. A resource management method, for operating a first endpoint, wherein the first endpoint is in communication with an I/O device by using an input/output I/O interface, and a virtual device is allocated on the first endpoint, the method comprising: obtaining a performance specification of a first process and performance specification of other processes mapping to the first endpoint, and adjusting a performance parameter provided by the virtual device according to the performance specification, wherein the adjusted performance parameter satisfies a total performance specification of all processes that use the first endpoint; receiving a resource request of the first process for the virtual device from a CPU; obtaining, from the I/O device, resource that satisfies the performance specification of the first process, and providing the obtained resource to the first process; and determining that the first process needs to migrate and, based thereon, sending, by a first CPU of the first host, the performance specification and description information of the first process to a second CPU of a second host, wherein the second CPU sends the performance specification to a second endpoint, the second endpoint generates a second virtual device, wherein the second virtual device satisfies the performance specification of the first process; the second CPU generates a second process according to the description information, and sends a second resource request of the second process for the second virtual device to the second endpoint; the second endpoint obtains the resource from a resource pool according to the performance specification of the second first process, and providing the resource to the second process for use. 10. The resource management method according to claim 9 , wherein obtaining the performance specification of the first process comprises: receiving, by the endpoint, the performance specification from the CPU; or collecting, by the endpoint, statistics about performance of the resource occupied by the first process and performance specification of other processes mapping to the first endpoint, and generating the performance specification according to a statistical result. 11. The resource management method according to claim 9 , wherein resources of multiple I/O devices form an I/O resource pool together, and the obtaining, from the I/O device, the resource that satisfies the performance specification of the first process comprises: obtaining, from the I/O resource pool, the resource that satisfies the performance specification of the first process, wherein resources of multiple I/O devices from the endpoint and from a second endpoint form the I/O resource pool together, and the multiple endpoints share the resource in the I/O resource pool. 12. The resource management method according to claim 9 , wherein resources of multiple I/O devices form an I/O resource pool together, and the obtaining, from the I/O device, the resource that satisfies the performance spe
Allocation of resources, e.g. of the central processing unit [CPU] · CPC title
I/O management, e.g. providing access to device drivers or storage · CPC title
considering hardware capabilities · CPC title
the resource being a machine, e.g. CPUs, Servers, Terminals · 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
Related publications grouped by family.
Answers are generated from the same data shown on this page.