# US 2016/0259571 A1 · Storage subsystem

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

- Number: US 2016/0259571 A1
- Document ID: US20160259571A1
- Status: Published application
- Kind: A1
- Application number: 14/424,156
- Filed: 2014-06-06
- Published: 2016-09-08
- Earliest claimed: 2014-06-06
- Assignees: Hitachi, Ltd.
- Applicants: Hitachi, Ltd.
- Inventors: Hiroyuki KUMASAWA; Yuji YAMAGUCHI
- Web page: https://patentgrep.com/patent/US20160259571A1

## CPC

- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/06: Digital input from, or digital output to, record carriers {, e.g. RAID, emulated record carriers or networked record carriers}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F 9/4401: Bootstrapping (security arrangements therefor G06F21/57)
- G06F 12/0802: Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F 12/0804: with main memory updating (G06F12/0806 takes precedence)
- G06F 12/0868: Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
- G06F 12/0871: Allocation or management of cache space
- G06F 12/122: of the least frequently used [LFU] type, e.g. with individual count value
- G06F 2212/1028: Power efficiency
- G06F 2212/222: Non-volatile memory
- G06F 2212/225: Hybrid cache memory, e.g. having both volatile and non-volatile portions
- G06F 2212/282: Partitioned cache
- G06F 2212/312: In storage controller
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- 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

The storage subsystem according to the present invention is equipped with a cache memory having a nonvolatile memory and a volatile memory. Write data sent from a superior device is stored in the nonvolatile memory, and data subjected to a read request from the superior device is cached from a final storage media to the volatile memory. When power supply from an external power supply has stopped, data having a high access frequency out of the data stored in the volatile memory is backed up in a nonvolatile memory, and when power supply from the external power supply is resumed, the data backed up from the volatile memory to the nonvolatile memory is migrated again to the volatile memory.

## Claims

### Claim 1

A storage subsystem comprising:
a controller for receiving an I/O request from a host, the controller equipped with a disk cache including a volatile memory and a nonvolatile memory;
a battery for supplying power to the controller; and
one or more storage media connected to the controller;
wherein the storage subsystem is operated using electric power supplied from an external power supply in a normal state,
wherein the controller is configured to:
use electric power supplied from the battery to migrate data having a high possibility of being accessed again from the host out of the data stored in the volatile memory to the nonvolatile memory when power supply from the external power supply has stopped; and
migrate the data having been migrated from the volatile memory to the nonvolatile memory back to the volatile memory when the power supply from the external power supply has recovered, and
wherein the controller is further configured to:
store a write data from the host to the nonvolatile memory;
read the data from the storage media and store the same in the volatile memory if a read target data subjected to a read request from the host does not exist in the disk cache;
return the read target data stored in the volatile memory to the host if the read target data is not stored in the nonvolatile memory and is stored in the volatile memory;
return the read target data stored in the nonvolatile memory to the host if the read target data is stored in the nonvolatile memory; and
migrate the read target data from the nonvolatile memory to the volatile memory if the read target data stored in the nonvolatile memory is reflected in the storage media.

### Claim 2

(canceled)

### Claim 3

(canceled)

### Claim 4

(canceled)

### Claim 5

(canceled)

### Claim 6 (depends on 1)

The storage subsystem according to claim 1, wherein
the controller determines, based on a reference count or an access cycle of the data, whether data not reflected in the storage media out of the data stored in the nonvolatile memory satisfies a given condition or not, and
reflects the data not satisfying the given condition to the storage media.

### Claim 7 (depends on 6)

The storage subsystem according to claim 6, wherein
the given condition is that the reference count of the data per unit time is equal or greater than a threshold.

### Claim 8 (depends on 7)

The storage subsystem according to claim 7, wherein
the storage subsystem has multiple logical volumes formed using storage areas of one or more storage media,
the threshold is set for each of said logical volumes, and
the controller determines whether the given condition is satisfied or not based on the threshold set for the logical volume being a storage destination of the data stored in the nonvolatile memory.

### Claim 9 (depends on 7)

The storage subsystem according to claim 7, wherein
the storage subsystem has multiple logical volumes formed storage areas of said one or more storage media,
the multiple logical volumes are managed to belong to one storage tier out of multiple storage tiers determined in the storage subsystem,
the threshold is set for each storage tier, and
the controller determines whether the given condition is satisfied or not based on the threshold set for the storage tier to which the logical volume being the storage destination of data stored in the nonvolatile memory belongs.

### Claim 10

In a storage subsystem having a controller equipped with a disk cache including a volatile memory and a nonvolatile memory, a battery for supplying power to the controller, and one or more storage media connected to the controller, the storage subsystem being operated using electric power supplied from an external power supply in a normal state,
a method for controlling the storage subsystem comprising:
using, by the controller, electric power supplied from the battery to migrate data having a high possibility of being accessed again from the host out of the data stored in the volatile memory to the nonvolatile memory when power supply from the external power supply has stopped;
migrating, by the controller, the data having been migrated from the volatile memory to the nonvolatile memory back to the volatile memory when power supply from the external power supply has recovered;
storing, by the controller, the data in a nonvolatile memory in the disk cache when a write data from a host is received;
reading, by the controller, the data from the storage media and storing the same in a volatile memory in the disk cache when data corresponding to a read request from the host is not stored in the disk cache;
returning, by the controller, read target data subjected to a read request from the host stored in the nonvolatile memory to the host if the read target data is stored in the nonvolatile memory;
sending, by the controller, the read target data stored in the volatile memory to the host if the read target data is not stored in the nonvolatile memory and is stored in the volatile memory; and
migrating, by the controller, the read target data from the nonvolatile memory to the volatile memory if the read target data stored in the nonvolatile memory is reflected in the storage media.

### Claim 11

(canceled)

### Claim 12

(canceled)

### Claim 13

(canceled)

### Claim 14

(canceled)
