Smart prefetching for remote memory

    公开(公告)号:US11586545B2

    公开(公告)日:2023-02-21

    申请号:US17367048

    申请日:2021-07-02

    申请人: VMware, Inc.

    IPC分类号: G06F12/0862

    摘要: Memory pages of a local application program are prefetched from a memory of a remote host. A method of prefetching the memory pages from the remote memory includes detecting that a cache-line access made by a processor executing the local application program is an access to a cache line containing page table data of the local application program, identifying data pages that are referenced by the page table data, and fetching the identified data pages from the remote memory and storing the fetched data pages in a local memory.

    Smart prefetching for remote memory

    公开(公告)号:US11442865B1

    公开(公告)日:2022-09-13

    申请号:US17367078

    申请日:2021-07-02

    申请人: VMware, Inc.

    IPC分类号: G06F12/0862

    摘要: A method of prefetching memory pages from remote memory includes detecting that a cache-line access made by a processor executing an application program is an access to a cache line containing page table data of the application program, identifying data pages that are referenced by the page table data, initiating a fetch of a data page, which is one of the identified data pages, and starting a timer. If the fetch completes prior to expiration of the timer, the data page is stored in a local memory. On the other hand, if the fetch does not complete prior to expiration of timer, a presence bit of the data page in the page table data is set to indicate that the data page is not present.

    Managing the Migration of Virtual Machines in the Presence of Uncorrectable Memory Errors

    公开(公告)号:US20220027231A1

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

    申请号:US17494826

    申请日:2021-10-05

    申请人: VMware, Inc.

    IPC分类号: G06F11/07 G06F9/455

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

    Managing the migration of virtual machines in the presence of uncorrectable memory errors

    公开(公告)号:US11169870B2

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

    申请号:US16743895

    申请日:2020-01-15

    申请人: VMware, Inc.

    IPC分类号: G06F11/07 G06F9/455

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