×

Method and device for computing resource scheduling

  • US 10,432,550 B2
  • Filed: 07/07/2016
  • Issued: 10/01/2019
  • Est. Priority Date: 07/10/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method for resource scheduling comprising:

  • acquiring, by a resource scheduling device, a resource configuration quantity of a cluster, the cluster including a plurality of hosts, the plurality of hosts including a plurality of current hosts each running one or more instances, the resource configuration quantity comprising a total capacity of each host in the cluster;

    acquiring, by the resource scheduling device, an actual resource utilization quantity of each host in the cluster, the actual resource utilization quantity acquired by analyzing resources actively utilized by instances executing on each host;

    generating, by the resource scheduling device, a resource parameter based on the resource configuration quantity and the actual resource utilization quantity;

    calculating, by the resource scheduling device, a number of predicted hosts in the cluster according to the resource parameter by predicting the resource utilization quantities of instances in a given cluster, the predicting generating maximum value of resource utilization quantities of the hosts in a prospective time period based on the corresponding actual resource utilization quantities;

    comparing, by the resource scheduling device, the predicted resource utilization quantities to resource configuration quantities of the plurality of hosts;

    determining, by the resource scheduling device, one or more to-be-migrated hosts and one or more target hosts from the current hosts in the cluster when a number of current hosts in the cluster is greater than the number of predicted hosts; and

    migrating, by the resource scheduling device, an instance of the one or more instances running on a to-be-migrated host of the one or more to-be-migrated hosts to a target host of the one or more target hosts when the number of current hosts is greater than the number of predicted hosts.

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