# US 2012/0254507 A1 · Write-absorbing buffer for non-volatile memory

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0254507 A1
- Document ID: US20120254507A1
- Status: Published application
- Kind: A1
- Application number: 13/077,842
- Filed: 2011-03-31
- Published: 2012-10-04
- Earliest claimed: 2011-03-31
- Assignees: Hewlett-Packard Development Company, L.P.
- Inventors: Jichuan Chang; Parthasarathy Ranganathan; David Roberts
- Web page: https://patentgrep.com/patent/US20120254507A1

## CPC

- G06F 12/0868: Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
- G06F 12/0804: with main memory updating (G06F12/0806 takes precedence)
- G06F 11/1441: {Resetting or repowering}
- G06F 11/2015: {Redundant power supplies (power supply failure G06F1/30)}
- G06F 2212/2024: Rewritable memory not requiring erasing, e.g. resistive or ferroelectric RAM
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A write-absorbing, volatile memory buffer for use with a processor module and a non-volatile memory is disclosed. The write-absorbing buffer operates as a dirty cache that can be used to look up both read and write requests, although allocating new blocks only for write requests and not read requests. The blocks are small sized, and a write-only least-recently used cache replacement policy is used to transfer data in the blocks to the non-volatile memory. The write-absorbing buffer can be used to store copy-on-write pages for at least one virtual machine associated with the processor module and reduce write overhead to the non-volatile memory.

## Claims

### Claim 1

A data storage apparatus, comprising:
a processor module;
a non-volatile memory data store; and
a write-absorbing buffer between the processor and the non-volatile memory data store to allocate small blocks for dirty data associated with the processor module and reduce write overhead to the non-volatile memory data store.

### Claim 2 (depends on 1)

The data storage apparatus of claim 1, wherein the processor module comprises at least one processor core.

### Claim 3 (depends on 1)

The data storage apparatus of claim 1, wherein the non-volatile memory data store comprises a non-volatile memory selected from the group consisting of a Memristor and a Phase-Change Memory.

### Claim 4 (depends on 1)

The data storage apparatus of claim 1, wherein the write-absorbing buffer comprises a volatile memory.

### Claim 5 (depends on 1)

The data storage apparatus of claim 1, further comprising a Bloom filter to look-up read and write requests from the processor module to the non-volatile memory.

### Claim 6 (depends on 1)

The data storage apparatus of claim 1, further comprising a write-back buffer between the write-absorbing buffer and the non-volatile memory data store.

### Claim 7 (depends on 6)

The data storage apparatus of claim 6, further comprising a backup power to provide power to the write-absorbing buffer and the write-back buffer in case of a power failure.

### Claim 8 (depends on 1)

The data storage apparatus of claim 1, wherein the write-absorbing buffer allocates small blocks for write requests but not read requests from the processor module to the non-volatile memory data store.

### Claim 9 (depends on 1)

The data storage apparatus of claim 1, wherein the write-absorbing buffer comprises a write-only least-recently-used cache replacement policy to evict a least recently used block into the non-volatile memory data store.

### Claim 10 (depends on 1)

The data storage apparatus of claim 1, further comprising a copy-on-write table to store addresses for copy-on-write pages in the write-absorbing buffer and in the non-volatile memory data store.

### Claim 11 (depends on 10)

The data storage apparatus of claim 10, wherein the addresses comprise a base page address for a shared page in the non-volatile memory and a new page address for a copy-on-write page in the write-absorbing buffer.

### Claim 12

A method for reducing the write traffic to a non-volatile memory during a copy-on-write for at least one virtual machine associated with a processor module accessing the non-volatile memory, comprising:
storing a copy-on-write page in a write-absorbing buffer between the processor module and the non-volatile memory;
referencing the copy-on-write page in a copy-on-write table associated with the write-absorbing buffer; and
writing the copy-on-write page from the write-absorbing buffer to the non-volatile memory when at least one block from the copy-on-write page is evicted from the write-absorbing buffer.

### Claim 13 (depends on 12)

The method of claim 12, further comprising using a Bloom filter to look up read and write requests from the processor module to the write-absorbing buffer.

### Claim 14 (depends on 12)

The method of claim 12, further comprising storing a shared page in the non-volatile memory.

### Claim 15 (depends on 14)

The method of claim 14, wherein storing the shared page comprises storing a base page address in the copy-on-write table to reference the shared page.

### Claim 16 (depends on 14)

The method of claim 14, wherein the copy-on-write page comprises a written update to the shared page.

### Claim 17 (depends on 12)

The method of claim 12, wherein the copy-on-write table comprises a page address for the copy-on-write page.

### Claim 18 (depends on 12)

The method of claim 12, wherein writing the copy-on-write page from the write-absorbing buffer to the non-volatile memory comprises implementing a write-only least-recently-used cache replacement policy to evict the copy-on-write page from the write-absorbing buffer.

### Claim 19

A write-absorbing buffer comprising:
a volatile memory;
a copy-on-write table coupled to the volatile memory to reference a copy-on-write page stored in the volatile memory; and
a Bloom filter to look-up read and write requests from a processor module into a non-volatile memory coupled to the write-absorbing buffer.

### Claim 20 (depends on 19)

The write-absorbing buffer of claim 19, further comprising a backup power coupled to the volatile memory to power up the volatile memory in case of a power failure.
