WO2014120660A1 - Methods and apparatus for storing data to a solid state storage device based on data classification - Google Patents

Methods and apparatus for storing data to a solid state storage device based on data classification Download PDF

Info

Publication number
WO2014120660A1
WO2014120660A1 PCT/US2014/013353 US2014013353W WO2014120660A1 WO 2014120660 A1 WO2014120660 A1 WO 2014120660A1 US 2014013353 W US2014013353 W US 2014013353W WO 2014120660 A1 WO2014120660 A1 WO 2014120660A1
Authority
WO
WIPO (PCT)
Prior art keywords
storage device
data
classification
region
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/US2014/013353
Other languages
French (fr)
Inventor
Abhijeet P. Gole
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Marvell World Trade Ltd
Original Assignee
Marvell World Trade Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Marvell World Trade Ltd filed Critical Marvell World Trade Ltd
Priority to CN201480006405.4A priority Critical patent/CN104956313B/en
Publication of WO2014120660A1 publication Critical patent/WO2014120660A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0659Command handling arrangements, e.g. command buffers, queues, command scheduling
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • G06F12/0246Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • G06F3/0613Improving I/O performance in relation to throughput
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0616Improving the reliability of storage systems in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/064Management of blocks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0656Data buffering arrangements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0688Non-volatile semiconductor memory arrays

