# US 2015/0178157 A1 · Memory management system and method

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

- Number: US 2015/0178157 A1
- Document ID: US20150178157A1
- Status: Published application
- Kind: A1
- Application number: 14/642,910
- Filed: 2015-03-10
- Published: 2015-06-25
- Earliest claimed: 2007-03-29
- Assignees: Violin Memory, Inc.
- Applicants: Violin Memory Inc.
- Inventors: Jon C.R. Bennett
- Web page: https://patentgrep.com/patent/US20150178157A1

## CPC

- G06F 3/065: {Replication mechanisms}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 11/1044: {with specific ECC/EDC distribution}
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 11/1072: {in multilevel memories}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- G11B 20/1833: {by adding special lists or symbols to the coded information (G11B20/1806, G11B20/1866 take precedence)}
- G11C 16/10: Programming or data input circuits
- G11C 16/16: for erasing blocks, e.g. arrays, words, groups
- G11C 16/26: Sensing or reading circuits; Data output circuits
- G11C 29/28: Dependent multiple arrays, e.g. multi-bit arrays
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/0866: for peripheral storage systems, e.g. disk cache
- G11B 2220/60: Solid state media
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A memory system and method of operating the same is described, where the memory system is used to store data in a RAIDed manner. The stored data may be retrieved, including the parity data so that the stored data is recovered when the first of either the stored data without the parity data, or the stored data from all but one memory module and the parity data, has been received. The writing of data, for low write data loads, is managed such that only one of the memory modules of a RAID stripe is being written to, or erased, during a time interval.

## Claims

### Claim at position 1

-9. (canceled)

### Claim 10

(canceled)

### Claim 11 (depends on 43)

The memory system of claim 43, wherein a NAND flash memory module of the plurality of NAND flash memory modules further comprises a plurality of flash memory circuits in communication with a controller of the NAND flash memory module.

### Claim at position 4

-15. (canceled)

### Claim 16 (depends on 43)

The memory system of claim 43, wherein the ECC comprises a parity code for the data stored to a same RAID group of the plurality of RAID groups.

### Claim 17 (depends on 43)

The memory system of claim 43, wherein the ECC comprises a dual parity code.

### Claim 18

(canceled)

### Claim 19 (depends on 43)

The memory system of claim 43, wherein the NAND flash memory modules are comprised of solid state disks (SSD).

### Claim at position 9

-23. (canceled)

### Claim 24

A method of storing digital data, the method comprising:
providing a controller;
providing a plurality of NAND flash modules;
configuring a group of NAND flash modules of the plurality of NAND flash modules as a RAID group;
receiving data from a user using the controller;
writing the data to a RAID group, including an error correcting code (ECC) data computed for the data being written;
configuring the step of writing the data such that data stored in the RAID group or data and ECC stored in the RAID group data sufficient to reconstruct the data stored in the RAID group can be read when subsequent data is being written to the RAID group;
responsive to a user request for previously stored data:
determining, using the controller, whether data requested by the user can be read from the RAID group and returned to the user in a time interval less than an erase time of a NAND flash module; and
if data can be read in the time interval less than an erase time, reading the data and returning data requested by the user to the user; or,
if data requested by the user cannot be read in the time interval less than an erase time, reading the data that can be read during the time interval and the ECC data and recovering data requested by the user using the ECC; and
returning data requested by the user to the user.

### Claim 25

(canceled)

### Claim 26 (depends on 24)

The method of claim 24, wherein the FCC is a parity code.

### Claim 27 (depends on 24)

The method of claim 24, wherein the ECC is a dual parity code.

### Claim 28 (depends on 24)

The method of claim 24, wherein the NAND flash modules are solid state disks (SSD).

### Claim 29

A method of storing digital data, the method comprising:
providing a controller;
providing a plurality of NAND flash modules:
configuring a group of NAND flash modules of the plurality of NAND flash modules as a RAID group;
receiving data from a user using the controller;
writing the data to a RAID group, including error correcting code (ECC) computed for the data being written;
configuring the step of writing the data such that data stored in the RAID group or data and ECC stored in the RAID group data sufficient to reconstruct the data stored in the RAID group can be read when subsequent data is being written to the RAID group; and
responsive to a user request:
determining, using the controller, whether the NAND flash module on which the data requested by the user is stored is being written to: and,
if data requested by the user can be read in the time interval less than an erase time, reading the data and returning data requested by the user to the user; or,
if the requested data cannot be read in the time interval less than an erase time, reading the data that can be read during the time interval and the ECC and recovering data requested by the user using the ECC; and,
returning the data requested by the user to the user.

### Claim 30

(canceled)

### Claim 31 (depends on 24)

The method of claim 24, wherein, responsive to the user request for previously stored data:
determining, using the controller, whether the NAND flash module on which the data requested by the user is stored is being written to: and,
if the data requested by the user can be read in the time interval less than an write time interval, reading data requested by the user and returning the data requested by the user to the user; or,
if the requested data cannot be read in the time interval less than the write time interval, reading the data requested by the user that can be read and the ECC and recovering the data requested using the ECC; and, returning the data requested by the user to the user.

### Claim at position 18

-39. (canceled)

### Claim 40 (depends on 29)

The method of claim 29, wherein the ECC is a parity code.

### Claim 41 (depends on 29)

The method of claim 29, wherein the ECC is a dual parity code.

### Claim 42 (depends on 29)

The method of claim 29, wherein the NAND flash modules are solid state disks (SSD).

### Claim 43

A memory system, comprising:
means for storing data in a RAID (redundant array of independent disks) group of a plurality of RAID groups including error correcting code (ECC) for the data;
wherein the means for storing data comprises:
a plurality of NAND flash memory modules configured as the RAID group; and
a controller in communication with the plurality of NAND flash memory modules, configured to write at least one of data or ECC for the data to the NAND flash memory modules of the RAID group;
means for reading data and ECC from the RAID group of the plurality of RAID groups,
wherein the means for reading data comprises:
the controller configured to read at least one of data or the ECC for the data previously stored in the NAND flash memory modules; and
wherein, responsive to a request for data previously stored in the RAID group, data previously stored on any memory module of the RAID group is returned to the user during a same time interval that data is being stored to the to the RAID group by the means for storing data, and;
the controller further configured to determine if user requested data can be read from the RAID group within a predetermined time period,
wherein the predetermined time period has a value equal to the time to complete an erase operation on a NAND flash module of the RAID group; and,
if the requested data can be read from the RAID group within the predetermined time period, the controller requests the read of the previously stored data from the memory modules of the RAID group; or
if the requested data cannot be read from the memory modules RAID group within the predetermined time period, the controller requests the read of the previously stored data of the RAID group that can be read from the RAID group, including the ECC data and reconstructs the requested data.

### Claim 44 (depends on 43)

The memory system of claim 43, wherein the predetermined time is a time to write a page of data to a block of NAND flash memory, and the time to write a page is less than the time to erase a block.
