×

Consistent and efficient mirroring of nonvolatile memory state in virtualized environments where dirty bit of page table entries in non-volatile memory are not cleared until pages in non-volatile memory are remotely mirrored

  • US 10,223,026 B2
  • Filed: 09/30/2013
  • Issued: 03/05/2019
  • Est. Priority Date: 09/30/2013
  • Status: Active Grant
First Claim
Patent Images

1. In a computer system having one or more processors, volatile memory, nonvolatile memory, and a processor cache, a method of mirroring updates to the nonvolatile memory, comprising:

  • determining that an instruction to flush the processor cache into the nonvolatile memory has been issued, wherein the processor cache contains cached data and memory addresses of both the volatile memory and the non-volatile memory, and a memory space of the volatile memory and the nonvolatile memory is logically partitioned into pages;

    in response to the issuance of the flush instruction when dirty contents of pages of the nonvolatile memory are cached in cache lines of the processor cache such that a dirty indication in each of page table entries of the pages of the nonvolatile memory is set, writing the dirty contents of the pages of the nonvolatile memory that are cached in the cache lines of the processor cache into the pages of the nonvolatile memory at corresponding memory addresses of the nonvolatile memory stored in the cache lines; and

    transmitting at least the cache lines of the processor cache that have been written into the nonvolatile memory to a remote computer system,wherein after said writing and prior to said transmitting, not clearing the dirty indication in each of the pages table entries of the pages of the nonvolatile memory, and responsive to said transmitting, clearing the dirty indication in each of the page table entries of the pages of the nonvolatile memory.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×