High Availability For Persistent Memory

    公开(公告)号:US20220019506A1

    公开(公告)日:2022-01-20

    申请号:US17488286

    申请日:2021-09-28

    申请人: VMware, Inc.

    摘要: Techniques for implementing high availability for persistent memory are provided. In one embodiment, a first computer system can detect an alternating current (AC) power loss/cycle event and, in response to the event, can save data in a persistent memory of the first computer system to a memory or storage device that is remote from the first computer system and is accessible by a second computer system. The first computer system can then generate a signal for the second computer system subsequently to initiating or completing the save process, thereby allowing the second computer system to restore the saved data from the memory or storage device into its own persistent memory.

    Efficient handling of block write atomicity

    公开(公告)号:US10936446B2

    公开(公告)日:2021-03-02

    申请号:US15889162

    申请日:2018-02-05

    申请人: VMware, Inc.

    摘要: A journal-based process to achieve atomicity in a device driver write operation includes committing a transaction associated with the operation to a journal that include a status indicating the target block is corrupted. Subsequent to committing the transaction, the data is written to the target block. If the write operation is successfully committed, the transaction can be deleted from the journal. If a system crash occurs (e.g., power failure) before the write operation is successfully committed, the transaction remains in the journal and can be used to update block metadata associated with the target block when the system reboots to indicate that it is corrupted; e.g., the target block is a torn write.

    Tracking guest memory characteristics for memory scheduling
    17.
    发明授权
    Tracking guest memory characteristics for memory scheduling 有权
    跟踪访客内存特性进行内存调度

    公开(公告)号:US09529609B2

    公开(公告)日:2016-12-27

    申请号:US14101796

    申请日:2013-12-10

    申请人: VMware, Inc.

    IPC分类号: G06F9/46 G06F9/455 G06F9/50

    摘要: 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.

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

    System and method for efficient swap space allocation in a virtualized environment
    18.
    发明授权
    System and method for efficient swap space allocation in a virtualized environment 有权
    虚拟化环境中有效的交换空间分配的系统和方法

    公开(公告)号:US09524233B2

    公开(公告)日:2016-12-20

    申请号:US13785235

    申请日:2013-03-05

    申请人: VMware, Inc.

    IPC分类号: G06F12/02 G06F3/06 G06F12/08

    摘要: 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.

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