# US 2018/0322052 A1 · Deferred write back based on age time

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

- Number: US 2018/0322052 A1
- Document ID: US20180322052A1
- Status: Published application
- Kind: A1
- Application number: 15/775,390
- Filed: 2016-02-19
- Published: 2018-11-08
- Earliest claimed: 2016-02-19
- Assignees: Hewlett Packard Enterprise Development LP
- Applicants: Hewlett Packard Enterprise Development LP
- Inventors: Melvin K BENEDICT
- Web page: https://patentgrep.com/patent/US20180322052A1

## CPC

- G06F 12/0804: with main memory updating (G06F12/0806 takes precedence)
- G06F 11/30: Monitoring
- G06F 11/3037: {where the computing system component is a memory, e.g. virtual memory, cache (accessing, addressing or allocating within memory systems or architectures G06F12/00; checking stores for correct operation G11C29/00)}
- G06F 11/3423: {where the assessed time is active or idle time}
- G06F 12/08: in hierarchically structured memory systems, e.g. virtual memory systems
- G06F 12/0866: for peripheral storage systems, e.g. disk cache
- G06F 12/1009: using page tables, e.g. page table structures
- G06F 12/123: with age lists, e.g. queue, most recently used [MRU] list or least recently used [LRU] list
- G06F 2201/885: Monitoring specific for caches
- G06F 2212/2022: Flash memory
- G06F 2212/222: Non-volatile memory
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Various examples described herein provide for deferred write back based on age time. According to some examples, an age time for a cached instance stored on a data cache is monitored and, based on the age time, a cache table entry for the cached instance may be modified to indicate that the cached instance is a candidate for a deferred write back period. A controller may monitor for a deferred write back period based on data activity of the data cache. During a deferred write back period, the cached instance may be written back from volatile memory to the non-volatile memory based on whether the cache table entry indicates that the cached instance has been modified and based on whether the cache table entry indicates that the cached instance is a candidate for the deferred write back period.

## Claims

### Claim 1

A data system, comprising:
a non-volatile data storage device to store an original instance of data;
a data cache to store a cached instance of the data; and
a controller to:
monitor an age time for the cached instance;
based on the age time, modify a cache table entry for the cached instance to indicate that the cached instance is a candidate for a deferred write back period;
monitor for the deferred write back period based on data activity of the data cache; and
during the deferred write back period, cause the cached instance to be written back from the data cache to the non-volatile data storage device based on whether the cache table entry indicates that the cached instance has been modified and based on whether the cache table entry indicates that the cached instance is a candidate for the deferred write back period.

### Claim 2 (depends on 1)

The data system of claim 1, wherein the controller is to modify the cache table entry to indicate whether the cached instance has been modified.

### Claim 3 (depends on 1)

The data system of claim 1, wherein the deferred write back period exists when the data activity of the data cache is low.

### Claim 4 (depends on 1)

The data system of claim 1, wherein the deferred write back period exists when data activity of the non-volatile data storage device is low.

### Claim 5 (depends on 1)

The data system of claim 1, wherein the deferred write back period exists based on activity of a memory management unit (MMU).

### Claim 6 (depends on 1)

The data system of claim 1, wherein the deferred write back period exists prior to a processor halting or entering a C-state, the processor being associated with the data system.

### Claim 7 (depends on 1)

The data system of claim 1, wherein the controller is to manage the age time by:
updating the age time to a predetermined max value when the cached instance is accessed on the data cache; and
periodically decrementing the age time, by a predetermined decrement value, from a time the cached instance was last accessed on the data cache.

### Claim 8 (depends on 1)

The data system of claim 1, wherein the controller modifying the cache table entry, based on the age time, to indicate that the cached instance is a candidate for the deferred write back period comprises the controller modifying the cache table entry to indicate that the cached instance is a candidate for the deferred write back period when the age time is zero.

### Claim 9 (depends on 1)

The data system of claim 1, wherein the data system included by a Non-Volatile Dual In-line Memory Module (NVDIMM), the data cache comprises Dynamic Random Access Memory (DRAM), and the non-volatile data storage device comprises a flash memory.

### Claim 10

A method, comprising:
monitoring an age time for a cached instance of data stored on a data cache, an original instance of the data being stored on a non-volatile data storage device;
modifying, based on the age time, a cache table entry for the cached instance to indicate that the cached instance is a candidate for a deferred write back period;
monitoring for the deferred write back period based on data activity of the data cache; and
during the deferred write back period, causing the cached instance to be written back from the data cache to the non-volatile data storage device if the cache table entry indicates that the cached instance has been modified and if the cache table entry indicates that the cached instance is a candidate for the deferred write back period.

### Claim 11 (depends on 10)

The method of claim 10, comprising in response to detecting modification of the cached instance stored on the data cache, modifying the cache table entry for the cached instance to indicate that the cached instance has been modified.

### Claim 12 (depends on 10)

The method of claim 10, comprising:
monitoring access of the cached instance on the data cache; and
in response to detecting access of the cached instance from data cache, updating the age time for the cached instance, the age time indicating a time of last access of the cached instance on the data cache.

### Claim 13 (depends on 10)

The method of claim 10, wherein causing the cached instance to be written back from the data cache to the non-volatile data storage device comprises causing the cached instance to be written back from the data cache to an intermediate volatile storage device associated with the non-volatile data storage device, wherein the cached instance is subsequently written from the intermediate volatile storage device to the non-volatile data storage device.

### Claim 14

A computer system, comprising:
a non-volatile memory to store an original instance of a data;
a volatile memory to store a cached instance of the data; and
a memory management unit (MMU) to:
monitor an age time for the cached instance;
based on the age time, modify a cache table entry for the cached instance to indicate that the cached instance is a candidate for a deferred write back period;
monitor for the deferred write back period based on activity of the MMU; and
during the deferred write back period, cause the cached instance to be written back from the volatile memory to the non-volatile memory based on whether the cache table entry indicates that the cached instance has been modified and based on whether the cache table entry indicates that the cached instance is a candidate for the deferred write back period.

### Claim 15 (depends on 14)

The computer system of claim 14, wherein the deferred write back period exists when a queue of the MMU is half-full or less than half-full.
