# US 2012/0254513 A1 · Storage system and data control method therefor

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

- Number: US 2012/0254513 A1
- Document ID: US20120254513A1
- Status: Published application
- Kind: A1
- Application number: 13/125,618
- Filed: 2011-04-04
- Published: 2012-10-04
- Earliest claimed: 2011-04-04
- Assignees: Hitachi, Ltd.
- Inventors: Go Uehara; Koji Sonoda; Junji Ogawa
- Web page: https://patentgrep.com/patent/US20120254513A1

## CPC

- G06F 3/064: {Management of blocks}
- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F 11/1044: {with specific ECC/EDC distribution}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2211/1059: Parity-single bit-RAID5, i.e. RAID 5 implementations
- G06F 2212/7211: Wear leveling
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage system having multiple flash memory packages including flash memory chips and package controllers for controlling access to the flash memory chips is configured such that the package controller receives from a higher-level apparatus, which sends a write request, frequency prediction information that enables prediction of an update frequency with respect to data, which is to be a write target, and when writing data for which a write request has been issued from the higher-level apparatus, control is executed such that data, which is predicted to have a relatively high update frequency based on the frequency prediction information, is preferentially stored in a physical block with the large remaining number of erases in a flash memory chip of flash memory package of the package controller, or such that data, which is predicted to have a relatively low update frequency based on the frequency prediction information, is preferentially stored in a physical block with the small remaining number of erases in a flash memory chip of the flash memory package of the package controller.

## Claims

### Claim 1

A storage system, which comprises multiple flash memory packages each having a flash memory chip and a package controller for controlling access to data that utilizes a storage area of the flash memory chip, wherein
the package controller receives from a higher-level apparatus, which sends a write request to the flash memory package, frequency prediction information that enables prediction of an update frequency with respect to data that is to become the write target, and exercises control, when writing data for which a write request has been made from the higher-level apparatus, so that data, which is predicted to have a relatively high update frequency based on the frequency prediction information, is preferentially stored in a physical block with the large remaining number of erases in the flash memory chip of the flash memory package of the package controller, or so that data, which is predicted to have a relatively low update frequency based on the frequency prediction information, is preferentially stored in a physical block with the small remaining number of erases in the flash memory chip of the flash memory package of the package controller.

### Claim 2 (depends on 1)

A storage system according to claim 1, wherein
a RAID is configured in accordance with a plurality of the flash memory packages,
the higher-level apparatus has a memory for storing RAID configuration information denoting the configuration of the RAID, the package controller receives as the frequency prediction information, from the higher-level apparatus, parity data determination information, which is information based on the RAID configuration and which enables a determination to be made as to whether the write-target data is RAID actual data, or RAID parity data for which the update frequency is predicted to be relatively high, and
determines, based on the parity data determination information, whether or not the write-target data is parity data, and in a case where the write-target data is parity data, exercises control so that this parity data is preferentially stored in the physical block with the large remaining number of erases.

### Claim 3 (depends on 2)

A storage system according to claim 2, wherein the package controller exercises control so that data, which is predicted to have a relatively high update frequency, is stored in a partially free physical block in which other data predicted to have a relatively high update frequency is stored.

### Claim 4 (depends on 3)

A storage system according to claim 3, wherein the package controller exercises control so that in a case where a valid data-storing physical block becomes an erase target in a reclamation process, the valid data, which is data predicted to have a relatively high update frequency and which is stored in the physical block, is stored in a partially free physical block in which other data predicted to have a relatively high update frequency is stored.

### Claim 5 (depends on 4)

A storage system according to claim 4, wherein
the package controller classifies and manages the physical blocks of the flash memory chip in multiple groups based on the remaining number of erases, and, by allocating a physical block that is classified under a group of the largest remaining number of erases to the data predicted to have a relatively high update frequency, exercises control so that the data is preferentially stored in a physical block with the large remaining number of erases.

### Claim 6 (depends on 5)

A storage system according to claim 5, wherein the storage system is a system having the higher-level apparatus therein.

### Claim 7 (depends on 1)

A storage system according to claim 1, wherein
the higher-level apparatus includes frequency prediction information for write-target data in a write command for the write-target data, and sends the write command to the flash memory package, and
the package controller decides on a physical block in which the write-target data is store, based on the frequency prediction information inside the write command.

### Claim 8 (depends on 7)

A storage system according to claim 7, wherein
a RAID is configured in accordance with a plurality of the flash memory packages, and
the higher-level apparatus, in a case where the write-target data is RAID parity data, includes in the write command, as the frequency prediction information, high update frequency information, which denotes that the update frequency is high.

### Claim 9 (depends on 7)

A storage system according to claim 7, wherein the higher-level apparatus, in a case where the write-target data is metadata, includes in the write command, as the frequency prediction information, high update frequency information, which denotes that the update frequency is high.

### Claim 10 (depends on 7)

A storage system according to claim 7, wherein the higher-level apparatus, in a case where the write-target data is archive data, includes in the write command, as the frequency prediction information, low update frequency information, which denotes that the update frequency is low.

### Claim 11 (depends on 1)

A storage system according to claim 1, wherein the package controller exercises control so that data, which is predicted to have a relatively low update frequency, is stored in a partially free physical block in which other data predicted to have a relatively low update frequency is stored.

### Claim 12 (depends on 11)

A storage system according to claim 11, wherein the package controller exercises control so that in a case where a physical block that stores data predicted to have a relatively low update frequency, which is valid, has become the erase target in a reclamation process, the valid data, which has been stored in the physical block, is stored in a partially free physical block in which other data predicted to have a relatively low update frequency is stored.

### Claim 13 (depends on 11)

A storage system according to claim 11, wherein the package controller classifies and manages the physical blocks of the flash memory chip under a plurality of groups based on the remaining number of erases, and exercises control so that, by allocating a physical block that is classified under a group with the least remaining number of erases to the data that is predicted to have a relatively low update frequency, the data is preferentially stored in a physical block with the small remaining number of erases.

### Claim 14

A data control method in a storage system having multiple flash memory packages including flash memory chips,
the data control method comprising:
receiving from a higher-level apparatus, which sends a write request to the flash memory package, frequency prediction information enabling prediction of an update frequency with respect to data that is to be the write target; and
exercising control so that, when writing the data for which a write request has been issued from the higher-level apparatus, data, which is predicted to have a relatively high update frequency based on the frequency prediction information, is preferentially stored in a physical block with the large remaining number of erases in the flash memory chip of the flash memory package, or so the data, which is predicted to have a relatively low update frequency based on the frequency prediction information, is preferentially stored in a physical block with the small remaining number of erases in the flash memory chip of the flash memory package.
