Invention Grant
- Patent Title: Dynamic virtual machine sizing
-
Application No.: US15728342Application Date: 2017-10-09
-
Publication No.: US10430226B2Publication Date: 2019-10-01
- Inventor: Haoqiang Zheng
- Applicant: VMware, Inc.
- Applicant Address: US CA Palo Alto
- Assignee: VMware Inc.
- Current Assignee: VMware Inc.
- Current Assignee Address: US CA Palo Alto
- Agency: Thomas | Horstemeyer, LLP
- Main IPC: G06F9/455
- IPC: G06F9/455 ; G06F9/50

Abstract:
A technique is described for managing processor (CPU) resources in a host having virtual machines (VMs) executed thereon. A target size of a VM is determined based on its demand and CPU entitlement. If the VM's current size exceeds the target size, the technique dynamically changes the size of a VM in the host by increasing or decreasing the number of virtual CPUs available to the VM. To “deactivate” virtual CPUs, a high-priority balloon thread is launched and pinned to one of the virtual CPUs targeted for deactivation, and the underlying hypervisor deschedules execution of the virtual CPU accordingly. To “activate” virtual CPUs, the number of virtual CPUs, the launched balloon thread may be killed.
Public/Granted literature
- US20180129526A1 DYNAMIC VIRTUAL MACHINE SIZING Public/Granted day:2018-05-10
Information query