Memory scheduler using guest-originated statistics

    公开(公告)号:US11188370B2

    公开(公告)日:2021-11-30

    申请号:US16256968

    申请日:2019-01-24

    Applicant: VMware, Inc.

    Abstract: A memory scheduler in a hypervisor allocates physical memory to virtual machines (VMs) based on memory usages metrics generated within the VMs and provided to the hypervisor. More particularly, the memory scheduler determines an allocation target for each VM based on a guest-generated memory usage metric associated with the VM. The allocation target can be increased or decreased from its previous value to reflect changing needs in the VM. Physical memory is allocated when a VM requests it, and is reclaimed during a reclamation process based on its associated allocation target.

    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.

    System and methods of a self-tuning cache sizing system in a cache partitioning system

    公开(公告)号:US11093403B2

    公开(公告)日:2021-08-17

    申请号:US16209119

    申请日:2018-12-04

    Applicant: VMware, Inc.

    Abstract: The disclosure provides a technique for reducing cache misses to a cache of a computer system. The technique includes deallocating memory pages of the cache from one process and allocating those memory pages to another process based on cache misses of each process during a given time period. Repeating the technique leads the total number of cache misses to the cache to gradually decrease to an optimum or near optimum level. The repetition of the technique leads to a dynamic and flexible apportionment of cache memory pages to processes running within the computer system.

    MEMORY SCHEDULER USING GUEST-ORIGINATED STATISTICS

    公开(公告)号:US20200241902A1

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

    申请号:US16256968

    申请日:2019-01-24

    Applicant: VMware, Inc.

    Abstract: A memory scheduler in a hypervisor allocates physical memory to virtual machines (VMs) based on memory usages metrics generated within the VMs and provided to the hypervisor. More particularly, the memory scheduler determines an allocation target for each VM based on a guest-generated memory usage metric associated with the VM. The allocation target can be increased or decreased from its previous value to reflect changing needs in the VM. Physical memory is allocated when a VM requests it, and is reclaimed during a reclamation process based on its associated allocation target.

Patent Agency Ranking