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

Claim 0:
1. A method comprising:
monitoring, by the processing device, a resource usage by a virtual machine (VM) over a first time period to obtain a load pattern for the VM;
performing, by the processing device, 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;
determining, by the processing device, 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;
determining, 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;
executing, by the processing device, the VM using the determined amount of allocated resources;
detecting, by the processing device, a difference between an actual resource usage and a predicted resource usage of the VM over a third time period;
adjusting, by the processing device, 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;
determining, by the processing device, a corrected amount of the resource to allocate to the VM in view of the corrected predictive resource usage model; and
executing, by the processing device, the VM using the corrected amount of the resource.