-
公开(公告)号:US10216536B2
公开(公告)日:2019-02-26
申请号:US15067856
申请日:2016-03-11
Applicant: VMware, Inc.
Inventor: Ishan Banerjee , Preeti Agarwal , Jui-Hao Chiang
IPC: G06F9/455
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.
-
公开(公告)号:US20220129377A1
公开(公告)日:2022-04-28
申请号:US17571417
申请日:2022-01-07
Applicant: VMware, Inc.
Inventor: Xavier Deguillard , Ishan Banerjee , Julien Freche , Kiran Tati , Preeti Agarwal , Rajesh Venkatasubramanian
IPC: G06F12/02 , G06F12/1009 , G06F12/0804
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.
-
公开(公告)号:US10691591B2
公开(公告)日:2020-06-23
申请号:US16174264
申请日:2018-10-29
Applicant: VMware, Inc.
Inventor: Kiran Tati , Xavier Deguillard , Ishan Banerjee , Julien Freche , Preeti Agarwal , Rajesh Venkatasubramanian
IPC: G06F13/00 , G06F12/02 , G06F12/0804
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.
-
公开(公告)号:US20190065091A1
公开(公告)日:2019-02-28
申请号:US15693292
申请日:2017-08-31
Applicant: VMware, Inc.
Inventor: Kiran Tati , Preeti Agarwal , Julien Freche , Xavier Deguillard , Rajesh Venkatasubramanian , Ishan Banerjee
IPC: G06F3/06
Abstract: Techniques for using non-volatile random access memory (NVM) as volatile random access memory (RAM) are provided. In one set of embodiments, a computer system can detect that an amount of free space in a volatile RAM of the computer system has become low and, in response, can add one or more memory pages from an unused portion of an NVM of the computer system to the system's volatile RAM pool. Conversely, the computer system can detect that an amount of free space in the NVM has become low and, in response, can return the one or more memory pages from the volatile RAM pool back to the NVM.
-
公开(公告)号:US20180046581A1
公开(公告)日:2018-02-15
申请号:US15233337
申请日:2016-08-10
Applicant: VMware, Inc.
Inventor: Ishan Banerjee , Jui-Hao Chiang , Kiran Tati , Preeti Agarwal
IPC: G06F12/1009 , G06F11/07 , G06F3/06
CPC classification number: G06F12/1009 , G06F3/0611 , G06F3/0653 , G06F3/067 , G06F9/45533 , G06F9/45558 , G06F11/073 , G06F11/079 , G06F2009/45583 , G06F2009/45591 , G06F2212/1024 , G06F2212/1032 , G06F2212/152 , G06F2212/154
Abstract: Examples provide a page-fault latency feedback metric to determine performance of workloads or virtual machines (VMs) running on a VM host in a cluster. A hypervisor induces page-faults by varying a memory limit associated with a VM. Page-fault latencies are measured at each of the varying memory limits. A performance loss occurring at each page-fault latency is measured and converted to a performance score. A page-fault translation table is constructed based on the page-fault latencies and assigned performance scores. When a page-fault occurs during execution of a workload on a VM host in the cluster, a cluster manager maps the page-fault latency associated with the page-fault to a performance score in the page-fault translation table. The cluster manager computes a current workload performance or VM performance based on the page-fault latency and the performance score.
-
-
-
-