Managing Virtual Machines in the Presence of Uncorrectable Memory Errors

    公开(公告)号:US20210216394A1

    公开(公告)日:2021-07-15

    申请号:US16743895

    申请日:2020-01-15

    Applicant: VMware, Inc.

    Abstract: Techniques for migrating virtual machines (VMs) in the presence of uncorrectable memory errors are provided. According to one set of embodiments, a source host hypervisor of a source host system can determine, for each guest memory page of a VM to be migrated from the source host system to a destination host system, whether the guest memory page is impacted by an uncorrectable memory error in a byte-addressable memory of the source host system. If the source host hypervisor determines that the guest memory page is impacted, the source host hypervisor can transmit a data packet to a destination host hypervisor of the destination host system that includes error metadata identifying the guest memory page as being corrupted. Alternatively, if the source host hypervisor determines that the guest memory page is not impacted, the source host hypervisor can attempt to read the guest memory page from the byte-addressable memory in a memory exception-safe manner.

    Efficient handling of block write atomicity

    公开(公告)号:US10936446B2

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

    申请号:US15889162

    申请日:2018-02-05

    Applicant: VMware, Inc.

    Abstract: 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.

    Adaptive CPU NUMA scheduling
    56.
    发明授权

    公开(公告)号:US10255091B2

    公开(公告)日:2019-04-09

    申请号:US14492051

    申请日:2014-09-21

    Applicant: VMware, Inc.

    Abstract: Systems and methods for performing selection of non-uniform memory access (NUMA) nodes for mapping of virtual central processing unit (vCPU) operations to physical processors are provided. A CPU scheduler evaluates the latency between various candidate processors and the memory associated with the vCPU, and the size of the working set of the associated memory, and the vCPU scheduler selects an optimal processor for execution of a vCPU based on the expected memory access latency and the characteristics of the vCPU and the processors. The systems and methods further provide for monitoring system characteristics and rescheduling the vCPUs when other placements provide improved performance and efficiency.

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

    公开(公告)号:US09529609B2

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

    申请号: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)的主机上运行的存储器调度器的操作。 对于每个虚拟机,主机管理程序将内存页分为内存使用类,并估计每个内存使用类的总页数。 内存调度器使用该信息为每个虚拟机执行内存回收和分配操作。 存储器调度器还部分地基于虚拟机的每个存储器使用类别中的页数来选择气球回收和交换回收操作之间。 对客户机操作系统的调用提供了内存使用类信息。 内存回收不仅可以提高现有虚拟机的性能,还可以允许在主机上添加虚拟机,而不会对现有和新的虚拟机造成实质性的影响。

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

    公开(公告)号:US09524233B2

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

    申请号: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交换文件的文件系统支持块移动操作,则移除的块和添加的块可能是相同的存储块。 该技术还适应资源池的交换空间管理。

Patent Agency Ranking