Definitions

  • the present disclosure relates generally to solid state storage device systems and methods, and more particularly, to efficiently storing information in a solid state storage device based on data classification.
  • Typical solid state storage devices e.g., NAND flash storage devices
  • a request to store data to the storage device at a given address corresponding to one of a plurality of regions of the storage device is received.
  • a region classification map associated with the storage device associates a classification with each of the plurality of regions.
  • a determination is made based on the region classification map as to which classification is associated with the one of the plurality of regions corresponding to the given address.
  • the data is stored at the given address in response to determining that the one of the plurality of regions is associated with a first classification.
  • the data is stored to an alternate location in response to determining that the one of the plurality of regions is associated with a second
  • the alternate location is a temporary storage location that is
  • the region classification map is generated based on prior storage operations performed on the storage device. In some embodiments, the region classification map is generated by an
  • a given region of the plurality of regions of the storage device is associated with the first classification when a frequency of requests to store data to an address corresponding to the given region is less than a threshold value or when a threshold number of requests to store data to addresses corresponding to the given region are received in sequence.
  • a given region of the plurality of regions of the storage device is associated with the second classification when a frequency of requests to store data to an address corresponding to the given region is greater than a threshold value and when a threshold number of requests to store data to addresses corresponding to the given region are received in arbitrary order.
  • the data is stored to the storage device at the given address.
  • the data is stored to a temporary storage location in a buffer and the data is transferred from the buffer to the storage device.
  • the request to store the data is stored in a log.
  • the log includes a plurality of previously received requests to store data to a given region of the storage device that is associated with the second classification.
  • the requests to store data are ordered in the log sequentially according to addresses associated with each request. Multiple of the plurality of requests to store data to an identical address are merged into a single request to store data.
  • the ordered and merged requests in the log are stored to the storage device at the addresses associated with each of the requests.
  • the ordering and merging is performed after receiving a threshold number of requests to store data to the given region of the storage device that is associated with the second classification.
  • the nonvolatile storage device is a solid state storage device and the log is in a dedicated region of the storage device .
  • FIG. 1 is a diagram of an illustrative storage device system in accordance with an embodiment of the present disclosure
  • [0012] illustrates a process for storing information in a solid state storage device based on data classification in accordance with an embodiment of the present disclosure.
  • This disclosure generally relates to
  • this disclosure is described in the context of a solid state storage device (e.g., a flash storage device or a NAND based storage device) . It should be understood, however, that this disclosure is applicable to any other type of non-volatile storage device (e.g., magnetic storage device, ROM, PROM, EPROM, EEPROM, nvSRAM, FeRAM, MRAM, PRAM, CBRAM, SONOS, RRAM, NRAM, Millipede memory, or holographic storage device) .
  • non-volatile storage device e.g., magnetic storage device, ROM, PROM, EPROM, EEPROM, nvSRAM, FeRAM, MRAM, PRAM, CBRAM, SONOS, RRAM, NRAM, Millipede memory, or holographic storage device.
  • FIG. 1 is a diagram of an illustrative storage device system 100 in accordance with an embodiment of the present disclosure.
  • System 100 includes control
  • log 130 is a reserved region of storage device 120.
  • log 130 may correspond to a predetermined number of storage locations of storage device 120 (e.g., 1 gigabyte) which are only visible to control circuitry 110 and not to a user or an external application.
  • log 130 is implemented by a separate volatile or non-volatile storage device (e.g., NVRAM, DRAM, SDRAM, SRAM, T-RAM, Z- RAM, TTRAM, or any combination thereof) from storage device 120.
  • log 130 may be included as part of control circuitry 110 and/or may be coupled to control circuitry 110 and to storage device 120.
  • Control circuitry 110 may include region access monitor circuitry 112, a region characteristic
  • control circuitry 110 may receive data 140 from another system component (not shown) .
  • data 140 may be provided by an application or another storage device (e.g., DRAM) .
  • Data 140 may include a user data portion and an address portion.
  • data 140 may include a classification portion that indicates what type of classification the user data is.
  • the application that instructs control circuitry 110 to store data 140 may indicate the
  • data may be a first classification, a second classification, or a third classification.
  • the "first classification" may identify or be associated with a set of data that is written to random or non-sequential storage locations (e.g., addresses), where such storage locations are frequently accessed (e.g., a number of requests to store data to these locations exceeds a predetermined threshold) .
  • second classification may identify or be associated with a set of data that is written to sequential storage locations (e.g., addresses), where such storage locations are frequently accessed (e.g., a number of requests to store data to these locations exceeds a predetermined threshold) .
  • third classification may identify or be associated with a set of data that is written to random or non-sequential storage locations (e.g., addresses), where such storage locations are infrequently accessed (e.g., a number of requests to store data to these locations does not exceed a predetermined
  • Control circuitry 110 may process data 140 to identify the classification of the data. For example, region access monitor circuitry 112 may retrieve the address portion of data 140 and determine whether the address portion corresponds to a first, second or third classification. Region access monitor circuitry 112 may determine based on the classification of the address portion of data 140 whether the address portion and user data portion of data 140 should be cached for later storage to storage device 120 (log based storage) or whether the user data portion of data 140 should be directly stored to storage device 120 at the address specified by the address portion of data 140 (direct map storage) . For example, data 140 that is determined to be of the first classification may be selected for log based storage and data 140 that is determined to be of the second or third classification may be selected for direct map storage.
  • region access monitor circuitry 112 may determine the classification of the address portion based on the classification indicated by data 140. In some implementations, region access monitor circuitry 112 may cross reference the address portion of data 140 with a region characteristic map 114 to
  • Region characteristic map 114 may be a database that maps a set of addresses or storage locations of storage device 120 to different classifications. In some implementations, region characteristic map 114 may be generated or updated by an application. Specifically, the application that will be performing various read/write operations on storage device 120 may program or configure region characteristic map 114 with information that indicates the
  • region characteristic map 114 is updated based on a historical, statistical or on going analysis of addresses being received with data 140. In such circumstances, region access monitor circuitry 112 analyzes the addresses and performs any updates to the address information stored in region characteristic map 114.
  • Data that is cached for later storage is stored to log 130.
  • entries that each include various address and data portions
  • log 130 is merged, ordered and before being subsequently stored or flushed to storage device 120.
  • the operation of log 130 is described in greater detail below.
  • Data that is directly stored to storage device 120 is routed directly to storage device 120 (or through a buffer (not shown) ) and stored to the address specified by the address portion of data 140.
  • region access monitor circuitry 112 may indicate to redirector circuitry 116 whether the data is selected for log based storage or direct map storage. Based on the indication received from region access monitor circuitry 112, redirector circuitry 116 sends data 140 to log based storage control circuitry 117 or direct address storage control 118 to be written to storage device 120. Specifically, data that is selected for log based storage may be routed by redirector circuitry 116 to log based storage control circuitry 117. Alternatively, data that is selected for direct map storage may be routed by redirector circuitry 116 to direct address storage control 118.
  • Log based storage control circuitry 117 may receive data 140 and store the data to log 130.
  • log based storage control circuitry 117 may store the address portion and the user data portion of data 140 to a given entry in log 130. As such, log 130 may maintain multiple entries of data 140 and specifically multiple address and user data portions may be maintained in different entries of log 130. Log based storage control circuitry 117 may process data stored in log 130 to sort and merge the data for subsequently writing the data in log 130 to storage device 120. Log based storage control circuitry 117 may transfer data stored in log 130 to storage device 120 when a condition is satisfied (e.g., a flush condition) .
  • a condition e.g., a flush condition
  • log based storage control circuitry 117 may, for each entry in log 130, store the data in a given entry to a location of storage device 120 identified by the address specified in the entry.
  • the condition that causes log based storage circuitry 117 to transfer data from log 130 to storage device 120 may include a
  • predetermined number of entries that correspond to different requests to write data to a given location of storage device 120 having been created and stored to log 130 and/or passage of a predetermined period of time.
  • log based storage control circuitry 117 may analyze the addresses of each entry stored in log 130. Log based storage control circuitry 117 may sort the entries in log 130 according to ascending or descending order of the addresses stored in the entries. As such, when the data portion of the entries in log 130 is subsequently transferred or flushed to storage device 120, the data is written to storage device 120 in a sequential manner (e.g., data is written in sequence to a block of
  • log based storage control circuitry 117 may prune or merge entries in log 130 corresponding to duplicate or identical addresses stored in the entries of log 130. Such pruning or merging reduces the number of write operations performed on storage device 120 when the data is subsequently transferred or flushed to storage device 120.
  • log based storage control circuitry 117 may identify identical addresses that are stored in entries of log 130. Log based storage control circuitry 117 may retain only the latest entry (e.g., the last written entry in log 130) having the duplicate address.
  • log based storage control circuitry 117 may delete every entry having the duplicate address that precedes the latest entry having the duplicate address.
  • Log based storage control circuitry 117 may perform the sorting and merging in any given order. Specifically, log based storage control circuitry 117 may first merge and then sort the entries in log 130. Alternatively, log based storage control circuitry 117 may first sort and then merge the entries in log 130.
  • region characteristic map 114 maps address regions of storage device 120 to different classifications.
  • characteristic map 114 may be generated, maintained and updated by region access monitor circuitry 112 every time a new request to store or read data is received or after a predetermined number of requests to store or read data are received.
  • the classification assigned to a given address region may depend on the frequency of access and type of access to that region.
  • region access monitor circuitry 112 may classify segments of all or part of the address space of storage device 120 according to access type and/or temperature. Region access monitor circuitry 112 may separate the address space of storage device 120 into multiple segments of equal or unequal size (e.g., 1 gigabyte size segments) . For each segment, region access monitor circuitry 112 may maintain or store a last access address (LBA) (e.g., the address specified by a previous read or write request to address within the given segment) , the last access size (e.g., the full range of addresses covered by the request to read/write data to the last access address) , the total number of accesses, the number of sequential accesses, the number of random accesses and the access type.
  • LBA last access address
  • the last access size e.g., the full range of addresses covered by the request to read/write data to the last access address
  • region access monitor circuitry 112 may determine whether the address follows sequentially the address specified by a previous request to read or write data to the same segment. To make this determination, region access monitor circuitry 112 may determine whether the address specified by a current request to read or write data to the segment is the next adjacent address that follows the value of the address specified by the previous request plus the last access size (e.g., the amount of data written to the previous address) .
  • the previously stored address may indicate a starting point and the data size may indicate the ending point of the range of addresses covered by the previous request to read or write data to the segment. Accordingly, to determine whether a current request to read or write data to an address within the segment follow sequentially from a previous request, region access monitor circuitry 112 has to account for the entire address space that was covered by the previous request .
  • region access monitor circuitry 112 may determine that the current address to which the read/write request requests access follows sequentially the address specified by the previous request to read or write data to the same segment.
  • region access monitor circuitry 112 may increment the value corresponding to the number of random accesses.
  • region access monitor circuitry 112 may increment the value of total number of accesses. When the value of the total number of accesses of a given segment exceeds a predetermined threshold, region access monitor circuitry 112 may assign an access type to the segment. To assign the access type to a segment, the total number of accesses may be compared with the number of random accesses and/or the number of sequential accesses. In some implementations, when the ratio of the number of sequential accesses to the total number of accesses of a given segment is greater than the ratio of the number of random accesses to the total number of accesses of the given segment, the segment may be assigned as a random access type segment. Specifically, if the majority of accesses to the segment were random after a given number of accesses, the segment may be assigned as a random access type segment.
  • the segment may be assigned as a sequential access type segment.
  • region access monitor circuitry 112 may also or alternatively classify segments according to temperature. It should be understood that the term "temperature" is not the conventional use of the term, as used herein the term temperature indicates data access frequency. For each segment, region access monitor circuitry 112 may maintain or store a last access time value, a temperature value, a data in cache log flag and a direct mapped flag. Specifically, upon receiving a request to read/write data to an address within a segment, the last access time value may be updated to reflect the current time. If the next request to read/write data to an address within the same segment is within a threshold period of time after the last access time value, the value of the temperature may be
  • the value of the temperature may be
  • region access monitor circuitry 112 may set the data in cache log flag to true and the direct mapped flag to false for the segment corresponding to the address selected for log based storage.
  • region access monitor circuitry 112 may set the data in cache log flag to false and the direct mapped flag to true for the segment corresponding to the address selected for direct mapped based storage.
  • the temperature value, for each region where the data in cache log flag is set to true may be increased.
  • the temperature value, for each region where the direct mapped flag is set to true may be decreased. This results in segments previously identified as having high temperature values having their temperature reduced by a certain amount over time if access to those segments becomes less frequent or sequential in type.
  • Region access monitor circuitry 112 may use the information maintained and updated about the access type and temperature of each segment to set a classification to a region identified in region characteristic map 114.
  • Each region identified in region characteristic map 114 may identify one or more segments for which region access monitor circuitry 112 has maintained information.
  • region access monitor circuitry 112 may process the information stored for a first segment to determine the access type and temperature value of the segment.
  • region access monitor circuitry 112 may classify the first segment as the second classification (e.g., a classification which causes requests to write data to an address within the segment to be performed in a direct mapped storage manner) .
  • region access monitor circuitry 112 may classify the first segment as the second classification regardless of the temperature value of the segment.
  • Region access monitor circuitry 112 may process information stored for a second segment that is adjacent - ll - to the first segment. When the access type is determined to be sequential and the temperature value is higher than a threshold or lower than a threshold for the second segment, region access monitor circuitry 112 may also classify the second segment as the second classification. Since the first segment and the second segment are of the same classification (e.g., the second classification), region access monitor circuitry 112 may combine the two segments into the same region identified by region characteristic map 114. Accordingly, a first region identified by region characteristic map 114 may
  • Any data that is received with a request to be stored to an address within the address space defined by the first region may be selected for direct mapped storage since it is of the second classification.
  • Region access monitor circuitry 112 may process information stored for each segment. When the access type is determined to be random and the temperature value is lower than a threshold for a given segment, region access monitor circuitry 112 may classify the given segment as the third classification (e.g., a
  • region access monitor circuitry 112 may classify the given segment as the first classification (e.g., a
  • region access monitor circuitry 112 may combine the two or more segments into a region that spans the address space of the two or more segments and store their common classification in region characteristic map 114 for the region that spans the address space of the two or more segments.
  • log based storage control circuitry 117 may maintain a look-up table indicating where different data is stored in log 130.
  • the look-up table may identify the log storage location for every address stored in an entry of log 130. For example, a previously received request to write data to address 5 of storage device 120 may be stored (with the data and address) in location 3 of log 130 (e.g., because the address was selected for log based storage) . Accordingly, when a subsequent request to read information from address 5 of storage device 120 is received, the look-up table may be cross referenced to determine whether an entry associated with the requested address exists in log 130. In such a case, the look-up table may indicate that the data is stored in location 3 of log 130.
  • region access monitor circuitry 112 retrieves the data from location 3 of log 130 instead of address 5 of storage device 120 and returns the retrieved data to the requestor. In particular, when a request to read a given address from storage device 120 is received, region access monitor circuitry 112 first checks whether the data for the requested address is still in log 130.
  • the flush condition may not yet have been satisfied and hence the data for a given address may be stored in log 130 instead of at the corresponding address of storage device 120. Accordingly, if a request to read the address is routed directly to storage device 120, the wrong data would be retrieved.
  • the look-up table may be checked by region access monitor circuitry 112 to determine whether data for the requested address has an entry in log 130. When the requested address has an entry in log 130, the look-up table returns the location within log 130 of the requested data. When the requested address does not have an entry in log 130, no entry is provided in the look-up table and accordingly the data is retrieved directly from the requested address of storage device 120.
  • FIG. 2 illustrates a process 200 for storing information in a solid state storage device based on data classification in accordance with an embodiment of the present disclosure.
  • a request to store data to the storage device at a given address corresponding to one of a plurality of regions of the storage device is received.
  • a region classification map associated with the storage device may associate a classification with each of the plurality of regions of the storage device. For example, data 140 may be received by control
  • Data 140 may include an address portion and a data portion.
  • the address portion may correspond to a given region of the storage device that is classified by region characteristic map 114.
  • the classification associated with the one of the plurality of regions corresponding to the given address is determined based on the region
  • region access monitor circuitry 112 may cross-reference the address portion of data 140 with region characteristic map 114 to determine the classification associated with the region
  • the data is stored to the storage device at the given address in response to determining that the one of the plurality of regions is associated with a first classification. For example, when the address is determined to be the second classification (e.g., an address corresponding to data written to sequential address blocks) , the data is routed to direct address storage control 118 to be written to the address of storage device 120 specified by the address portion of data 140.
  • the second classification e.g., an address corresponding to data written to sequential address blocks
  • the data is stored to an alternate location in response to determining that the one of the plurality of regions is associated with a second
  • the address is determined to be the first classification (e.g., an address corresponding to data written to random address blocks)
  • the data is routed to log based storage control 117 to be written to log 130 instead of the address of storage device 120 specified by the address portion of data 140.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Systems and methods for storing data to a non-volatile storage device are provided. A request to store data to the storage device at a given address corresponding to one of a plurality of regions of the storage device is received. A region classification map associated with the storage device associates a classification with each of the plurality of regions. A determination is made based on the region classification map as to which classification is associated with the one of the plurality of regions corresponding to the given address. The data is stored at the given address in response to determining that the one of the plurality of regions is associated with a first classification. The data is stored to an alternate location in response to determining that the one of the plurality of regions is associated with a second classification.

Description

METHODS AND APPARATUS FOR STORING DATA TO A SOLID STATE STORAGE DEVICE BASED ON DATA CLASSIFICATION
Cross Reference to Related Application
[0001] This disclosure claims the benefit of U.S.
Provisional Application No. 61/757,824, filed January 29, 2013, which is incorporated herein by reference in its entiret .
Field Of Use
[0002] The present disclosure relates generally to solid state storage device systems and methods, and more particularly, to efficiently storing information in a solid state storage device based on data classification.
Background
[0003] The background description provided herein is for the purpose of generally presenting the context of the disclosure. Work of the inventors hereof, to the extent the work is described in this background section, as well as aspects of the description that may not otherwise qualify as prior art at the time of filing, is neither expressly nor impliedly admitted as prior art against the present disclosure.
[0004] Typical solid state storage devices (e.g., NAND flash storage devices) operate by erasing previously stored information before writing new information. This is known as "garbage collection". Due to this type of operation, storing data to a same range of storage locations results in inefficiencies such as latencies. As such, these typical devices inefficiently handle continuous random writes to a same range of locations in the solid state storage devices.
Summary
[0005] Systems and methods for storing data to a non- volatile storage device are provided. In some
embodiments, a request to store data to the storage device at a given address corresponding to one of a plurality of regions of the storage device is received. A region classification map associated with the storage device associates a classification with each of the plurality of regions. A determination is made based on the region classification map as to which classification is associated with the one of the plurality of regions corresponding to the given address. The data is stored at the given address in response to determining that the one of the plurality of regions is associated with a first classification. The data is stored to an alternate location in response to determining that the one of the plurality of regions is associated with a second
classification. In some implementations, the alternate location is a temporary storage location that is
associated with an address of the storage device that is different from the given address.
[0006] In some embodiments, the region classification map is generated based on prior storage operations performed on the storage device. In some embodiments, the region classification map is generated by an
application from which the request to store the data was received .
[0007] In some embodiments, a given region of the plurality of regions of the storage device is associated with the first classification when a frequency of requests to store data to an address corresponding to the given region is less than a threshold value or when a threshold number of requests to store data to addresses corresponding to the given region are received in sequence. In some embodiments, a given region of the plurality of regions of the storage device is associated with the second classification when a frequency of requests to store data to an address corresponding to the given region is greater than a threshold value and when a threshold number of requests to store data to addresses corresponding to the given region are received in arbitrary order.
[0008] In some embodiments, the data is stored to the storage device at the given address. The data is stored to a temporary storage location in a buffer and the data is transferred from the buffer to the storage device.
[0009] In some embodiments, the request to store the data is stored in a log. The log includes a plurality of previously received requests to store data to a given region of the storage device that is associated with the second classification. The requests to store data are ordered in the log sequentially according to addresses associated with each request. Multiple of the plurality of requests to store data to an identical address are merged into a single request to store data. The ordered and merged requests in the log are stored to the storage device at the addresses associated with each of the requests. In some implementations, the ordering and merging is performed after receiving a threshold number of requests to store data to the given region of the storage device that is associated with the second classification. In some implementations, the nonvolatile storage device is a solid state storage device and the log is in a dedicated region of the storage device .
Brief Description of the Drawings
[0010] The details of one or more implementations are set forth in the accompanying drawings and the
description below. Other features and various advantages will be more apparent upon consideration of the following detailed description, taken in conjunction with the accompanying drawings in which: [0011] FIG. 1 is a diagram of an illustrative storage device system in accordance with an embodiment of the present disclosure;
[0012] illustrates a process for storing information in a solid state storage device based on data classification in accordance with an embodiment of the present disclosure.
Detailed Description
[0013] This disclosure generally relates to
efficiently storing information in a solid state storage device based on data classification. For illustrative purposes, this disclosure is described in the context of a solid state storage device (e.g., a flash storage device or a NAND based storage device) . It should be understood, however, that this disclosure is applicable to any other type of non-volatile storage device (e.g., magnetic storage device, ROM, PROM, EPROM, EEPROM, nvSRAM, FeRAM, MRAM, PRAM, CBRAM, SONOS, RRAM, NRAM, Millipede memory, or holographic storage device) .
[0014] FIG. 1 is a diagram of an illustrative storage device system 100 in accordance with an embodiment of the present disclosure. System 100 includes control
circuitry 110, a solid state storage device 120, and a log 130. In some implementations, log 130 is a reserved region of storage device 120. For example, log 130 may correspond to a predetermined number of storage locations of storage device 120 (e.g., 1 gigabyte) which are only visible to control circuitry 110 and not to a user or an external application. In some implementations, log 130 is implemented by a separate volatile or non-volatile storage device (e.g., NVRAM, DRAM, SDRAM, SRAM, T-RAM, Z- RAM, TTRAM, or any combination thereof) from storage device 120. For example, log 130 may be included as part of control circuitry 110 and/or may be coupled to control circuitry 110 and to storage device 120.
[0015] Control circuitry 110 may include region access monitor circuitry 112, a region characteristic
(classification) map 114, redirector circuitry 116, log based storage control circuitry 117, and direct address storage control circuitry 118. In some embodiments, control circuitry 110 may receive data 140 from another system component (not shown) . For example, data 140 may be provided by an application or another storage device (e.g., DRAM) . Data 140 may include a user data portion and an address portion. In some implementations, data 140 may include a classification portion that indicates what type of classification the user data is.
Specifically, the application that instructs control circuitry 110 to store data 140 may indicate the
classification of the data. For example, data may be a first classification, a second classification, or a third classification.
[0016] The "first classification" may identify or be associated with a set of data that is written to random or non-sequential storage locations (e.g., addresses), where such storage locations are frequently accessed (e.g., a number of requests to store data to these locations exceeds a predetermined threshold) . The
"second classification" may identify or be associated with a set of data that is written to sequential storage locations (e.g., addresses), where such storage locations are frequently accessed (e.g., a number of requests to store data to these locations exceeds a predetermined threshold) . The "third classification" may identify or be associated with a set of data that is written to random or non-sequential storage locations (e.g., addresses), where such storage locations are infrequently accessed (e.g., a number of requests to store data to these locations does not exceed a predetermined
threshold) .
[ 0017 ] Control circuitry 110 may process data 140 to identify the classification of the data. For example, region access monitor circuitry 112 may retrieve the address portion of data 140 and determine whether the address portion corresponds to a first, second or third classification. Region access monitor circuitry 112 may determine based on the classification of the address portion of data 140 whether the address portion and user data portion of data 140 should be cached for later storage to storage device 120 (log based storage) or whether the user data portion of data 140 should be directly stored to storage device 120 at the address specified by the address portion of data 140 (direct map storage) . For example, data 140 that is determined to be of the first classification may be selected for log based storage and data 140 that is determined to be of the second or third classification may be selected for direct map storage.
[0018] In some implementations, region access monitor circuitry 112 may determine the classification of the address portion based on the classification indicated by data 140. In some implementations, region access monitor circuitry 112 may cross reference the address portion of data 140 with a region characteristic map 114 to
determine whether data 140 is associated with a first, second or third classification. Region characteristic map 114 may be a database that maps a set of addresses or storage locations of storage device 120 to different classifications. In some implementations, region characteristic map 114 may be generated or updated by an application. Specifically, the application that will be performing various read/write operations on storage device 120 may program or configure region characteristic map 114 with information that indicates the
classification for various addresses (or address regions) of storage device 120. In some implementations, region characteristic map 114 is updated based on a historical, statistical or on going analysis of addresses being received with data 140. In such circumstances, region access monitor circuitry 112 analyzes the addresses and performs any updates to the address information stored in region characteristic map 114.
[0019] Data that is cached for later storage (selected for log based storage) is stored to log 130. After a predetermined number of data 140 are stored to log 130 or after a predetermined period of time (e.g., a flush condition being satisfied) , entries (that each include various address and data portions) stored in log 130 are merged, ordered and before being subsequently stored or flushed to storage device 120. The operation of log 130 is described in greater detail below. Data that is directly stored to storage device 120 (selected for direct map storage) , is routed directly to storage device 120 (or through a buffer (not shown) ) and stored to the address specified by the address portion of data 140.
[0020] In some embodiments, region access monitor circuitry 112 may indicate to redirector circuitry 116 whether the data is selected for log based storage or direct map storage. Based on the indication received from region access monitor circuitry 112, redirector circuitry 116 sends data 140 to log based storage control circuitry 117 or direct address storage control 118 to be written to storage device 120. Specifically, data that is selected for log based storage may be routed by redirector circuitry 116 to log based storage control circuitry 117. Alternatively, data that is selected for direct map storage may be routed by redirector circuitry 116 to direct address storage control 118.
[0021] Log based storage control circuitry 117 may receive data 140 and store the data to log 130.
Specifically, log based storage control circuitry 117 may store the address portion and the user data portion of data 140 to a given entry in log 130. As such, log 130 may maintain multiple entries of data 140 and specifically multiple address and user data portions may be maintained in different entries of log 130. Log based storage control circuitry 117 may process data stored in log 130 to sort and merge the data for subsequently writing the data in log 130 to storage device 120. Log based storage control circuitry 117 may transfer data stored in log 130 to storage device 120 when a condition is satisfied (e.g., a flush condition) . To transfer the data stored in log 130 to storage device 120, log based storage control circuitry 117 may, for each entry in log 130, store the data in a given entry to a location of storage device 120 identified by the address specified in the entry. In some implementations, the condition that causes log based storage circuitry 117 to transfer data from log 130 to storage device 120 may include a
predetermined number of entries (that correspond to different requests to write data to a given location of storage device 120) having been created and stored to log 130 and/or passage of a predetermined period of time.
[0022] In some embodiments, when the flush condition is satisfied or in an ongoing continuous manner, log based storage control circuitry 117 may analyze the addresses of each entry stored in log 130. Log based storage control circuitry 117 may sort the entries in log 130 according to ascending or descending order of the addresses stored in the entries. As such, when the data portion of the entries in log 130 is subsequently transferred or flushed to storage device 120, the data is written to storage device 120 in a sequential manner (e.g., data is written in sequence to a block of
addresses that have been sorted in log 130) .
[0023] In some implementations, log based storage control circuitry 117 may prune or merge entries in log 130 corresponding to duplicate or identical addresses stored in the entries of log 130. Such pruning or merging reduces the number of write operations performed on storage device 120 when the data is subsequently transferred or flushed to storage device 120.
Specifically, log based storage control circuitry 117 may identify identical addresses that are stored in entries of log 130. Log based storage control circuitry 117 may retain only the latest entry (e.g., the last written entry in log 130) having the duplicate address.
Specifically, log based storage control circuitry 117 may delete every entry having the duplicate address that precedes the latest entry having the duplicate address. Log based storage control circuitry 117 may perform the sorting and merging in any given order. Specifically, log based storage control circuitry 117 may first merge and then sort the entries in log 130. Alternatively, log based storage control circuitry 117 may first sort and then merge the entries in log 130.
[0024] As discussed above, region characteristic map 114 maps address regions of storage device 120 to different classifications. In some implementations, the information and classifications stored in region
characteristic map 114 may be generated, maintained and updated by region access monitor circuitry 112 every time a new request to store or read data is received or after a predetermined number of requests to store or read data are received. The classification assigned to a given address region (e.g., a given 1 gigabyte region) may depend on the frequency of access and type of access to that region.
[0025] To generate the region classification
information stored in region characteristic map 114 region access monitor circuitry 112 may classify segments of all or part of the address space of storage device 120 according to access type and/or temperature. Region access monitor circuitry 112 may separate the address space of storage device 120 into multiple segments of equal or unequal size (e.g., 1 gigabyte size segments) . For each segment, region access monitor circuitry 112 may maintain or store a last access address (LBA) (e.g., the address specified by a previous read or write request to address within the given segment) , the last access size (e.g., the full range of addresses covered by the request to read/write data to the last access address) , the total number of accesses, the number of sequential accesses, the number of random accesses and the access type. Upon receiving a read/write request to an address within a given segment, region access monitor circuitry 112 may determine whether the address follows sequentially the address specified by a previous request to read or write data to the same segment. To make this determination, region access monitor circuitry 112 may determine whether the address specified by a current request to read or write data to the segment is the next adjacent address that follows the value of the address specified by the previous request plus the last access size (e.g., the amount of data written to the previous address) .
Specifically, the previously stored address may indicate a starting point and the data size may indicate the ending point of the range of addresses covered by the previous request to read or write data to the segment. Accordingly, to determine whether a current request to read or write data to an address within the segment follow sequentially from a previous request, region access monitor circuitry 112 has to account for the entire address space that was covered by the previous request .
[0026] In response to determining that the current address to which the read/write request requests access follows sequentially the address specified by the previous request to read or write data to the same segment, region access monitor circuitry 112 may
increment the value corresponding to the number of sequential accesses. Alternatively, in response to determining that the current address to which the read/write request requests access does not follow sequentially the address specified by the previous request to read or write data to the same segment, region access monitor circuitry 112 may increment the value corresponding to the number of random accesses.
[0027] After each request to read/write information to an address that is within a given segment, region access monitor circuitry 112 may increment the value of total number of accesses. When the value of the total number of accesses of a given segment exceeds a predetermined threshold, region access monitor circuitry 112 may assign an access type to the segment. To assign the access type to a segment, the total number of accesses may be compared with the number of random accesses and/or the number of sequential accesses. In some implementations, when the ratio of the number of sequential accesses to the total number of accesses of a given segment is greater than the ratio of the number of random accesses to the total number of accesses of the given segment, the segment may be assigned as a random access type segment. Specifically, if the majority of accesses to the segment were random after a given number of accesses, the segment may be assigned as a random access type segment.
Alternatively, if the majority of accesses to the segment were sequential after a given number of accesses, the segment may be assigned as a sequential access type segment.
[0028] In some embodiments, region access monitor circuitry 112 may also or alternatively classify segments according to temperature. It should be understood that the term "temperature" is not the conventional use of the term, as used herein the term temperature indicates data access frequency. For each segment, region access monitor circuitry 112 may maintain or store a last access time value, a temperature value, a data in cache log flag and a direct mapped flag. Specifically, upon receiving a request to read/write data to an address within a segment, the last access time value may be updated to reflect the current time. If the next request to read/write data to an address within the same segment is within a threshold period of time after the last access time value, the value of the temperature may be
incremented. Alternatively, if the next request to read/write data to an address within the same segment is beyond the threshold period of time after the last access time value, the value of the temperature may be
decremented. In some implementations, when region access monitor circuitry 112 selects the received data for log based storage, region access monitor circuitry 112 may set the data in cache log flag to true and the direct mapped flag to false for the segment corresponding to the address selected for log based storage. Alternatively, when region access monitor circuitry 112 selects the received data for direct mapped based storage, region access monitor circuitry 112 may set the data in cache log flag to false and the direct mapped flag to true for the segment corresponding to the address selected for direct mapped based storage.
[0029] In some embodiments, whenever the flush condition is satisfied and the data is transferred from log 130 to storage device 120, the temperature value, for each region where the data in cache log flag is set to true, may be increased. Alternatively, whenever the flush condition is satisfied and the data is transferred from log 130 to storage device 120, the temperature value, for each region where the direct mapped flag is set to true, may be decreased. This results in segments previously identified as having high temperature values having their temperature reduced by a certain amount over time if access to those segments becomes less frequent or sequential in type.
[0030] Region access monitor circuitry 112 may use the information maintained and updated about the access type and temperature of each segment to set a classification to a region identified in region characteristic map 114. Each region identified in region characteristic map 114 may identify one or more segments for which region access monitor circuitry 112 has maintained information. For example, region access monitor circuitry 112 may process the information stored for a first segment to determine the access type and temperature value of the segment. When the access type is determined to be sequential and the temperature value is higher than a threshold or lower than a threshold, region access monitor circuitry 112 may classify the first segment as the second classification (e.g., a classification which causes requests to write data to an address within the segment to be performed in a direct mapped storage manner) . Specifically, when the access type is determined to be sequential, region access monitor circuitry 112 may classify the first segment as the second classification regardless of the temperature value of the segment.
[0031] Region access monitor circuitry 112 may process information stored for a second segment that is adjacent - ll - to the first segment. When the access type is determined to be sequential and the temperature value is higher than a threshold or lower than a threshold for the second segment, region access monitor circuitry 112 may also classify the second segment as the second classification. Since the first segment and the second segment are of the same classification (e.g., the second classification), region access monitor circuitry 112 may combine the two segments into the same region identified by region characteristic map 114. Accordingly, a first region identified by region characteristic map 114 may
correspond to the address space that spans the first and second segments and is associated with the second
classification. Any data that is received with a request to be stored to an address within the address space defined by the first region may be selected for direct mapped storage since it is of the second classification.
[0032] Region access monitor circuitry 112 may process information stored for each segment. When the access type is determined to be random and the temperature value is lower than a threshold for a given segment, region access monitor circuitry 112 may classify the given segment as the third classification (e.g., a
classification which causes requests to write data to an address within the segment to be performed in a direct mapped storage manner) . When the access type is
determined to be random and the temperature value is higher than a threshold for the given segment, region access monitor circuitry 112 may classify the given segment as the first classification (e.g., a
classification which causes requests to write data to an address within the segment to be performed in a log based storage manner) . When two or more adjacent segments are assigned the same classification, region access monitor circuitry 112 may combine the two or more segments into a region that spans the address space of the two or more segments and store their common classification in region characteristic map 114 for the region that spans the address space of the two or more segments.
[0033] In some implementations, log based storage control circuitry 117 may maintain a look-up table indicating where different data is stored in log 130. Specifically, the look-up table may identify the log storage location for every address stored in an entry of log 130. For example, a previously received request to write data to address 5 of storage device 120 may be stored (with the data and address) in location 3 of log 130 (e.g., because the address was selected for log based storage) . Accordingly, when a subsequent request to read information from address 5 of storage device 120 is received, the look-up table may be cross referenced to determine whether an entry associated with the requested address exists in log 130. In such a case, the look-up table may indicate that the data is stored in location 3 of log 130. Using the information in the look-up table, region access monitor circuitry 112 retrieves the data from location 3 of log 130 instead of address 5 of storage device 120 and returns the retrieved data to the requestor. In particular, when a request to read a given address from storage device 120 is received, region access monitor circuitry 112 first checks whether the data for the requested address is still in log 130.
Specifically, the flush condition may not yet have been satisfied and hence the data for a given address may be stored in log 130 instead of at the corresponding address of storage device 120. Accordingly, if a request to read the address is routed directly to storage device 120, the wrong data would be retrieved. The look-up table may be checked by region access monitor circuitry 112 to determine whether data for the requested address has an entry in log 130. When the requested address has an entry in log 130, the look-up table returns the location within log 130 of the requested data. When the requested address does not have an entry in log 130, no entry is provided in the look-up table and accordingly the data is retrieved directly from the requested address of storage device 120.
[ 0034 ] In some cases, multiple writes to the address corresponding to the read request (requested address) may have been received in the past. Accordingly, multiple entries may be created in log 130 and hence multiple log locations may be identified in the look-up table for the requested address. In such circumstances, the last written data corresponding to the requested address may be retrieved from the corresponding location in log 130 instead of the requested address of storage device 120. [0035] FIG. 2 illustrates a process 200 for storing information in a solid state storage device based on data classification in accordance with an embodiment of the present disclosure. At 210, a request to store data to the storage device at a given address corresponding to one of a plurality of regions of the storage device is received. A region classification map associated with the storage device may associate a classification with each of the plurality of regions of the storage device. For example, data 140 may be received by control
circuitry 110 (FIG. 1) . Data 140 may include an address portion and a data portion. The address portion may correspond to a given region of the storage device that is classified by region characteristic map 114.
[0036] At 220, the classification associated with the one of the plurality of regions corresponding to the given address is determined based on the region
classification map. For example, region access monitor circuitry 112 may cross-reference the address portion of data 140 with region characteristic map 114 to determine the classification associated with the region
corresponding to the address portion.
[0037] At 230, the data is stored to the storage device at the given address in response to determining that the one of the plurality of regions is associated with a first classification. For example, when the address is determined to be the second classification (e.g., an address corresponding to data written to sequential address blocks) , the data is routed to direct address storage control 118 to be written to the address of storage device 120 specified by the address portion of data 140.
[0038] At 240, the data is stored to an alternate location in response to determining that the one of the plurality of regions is associated with a second
classification. For example, when the address is determined to be the first classification (e.g., an address corresponding to data written to random address blocks) , the data is routed to log based storage control 117 to be written to log 130 instead of the address of storage device 120 specified by the address portion of data 140.
[0039] The foregoing describes methods and an
apparatus for storing information in a solid state storage device based on data classification. The above- described embodiments of the present disclosure are presented for the purposes of illustration and not of limitation. Furthermore, the present disclosure is not limited to a particular implementation. For example, one or more steps of methods described above may be performed in a different order (or concurrently) and still achieve desirable results. In addition, the disclosure may be implemented in hardware, such as on an application- specific integrated circuit (ASIC) or on a field- programmable gate array (FPGA) . The disclosure may also be implemented in software.

Claims

What is Claimed is:
1. A method for storing data to a nonvolatile storage device, the method comprising:
receiving a request to store data to the storage device at a given address corresponding to one of a plurality of regions of the storage device, wherein a region classification map associated with the storage device associates a classification with each of the plurality of regions of the storage device;
determining, based on the region
classification map, which classification is associated with the one of the plurality of regions corresponding to the given address;
storing the data to the storage device at the given address in response to determining that the one of the plurality of regions is associated with a first classification; and
storing the data to an alternate location in response to determining that the one of the plurality of regions is associated with a second classification.
2. The method of claim 1, wherein the alternate location is a temporary storage location is associated with an address of the storage device is different from the given address.
3. The method of claim 1 further comprising generating the region classification map based on prior storage operations performed on the storage device.
4. The method of claim 1, wherein the region classification map is generated by an application from which the request to store the data was received.
5. The method of claim 1, wherein a given region of the plurality of regions of the storage device is associated with the first classification when a
frequency of requests to store data to an address
corresponding to the given region is less than a
threshold value or when a threshold number of requests to store data to addresses corresponding to the given region are received in sequence.
6. The method of claim 1, wherein a given region of the plurality of regions of the storage device is associated with the second classification when a
frequency of requests to store data to an address
corresponding to the given region is greater than a
threshold value and when a threshold number of requests to store data to addresses corresponding to the given region are received in arbitrary order.
7. The method of claim 1, wherein storing the data to the storage device at the given address comprises: storing the data to a temporary storage location in a buffer; and
transferring the data from the buffer to the storage device.
8. The method of claim 1, wherein storing the data to an alternate location comprises:
storing the request to store the data in a log, wherein the log includes a plurality of previously received requests to store data to a given region of the storage device that is associated with the second classification;
ordering the requests to store data in the log sequentially according to addresses associated with each request;
merging into a single request to store data multiple of the plurality of requests to store data to an identical address; and
storing the ordered and merged requests in the log to the storage device at the addresses associated with each of the requests.
9. The method of claim 8, wherein the ordering and merging is performed after receiving a threshold number of requests to store data to the given region of the storage device that is associated with the second classification.
10. The method of claim 8, wherein the nonvolatile storage device is a solid state storage device and the log is in a dedicated region of the storage device .
11. A system for storing data to a nonvolatile storage device, the system comprising:
control circuitry configured to:
receive a request to store data to the storage device at a given address corresponding to one of a plurality of regions of the storage device, wherein a region classification map associated with the storage device associates a classification with each of the plurality of regions of the storage device;
determine, based on the region classification map, which classification is associated with the one of the plurality of regions corresponding to the given address;
store the data to the storage device at the given address in response to determining that the one of the plurality of regions is associated with a first classification; and
store the data to an alternate location in response to determining that the one of the plurality of regions is associated with a second
classification.
12. The system of claim 11, wherein the alternate location is a temporary storage location that is associated with an address of the storage device that is different from the given address.
13. The system of claim 11, wherein the control circuitry is further configured to generate the region classification map based on prior storage
operations performed on the storage device.
14. The system of claim 11, wherein the region classification map is generated by an application from which the request to store the data was received.
15. The system of claim 11, wherein a given region of the plurality of regions of the storage device is associated with the first classification when a frequency of requests to store data to an address corresponding to the given region is less than a
threshold value or when a threshold number of requests to store data to addresses corresponding to the given region are received in sequence.
16. The system of claim 11, wherein a given region of the plurality of regions of the storage device is associated with the second classification when a frequency of requests to store data to an address corresponding to the given region is greater than a threshold value and when a threshold number of requests to store data to addresses corresponding to the given region are received in arbitrary order.
17. The system of claim 11, wherein the control circuitry is further configured to store the data to the storage device at the given address by:
storing the data to a temporary storage location in a buffer; and
transferring the data from the buffer to the storage device.
18. The system of claim 11, wherein the control circuitry is further configured to store the data to an alternate location by:
storing the request to store the data in a log, wherein the log includes a plurality of previously received requests to store data to a given region of the storage device that is associated with the second classification;
ordering the requests to store data in the log sequentially according to addresses associated with each request;
merging multiple into a single request to store data of the plurality of requests to store data to an identical address; and
storing the ordered and merged requests in the log to the storage device at the addresses associated with each of the requests.
19. The system of claim 18, wherein the control circuitry is further configured to perform the ordering and merging after receiving a threshold number of requests to store data to the given region of the storage device that is associated with the second classification.
20. The system of claim 18, wherein the nonvolatile storage device is a solid state storage device and the log is in a dedicated region of the storage device .
PCT/US2014/013353 2013-01-29 2014-01-28 Methods and apparatus for storing data to a solid state storage device based on data classification Ceased WO2014120660A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201480006405.4A CN104956313B (en) 2013-01-29 2014-01-28 For being classified based on data by the method and apparatus of data storage to solid storage device

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201361757824P 2013-01-29 2013-01-29
US61/757,824 2013-01-29
US14/165,844 2014-01-28
US14/165,844 US9575886B2 (en) 2013-01-29 2014-01-28 Methods and apparatus for storing data to a solid state storage device based on data classification

Publications (1)

Publication Number Publication Date
WO2014120660A1 true WO2014120660A1 (en) 2014-08-07

Family

ID=51224312

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2014/013353 Ceased WO2014120660A1 (en) 2013-01-29 2014-01-28 Methods and apparatus for storing data to a solid state storage device based on data classification

Country Status (3)

Country Link
US (2) US9575886B2 (en)
CN (1) CN104956313B (en)
WO (1) WO2014120660A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160008885A (en) * 2014-07-15 2016-01-25 삼성전자주식회사 Memory Managing Method and Electonic Device
JP2016184402A (en) * 2015-03-26 2016-10-20 パナソニックIpマネジメント株式会社 MEMORY CONTROLLER, NONVOLATILE MEMORY DEVICE, NONVOLATILE MEMORY SYSTEM, AND MEMORY CONTROL METHOD
CN106326138B (en) * 2015-07-03 2019-11-05 比亚迪股份有限公司 The access control method of flash memory and flash memory internal data
US10466924B1 (en) * 2016-05-13 2019-11-05 Symantec Corporation Systems and methods for generating memory images of computing devices
US10268394B2 (en) * 2016-08-10 2019-04-23 Seagate Technology Llc Data storage device performance optimization method and apparatus
CN108282811A (en) * 2017-01-05 2018-07-13 中兴通讯股份有限公司 A kind of data processing method and device
US11005890B2 (en) * 2017-03-30 2021-05-11 Mcafee, Llc Secure software defined storage
US11112970B2 (en) * 2017-06-12 2021-09-07 Sap Se Software system logging based on runtime analysis
US11463444B2 (en) * 2020-06-11 2022-10-04 Microsoft Technology Licensing, Llc Cloud-based privileged access management
US11941285B2 (en) * 2021-04-20 2024-03-26 Micron Technology, Inc. Mitigating slow read disturb in a memory sub-system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110138106A1 (en) * 2009-12-07 2011-06-09 Microsoft Corporation Extending ssd lifetime using hybrid storage
US20120110258A1 (en) * 2010-10-29 2012-05-03 Seagate Technology Llc Storage device cache
US20120317342A1 (en) * 2011-06-08 2012-12-13 In-Hwan Choi Wear leveling method for non-volatile memory

Family Cites Families (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5541886A (en) 1994-12-27 1996-07-30 Intel Corporation Method and apparatus for storing control information in multi-bit non-volatile memory arrays
DE69635105D1 (en) 1996-01-31 2005-09-29 St Microelectronics Srl Multi-stage memory circuits and corresponding reading and writing methods
US6466476B1 (en) 2001-01-18 2002-10-15 Multi Level Memory Technology Data coding for multi-bit-per-cell memories having variable numbers of bits per memory cell
JP2003022687A (en) 2001-07-09 2003-01-24 Mitsubishi Electric Corp Semiconductor storage device
US6643169B2 (en) 2001-09-18 2003-11-04 Intel Corporation Variable level memory
US7019998B2 (en) 2003-09-09 2006-03-28 Silicon Storage Technology, Inc. Unified multilevel cell memory
US20090193184A1 (en) 2003-12-02 2009-07-30 Super Talent Electronics Inc. Hybrid 2-Level Mapping Tables for Hybrid Block- and Page-Mode Flash-Memory System
US8954751B2 (en) 2004-10-08 2015-02-10 International Business Machines Corporation Secure memory control parameters in table look aside buffer data fields and support memory array
KR100732628B1 (en) 2005-07-28 2007-06-27 삼성전자주식회사 Flash memory device for storing multi-bit data and single-bit data
US20070050642A1 (en) 2005-08-26 2007-03-01 International Business Machines Corporation Memory control unit with configurable memory encryption
BRPI0520592A2 (en) 2005-09-29 2009-05-19 Trek 2000 Int Ltd portable data storage using slc and mlc flash memory
US7716240B2 (en) 2005-12-29 2010-05-11 Nextlabs, Inc. Techniques and system to deploy policies intelligently
JP2007305267A (en) 2006-05-15 2007-11-22 Toshiba Corp Semiconductor memory device
US7355892B2 (en) 2006-06-30 2008-04-08 Sandisk Corporation Partial page fail bit detection in flash memory devices
US7739576B2 (en) 2006-08-31 2010-06-15 Micron Technology, Inc. Variable strength ECC
KR100771521B1 (en) 2006-10-30 2007-10-30 삼성전자주식회사 Flash memory device including multi-level cells and method of writing data thereof
JP2008152464A (en) * 2006-12-15 2008-07-03 Toshiba Corp Storage device
KR100819102B1 (en) 2007-02-06 2008-04-03 삼성전자주식회사 Nonvolatile Semiconductor Memory Device with Improved Multipage Program Operation
US20080189473A1 (en) 2007-02-07 2008-08-07 Micron Technology, Inc Mlc selected multi-program for system management
US8006166B2 (en) 2007-06-12 2011-08-23 Micron Technology, Inc. Programming error correction code into a solid state memory device with varying bits per cell
US8583857B2 (en) 2007-08-20 2013-11-12 Marvell World Trade Ltd. Method and system for object-oriented data storage
US20090055605A1 (en) 2007-08-20 2009-02-26 Zining Wu Method and system for object-oriented data storage
US7545673B2 (en) 2007-09-25 2009-06-09 Sandisk Il Ltd. Using MLC flash as SLC by writing dummy data
KR101570179B1 (en) * 2008-12-08 2015-11-18 삼성전자주식회사 Cache synchronization method and system for fast power-off
US9183134B2 (en) * 2010-04-22 2015-11-10 Seagate Technology Llc Data segregation in a storage device
KR101795629B1 (en) * 2011-02-15 2017-11-13 삼성전자주식회사 Method for managing file system in host and devices using the method
US9317436B2 (en) * 2013-06-21 2016-04-19 Hewlett Packard Enterprise Development Lp Cache node processing
CN106548789B (en) * 2015-09-17 2019-05-17 伊姆西公司 Method and apparatus for operating stacked tile type magnetic recording equipment
US9898200B2 (en) * 2016-02-18 2018-02-20 Samsung Electronics Co., Ltd Memory device having a translation layer with multiple associative sectors

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110138106A1 (en) * 2009-12-07 2011-06-09 Microsoft Corporation Extending ssd lifetime using hybrid storage
US20120110258A1 (en) * 2010-10-29 2012-05-03 Seagate Technology Llc Storage device cache
US20120317342A1 (en) * 2011-06-08 2012-12-13 In-Hwan Choi Wear leveling method for non-volatile memory

Also Published As

Publication number Publication date
US20170220298A1 (en) 2017-08-03
CN104956313A (en) 2015-09-30
US9575886B2 (en) 2017-02-21
US10157022B2 (en) 2018-12-18
CN104956313B (en) 2018-02-09
US20140215136A1 (en) 2014-07-31

Similar Documents

Publication Publication Date Title
US10157022B2 (en) Methods and apparatus for storing data to a solid state storage device based on data classification
US9329789B1 (en) Methods and apparatus for efficiently operating on a storage device
US8417878B2 (en) Selection of units for garbage collection in flash memory
US7676626B2 (en) Non-volatile memory system storing data in single-level cell or multi-level cell according to data characteristics
US10409526B2 (en) Adaptive garbage collection
US10606760B2 (en) Nonvolatile memory devices and methods of controlling the same
US9507705B2 (en) Write cache sorting
US20150169465A1 (en) Method and system for dynamic compression of address tables in a memory
JP2018133086A (en) Hybrid memory module and operation method for the same
US9772790B2 (en) Controller, flash memory apparatus, method for identifying data block stability, and method for storing data in flash memory apparatus
US20190391756A1 (en) Data storage device and cache-diversion method thereof
TW201301030A (en) Fast translation indicator to reduce secondary address table checks in a memory device
US20160004440A1 (en) Semiconductor storage device
US9483181B2 (en) Data storage device and operating method thereof
CN105917303A (en) Controller, method for identifying data block stability and storage system
JP6089890B2 (en) Storage control device, storage control device control method, and storage control device control program
US9286213B2 (en) Method and apparatus for managing file system
KR102750797B1 (en) Apparatus and method for performing garbage collection to predicting required time
CN104375955A (en) Cache device and control method thereof
US8898423B1 (en) High performance caching architecture for data storage systems
KR102071072B1 (en) Method for managing of memory address mapping table for data storage device
KR101676175B1 (en) Apparatus and method for memory storage to protect data-loss after power loss
TWI524264B (en) System, method and computer readable medium for managing composite, non-volatile data storage devices
CN121166029A (en) Data defragmentation method, device and readable storage medium
CN118535079A (en) System and method for managing sorted keys in a persistent memory system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14704468

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14704468

Country of ref document: EP

Kind code of ref document: A1