Efficiently purging non-active blocks in NVM regions using virtblock arrays

    公开(公告)号:US11249900B2

    公开(公告)日:2022-02-15

    申请号:US16174249

    申请日:2018-10-29

    Applicant: VMware, Inc.

    Abstract: Techniques for efficiently purging non-active blocks in an NVM region of an NVM device using virtblocks are provided. In one set of embodiments, a host system can maintain, in the NVM device, a pointer entry (i.e., virtblock entry) for each allocated data block of the NVM region, where page table entries of the NVM region that refer to the allocated data block include pointers to the pointer entry, and where the pointer entry includes a pointer to the allocated data block. The host system can further determine that a subset of the allocated data blocks of the NVM region are non-active blocks and can purge the non-active blocks from the NVM device to a mass storage device, where the purging comprises updating the pointer entry for each non-active block to point to a storage location of the non-active block on the mass storage device.

    EFFICIENTLY PURGING NON-ACTIVE BLOCKS IN NVM REGIONS USING POINTER ELIMINATION

    公开(公告)号:US20200133846A1

    公开(公告)日:2020-04-30

    申请号:US16174264

    申请日:2018-10-29

    Applicant: VMware, Inc.

    Abstract: Techniques for efficiently purging non-active blocks in an NVM region of an NVM device using pointer elimination are provided. In one set of embodiments, a host system can, for each level 1 (L1) page table entry of each snapshot of the NVM region, determine whether a data block of the NVM region that is pointed to by the L1 page table entry is a non-active block, and if the data block is a non-active block, remove a pointer to the data block in the L1 page table entry and reduce a reference count parameter associated with the data block by 1. If the reference count parameter has reached zero at this point, the host system purge the data block from the NVM device to the mass storage device.

    Swap file defragmentation in a hypervisor

    公开(公告)号:US10216536B2

    公开(公告)日:2019-02-26

    申请号:US15067856

    申请日:2016-03-11

    Applicant: VMware, Inc.

    Abstract: Memory data for a virtual machine can be stored in a swap file, which is comprised of storage blocks. A defragmentation procedure can be performed on a thin swap file while the virtual machine is still running. The described defragmentation procedure traversing a page frame space of the virtual machine, identifying candidate page frames, relocating the swapped page, and updating the page frame. Resulting unused storage blocks are released to the storage system. A data structure for aiding the defragmentation process is also described.

    TRACKING GUEST MEMORY CHARACTERISTICS FOR MEMORY SCHEDULING
    6.
    发明申请
    TRACKING GUEST MEMORY CHARACTERISTICS FOR MEMORY SCHEDULING 有权
    跟踪用于记忆调度的记忆特征

    公开(公告)号:US20150161056A1

    公开(公告)日:2015-06-11

    申请号:US14101796

    申请日:2013-12-10

    Applicant: VMware, Inc.

    Abstract: A system and method are disclosed for improving operation of a memory scheduler operating on a host machine supporting virtual machines (VMs) in which guest operating systems and guest applications run. For each virtual machine, the host machine hypervisor categorizes memory pages into memory usage classes and estimates the total number of pages for each memory usage class. The memory scheduler uses this information to perform memory reclamation and allocation operations for each virtual machine. The memory scheduler further selects between ballooning reclamation and swapping reclamation operations based in part on the numbers of pages in each memory usage class for the virtual machine. Calls to the guest operating system provide the memory usage class information. Memory reclamation not only can improve the performance of existing VMs, but can also permit the addition of a VM on the host machine without substantially impacting the performance of the existing and new VMs.

    Abstract translation: 公开了一种系统和方法,用于改进在支持客机操作系统和来宾应用运行的虚拟机(VM)的主机上运行的存储器调度器的操作。 对于每个虚拟机,主机管理程序将内存页分为内存使用类,并估计每个内存使用类的总页数。 内存调度器使用该信息为每个虚拟机执行内存回收和分配操作。 存储器调度器还部分地基于虚拟机的每个存储器使用类别中的页数来选择气球回收和交换回收操作之间。 对客户机操作系统的调用提供了内存使用类信息。 内存回收不仅可以提高现有虚拟机的性能,还可以允许在主机上添加虚拟机,而不会对现有和新的虚拟机造成实质性的影响。

    Rapid virtual machine power-on with iterative swap space reservation

    公开(公告)号:US09880740B2

    公开(公告)日:2018-01-30

    申请号:US14973004

    申请日:2015-12-17

    Applicant: VMware, Inc.

    Abstract: A computer system provides for rapid power-on operations on virtual machines (VMs) with a virtual memory space including a reservation from machine memory and a small or no swap size. When the computer system powers on a VM, the computer system creates a physical memory space for the VM with a size larger than the minimum memory reservation for the VM and a swap space with a size less than the difference between the size of the virtual memory space and the minimum memory reservation. Subsequently, the computer system iteratively decreases the size of the physical memory space for the VM and increases the size of the swap space for the VM until the size of the physical memory space equals the minimum size of the memory reservation, which may be the amount of the virtual space that is guaranteed to be backed by machine memory.

    SYSTEM AND METHOD FOR EFFICIENT SWAP SPACE ALLOCATION IN A VIRTUALIZED ENVIRONMENT
    9.
    发明申请
    SYSTEM AND METHOD FOR EFFICIENT SWAP SPACE ALLOCATION IN A VIRTUALIZED ENVIRONMENT 有权
    在虚拟环境中有效切换空间分配的系统和方法

    公开(公告)号:US20140258670A1

    公开(公告)日:2014-09-11

    申请号:US13785235

    申请日:2013-03-05

    Applicant: VMWARE, INC.

    Abstract: A technique for efficient swap space management creates a swap reservation file using thick provisioning to accommodate a maximum amount of memory reclamation from a set of one or more associated virtual machines (VMs). A VM swap file is created for each VM using thin provisioning. When a new block is needed to accommodate page swaps to a given VM swap file, a block is removed from the swap reservation file and a block is added to the VM swap file, thereby maintaining a net zero difference in overall swap storage. The removed block and the added block may be the same storage block if a block move operation is supported by a file system implementing the swap reservation file and VM swap files. The technique also accommodates swap space management of resource pools.

    Abstract translation: 用于高效交换空间管理的技术使用厚配置来创建交换预留文件,以适应来自一组或多个相关虚拟机(VM)的最大量的内存回收。 使用精简配置为每个VM创建VM交换文件。 当需要新的块来容纳到给定的VM交换文件的页面交换时,从交换预留文件中移除一个块,并且将一个块添加到VM交换文件中,从而在整个交换存储中保持净零差异。 如果实施交换预留文件和VM交换文件的文件系统支持块移动操作,则移除的块和添加的块可能是相同的存储块。 该技术还适应资源池的交换空间管理。

    Efficiently Purging Non-Active Blocks in NVM Regions Using Virtblock Arrays

    公开(公告)号:US20220129377A1

    公开(公告)日:2022-04-28

    申请号:US17571417

    申请日:2022-01-07

    Applicant: VMware, Inc.

    Abstract: Techniques for efficiently purging non-active blocks in an NVM region of an NVM device using virtblocks are provided. In one set of embodiments, a host system can maintain, in the NVM device, a pointer entry (i.e., virtblock entry) for each allocated data block of the NVM region, where page table entries of the NVM region that refer to the allocated data block include pointers to the pointer entry, and where the pointer entry includes a pointer to the allocated data block. The host system can further determine that a subset of the allocated data blocks of the NVM region are non-active blocks and can purge the non-active blocks from the NVM device to a mass storage device, where the purging comprises updating the pointer entry for each non-active block to point to a storage location of the non-active block on the mass storage device.

Patent Agency Ranking