-
公开(公告)号:US20240028361A1
公开(公告)日:2024-01-25
申请号:US17869680
申请日:2022-07-20
Applicant: VMware, Inc.
Inventor: Phani Kishore GADEPALLI , Xunjia LU , James Kenneth WHITE , Sam SCALISE
IPC: G06F9/455 , G06F12/084
CPC classification number: G06F9/45558 , G06F12/084 , G06F2009/45583 , G06F2212/152
Abstract: An example method of virtualized cache allocation for a virtualized computing system includes: providing, by a hypervisor for a virtual machine (VM), a virtual shared cache, the virtual shared cache backed by a physical shared cache of a processor; providing, by the hypervisor to the VM, virtual service classes and virtual service class bit masks; mapping, by the hypervisor, the virtual service classes to physical service classes of the processor; associating, by the hypervisor, a shift factor with the virtual service class bit masks with respect to physical service class bit masks of the processor; and configuring, by the hypervisor, service class registers and service class bit mask registers of the processor based on the mapping and the shift factor in response to configuration of the virtual shared cache by the VM.
-
公开(公告)号:US20230036017A1
公开(公告)日:2023-02-02
申请号:US17382070
申请日:2021-07-21
Applicant: VMware, Inc.
Inventor: Xunjia LU , Yifan HAO , Sam SCALISE
IPC: G06F9/455 , G06F12/0815
Abstract: An example method of determining size of virtual last-level cache (LLC) exposed to a virtual machine (VM) supported by a hypervisor executing on a host computer includes: obtaining, by the hypervisor, a host topology of the host computer, the host topology including a number of LLCs in a central processing unit (CPU) of the host computer and a host LLC size being a size of each of the LLCs in the CPU; obtaining, by the hypervisor, a virtual socket size for a virtual socket presented to the VM by the hypervisor and a virtual non-uniform memory access (NUMA) node size presented to the VM by the hypervisor; determining, by the hypervisor, a virtual LLC size for the VM based on the host topology, the virtual socket size, the virtual NUMA node size, and a plurality of constraints; and presenting, to the VM, the virtual LLC size in processor feature discovery information.
-