Supporting quality-of-service for virtual machines based on operational events
AssigneeRed Hat Israel, Ltd.
InventorYaniv Kaul
Life of this patent
Estimating the term…
Abstract
An implementation of the disclosure provides a method. The method comprises identifying a quality-of-service level associated with a virtual machine (VM) executed by a processing device of a host machine. The quality-of-service level indicates an amount of resources of the host machine allocated to the VM. The processing device monitors interactions associated with the VM for an occurrence of an event. Responsive to identifying the occurrence of the event, it is determined that the event is associated with a change in the quality-of-service level for the VM. Thereupon, the VM is provided with additional resources in accordance with the change in the quality-of-service level.
Claims20
A method comprising:
- identifying a quality-of-service level associated with a virtual machine (VM) executed by a processing device of a host machine, wherein the quality-of-service level indicates an amount of resources of the host machine allocated to the VM;
- monitoring, by the processing device, interactions with the VM that cause an occurrence of an event at the VM, wherein the event is in an updateable event list associated with a user account for the VM, wherein the interactions comprise at least initiating an application at the VM that utilizes resources in excess of the amount of resources allocated to the VM;
- determining, by the processing device, a change in the quality-of-service level for the VM in accordance with the occurrence of the event;
- determining, by the processing device, whether the host machine comprises resources to satisfy the change in the quality-of-service level;
- responsive to determining that the host machine comprises the resources to satisfy the change, providing, by the processing device, the VM with additional resources of the host machine in accordance with the change in the quality-of-service level;
- and
- responsive to determining that host machine does not comprises the resources to satisfy the change, migrating, by the processing device, the VM to a second host machine for a duration of the change in the quality-of-service.
A non-transitory computer-readable storage medium comprising instructions that when executed, by a processing device, cause the processing device to:
- generate, by the processing device, a virtual machine (VM) in accordance with a quality-of-service level, the quality-of-service level to indicate an amount of resources allocated to the VM;
- responsive to detecting an interaction with the VM, identify an operational event to be executed at the VM, wherein the event is in an updateable event list associated with a user account for the VM, wherein the interactions comprise initiating an application at the VM to utilize resources in excess of the amount of resources allocated to the VM;
- determine whether the operational event corresponds to at least one event of a plurality of events associated with the VM, wherein the at least one event to indicate a change in the quality-of-service level associated with the VM;
- determine whether a first host machine comprises resources to satisfy the change in the quality-of-service level;
- responsive to determining that the first host machine comprises the resources to satisfy the change, adjust the amount of resources of the first host machine allocated to the VM for a duration of the at least one event in accordance with the change in the quality-of-service level;
- and
- responsive to determining that host machine does not comprises the resources to satisfy the change, migrate the VM from the first host machine to a second host machine for the duration of the change in the quality-of-service.
An apparatus comprising:
- a memory to store data related to a plurality of operational events;
- and
- a processing device, operatively coupled to the memory, to:
- identify a quality-of-service level associated with a virtual machine (VM) executed by the processing device, the quality-of-service level indicates an amount of resources of a first host machine allocated to the VM;
- monitor interactions with the VM that cause an occurrence of an operational event to be executed at the VM, the operational event is associated with a change in the quality-of-service level, wherein the event is in an updateable event list associated with a user account for the VM, wherein the interactions comprise initiating an application at the VM to utilize resources in excess of the amount of resources allocated to the VM;
- responsive to detecting the occurrence, determine whether the allocated resources associated with the VM to allow for the change in the quality-of-service level associated with the VM;
- determine whether the first host machine comprises available resources to satisfy the change in the quality-of-service level;
- responsive to determining that the first host machine comprises the available resources to satisfy the change, adjust, for a duration of the event, the quality-of-service level associated with the VM in view of the available resources of the first host machine;
- and
- responsive to determining that host machine does not comprises the available resources to satisfy the change, migrate the VM from the first host machine to a second host machine for the duration of the change in the quality-of-service.
Dependencies are inferred from the claim text.