Patent ID: 11966765
Assignee: NVIDIA CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G  A | IPC A  G

Claim 15:
16. A system, comprising:
a computing system comprising processing resources shared by a plurality of virtual machines (VMs); and
a hypervisor that is configured to:
calculate, according to a memory access metric, a first value corresponding to an execution of a first VM of the plurality of VMs, the plurality of VMs being configured by the hypervisor to share the processing resources according to timeslices allocated between the plurality of VMs;
detect that the first value exceeds a threshold value;
determine, based on the first value, an idle time duration for which a first virtual CPU resource assigned to the first VM is placed into an idle state during a first set of the timeslices that are allocated to the first VM, wherein the first virtual CPU resource comprises at least one virtual CPU assigned to the first VM; and
during execution of code for the first VM, cause the first virtual CPU resource to be placed in the idle state for the idle time duration for at least one timeslice in the first set of the timeslices,
detecting, after the at least one timeslice, that the first value has decreased;
reducing the idle time duration for the first VM; and
causing the first virtual CPU resource to be placed in the idle state for the reduced idle time duration during a subsequent timeslice in the first set of the timeslices that is after the at least one timeslice.