-
1.
公开(公告)号:US11687356B2
公开(公告)日:2023-06-27
申请号:US17013277
申请日:2020-09-04
Applicant: VMware, Inc.
Inventor: Xunjia Lu , Bi Wu , Petr Vandrovec , Haoqiang Zheng
CPC classification number: G06F9/45558 , G06F9/44505 , G06F9/5077 , G06F12/0238 , G06F2009/45583 , G06F2009/45591 , G06F2209/5022 , G06F2212/2542
Abstract: Techniques for concurrently supporting virtual non-uniform memory access (virtual NUMA) and CPU/memory hot-add in a virtual machine (VM) are provided. In one set of embodiments, a hypervisor of a host system can compute a node size for a virtual NUMA topology of the VM, where the node size indicates a maximum number of virtual central processing units (vCPUs) and a maximum amount of memory to be included in each virtual NUMA node. The hypervisor can further build and expose the virtual NUMA topology to the VM. Then, at a time of receiving a request to hot-add a new vCPU or memory region to the VM, the hypervisor can check whether all existing nodes in the virtual NUMA topology have reached the maximum number of vCPUs or maximum amount of memory, per the computed node size. If so, the hypervisor can create a new node with the new vCPU or memory region and add the new node to the virtual NUMA topology.
-
2.
公开(公告)号:US20220075637A1
公开(公告)日:2022-03-10
申请号:US17013277
申请日:2020-09-04
Applicant: VMware, Inc.
Inventor: Xunjia Lu , Bi Wu , Petr Vandrovec , Haoqiang Zheng
Abstract: Techniques for concurrently supporting virtual non-uniform memory access (virtual NUMA) and CPU/memory hot-add in a virtual machine (VM) are provided. In one set of embodiments, a hypervisor of a host system can compute a node size for a virtual NUMA topology of the VM, where the node size indicates a maximum number of virtual central processing units (vCPUs) and a maximum amount of memory to be included in each virtual NUMA node. The hypervisor can further build and expose the virtual NUMA topology to the VM. Then, at a time of receiving a request to hot-add a new vCPU or memory region to the VM, the hypervisor can check whether all existing nodes in the virtual NUMA topology have reached the maximum number of vCPUs or maximum amount of memory, per the computed node size. If so, the hypervisor can create a new node with the new vCPU or memory region and add the new node to the virtual NUMA topology.
-
3.
公开(公告)号:US20230289207A1
公开(公告)日:2023-09-14
申请号:US18317827
申请日:2023-05-15
Applicant: VMware, Inc.
Inventor: Xunjia Lu , Bi Wu , Petr Vandrovec , Haoqiang Zheng
CPC classification number: G06F9/45558 , G06F9/44505 , G06F9/5077 , G06F12/0238 , G06F2212/2542 , G06F2009/45591 , G06F2009/45583 , G06F2209/5022
Abstract: Techniques for concurrently supporting virtual non-uniform memory access (virtual NUMA) and CPU/memory hot-add in a virtual machine (VM) are provided. In one set of embodiments, a hypervisor of a host system can compute a node size for a virtual NUMA topology of the VM, where the node size indicates a maximum number of virtual central processing units (vCPUs) and a maximum amount of memory to be included in each virtual NUMA node. The hypervisor can further build and expose the virtual NUMA topology to the VM. Then, at a time of receiving a request to hot-add a new vCPU or memory region to the VM, the hypervisor can check whether all existing nodes in the virtual NUMA topology have reached the maximum number of vCPUs or maximum amount of memory, per the computed node size. If so, the hypervisor can create a new node with the new vCPU or memory region and add the new node to the virtual NUMA topology.
-
公开(公告)号:US10691495B2
公开(公告)日:2020-06-23
申请号:US16045075
申请日:2018-07-25
Applicant: VMware, Inc.
Inventor: Xunjia Lu , Haoqiang Zheng , Bi Wu
Abstract: The disclosure provides techniques for scheduling a jitterless workload on a virtual machine (VM) executing on a host comprising one or more pCPUs comprising a first subset of the one or more pCPUs and a second subset of the one or more pCPUs. The techniques further include creating a jitterless zone, wherein the jitterless zone includes the first subset of the one or more pCPUs. The techniques further include determining whether a vCPU of the VM is used to execute a jitterless workload or a non-jitterless workload. The techniques further include allocating by a CPU scheduler to the vCPU at least one of the pCPUs in the jitterless zone when the vCPU of the VM is used to execute a jitterless workload. The techniques further include scheduling the jitterless workload for execution by the vCPU on the allocated at least one of the pCPUs in the jitterless zone.
-
公开(公告)号:US11036555B2
公开(公告)日:2021-06-15
申请号:US16045062
申请日:2018-07-25
Applicant: VMware, Inc.
Inventor: Xunjia Lu , Haoqiang Zheng , Bi Wu
Abstract: The disclosure provides a method of performing a workload on a virtual machine (VM) executing on a host comprising one or more physical central processing units (pCPUs) is provided. The method further includes setting a quality of service (QoS) metric associated with the VM, the QoS metric indicating a time period. The method further includes setting a bandwidth metric associated with the VM, the bandwidth metric indicating a percentage. The method further includes allocating by a central processing unit (CPU) scheduler to a virtual CPU (vCPU) of the VM one of the one or more pCPUs periodically every time period, wherein for every time period the one of the one or more pCPUs is allocated to the vCPU for a duration that is the percentage of the time period based on the QoS metric and the bandwidth metric. The method further includes executing the workload on the virtual machine with the vCPU according to the allocation of the one or more pCPUs.
-
-
-
-