×

Rolling resource credits for scheduling of virtual computer resources

  • US 10,649,796 B2
  • Filed: 07/15/2014
  • Issued: 05/12/2020
  • Est. Priority Date: 06/27/2014
  • Status: Active Grant
First Claim
Patent Images

1. A system, comprising:

  • a compute node, comprising at least one respective processor and a memory, that implements a virtualization host;

    the virtualization host comprising executable instructions, configured to;

    receive a work request for one or more virtual central processing units (vCPUs) submitted by a virtual compute instance as part of performing an application for a client that reserved the virtual compute instance;

    automatically add a same number of resource credits, at a resource credit accumulation rate set for the vCPUs, to a current resource credit balance for respective consecutive time periods to calculate the current resource credit balance for the virtual compute instance respective to the vCPUs, wherein;

    the current resource credit balance comprises a set of current resource credits that, when used, increase processing time allocated for a time period in excess of a baseline amount of processing time provided by a baseline utilization guarantee; and

    at least one current resource credit of the current resource credit balance was automatically added to the current resource credit balance from a particular time period prior to the current time period, wherein during the particular time period, the virtualization host had performed one or more prior work requests, submitted by the virtual compute instance as part of performing the application for the client, that utilized a prior amount of processing time not in excess of the baseline amount of processing time provided by the baseline utilization guarantee;

    determine that a current amount of processing time to perform the work request, for the current time period, submitted by the virtual compute instance as part of performing the application for the client, is in excess of the baseline amount of processing time provided by the baseline utilization guarantee for the current time period, and responsive to the determination;

    use the at least one current resource credit, automatically added for the particular time period prior to the current time period, from the current resource credit balance to increase allocation of processing time of the respective at least one processor for the current time period in excess of the baseline amount of processing time provided by the baseline utilization guarantee for the virtual compute instance;

    generate one or more scheduling instructions that schedule the work request for performance utilizing the respective at least one processor of the compute node according to the use of the at least one resource credit;

    perform the work request utilizing the respective at least one processor of the compute node according to the one or more scheduling instructions; and

    update the current resource credit balance to deduct the at least one resource credit applied to perform the work request.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×