Patent ID: 11960941
Assignee: RED HAT, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 13:
14. A non-transitory computer-readable storage medium including instructions that, when executed by a processing device, cause the processing device to:
monitor a resource usage by a virtual machine (VM) over a first time period to obtain a load pattern for the VM;
perform a time series analysis of the load pattern to generate a predictive resource usage model, the predictive resource usage model indicating one or more predicted variations in the resource usage of the VM over a second time period;
determine, at least partially in view of the predictive resource usage model, a predicted resource usage of the VM at a future time that is within the second time period;
determine, by the processing device, an amount of the resource to allocate to the VM at a current time at least partially in view of the predicted resource usage of the VM at the future time and a resource reserve;
execute the VM using the determined amount of allocated resources;
detect a difference between an actual resource usage and a predicted resource usage of the VM over a third time period;
adjust the predictive resource usage model in view of the difference between the actual resource usage and the predicted resource usage of the VM over the third time period to generate a corrected predictive resource usage model;
determine a corrected amount of the resource to allocate to the VM in view of the corrected predictive resource usage model; and
execute the VM using the corrected amount of the resource.