Solid state disk (SSD) and space management method thereof

A solid-state hard disk and space management technology, applied in the direction of memory address/allocation/relocation, etc., can solve the problems of low utilization rate of Flash resources, short service life of SSD, failure of the whole SSD, etc.

Active Publication Date: 2014-02-05
HUAWEI TECH CO LTD
View PDF6 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Generally, the redundant area accounts for about 5% to 30% of the SSD. With the increase of bad blocks, the available space in the redundant area decreases continuously. When the available space in the redundant area is exhausted, the SSD After the data

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Solid state disk (SSD) and space management method thereof
  • Solid state disk (SSD) and space management method thereof
  • Solid state disk (SSD) and space management method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] Figure 1a It is a flow chart of the solid-state hard disk space management method in Embodiment 1 of the present invention, such as Figure 1a As shown, the solid-state hard disk space management method may include:

[0048] Step 101, judging whether the available space of the redundant area of ​​the solid state disk satisfies a set condition.

[0049] specifically, Figure 1b It is a schematic structural diagram of SSD in the solid-state hard disk space management method in Embodiment 1 of the present invention, as Figure 1bAs shown, a solid state disk (SSD) mainly includes a storage space composed of multiple flash memories (Flash) 11 , a main control chip 15 and a cache 17 . Among them, the storage space composed of flash memory (Flash) 11 can realize the functions of system area, data area and redundant area, and the main control chip 15 can control and execute corresponding control commands to control various SSD functions such as data writing and garbage collec...

Embodiment 2

[0060] figure 2 It is a flow chart of the solid-state hard disk space management method in Embodiment 2 of the present invention, figure 2 and Figure 1a Steps with the same numbers have the same functions, and for the sake of brevity, detailed descriptions of these steps are omitted.

[0061] The main difference from the previous embodiment is that step 102 may specifically include the following steps:

[0062] Step 201, look up the LUN heat table of the system area of ​​the solid-state hard disk, determine the LUN with the lowest access heat in the LUN heat table as the designated LUN, and the access heat is accessed by all the LUNs of the solid-state hard disk within a certain period The frequency is determined; the lower the access heat, the smaller the impact of the LUN failure on the overall storage performance of the SSD.

[0063] Step 202, setting the state of the specified LUN as invalid in the LUN list of the system area;

[0064] Step 203, delete the LBA mappin...

Embodiment 3

[0077] image 3 It is a structural block diagram of a solid-state hard disk in Embodiment 3 of the present invention, such as image 3 As shown, the SSD can include:

[0078] A judging module 31, configured to judge whether the available space in the redundant area satisfies the set condition;

[0079]A failure control module 33, configured to set at least one logical unit number LUN in the data area as invalid when the available space in the redundant area does not meet the set condition;

[0080] The release control module 35 is used to release the logical block address LBA mapping relationship in the failed LUN, and the LBA mapping relationship is the mapping relationship between the LBA of the valid data written in the data area and the physical address;

[0081] The space control module 37 is configured to release the storage space mapped by the LBA mapping relationship LUN as the available space of the redundant area.

[0082] Among them, see Figure 1b , the solid s...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a solid state disk (SSD) and a space management method thereof. The method includes: when available space in a redundancy are cannot satisfy the set condition, failing at least one logic unit number (LUN) in the data area of the solid state disk; releasing the logic block address (LBA) mapping relations in the failed LUNs; using the storage space mapped to the LUNs with the released LBA mapping relations as the available space of the redundant area; wherein the LBA mapping relations are the mapping relations between the LBA of the effective data written into the data area and the physical addresses. By the method, when the available space of the redundancy area cannot satisfy the preset condition, at least one LUN of the SSD can be failed, the LBA mapping relations of the failed LUNs can be released to increase the available space of the redundancy area, and the service life of the SSD is prolonged by failing part of the data area of the SSD.

Description

technical field [0001] The invention relates to the field of data storage, in particular to a solid-state hard disk and a space management method thereof. Background technique [0002] Solid State Disk (SSD for short) uses electronic storage media for data storage and reading, which breaks through the performance bottleneck of traditional mechanical hard disks and has extremely high storage performance. SSD uses flash memory (Flash) chip as the electronic storage medium, which has the advantages of no noise, low power consumption, light weight, and no structural restrictions. Various electronic hard disks with different interfaces and shapes can be designed according to actual application requirements. The storage space of an SSD generally includes a data area and a redundant area, and the redundant area may account for 5% to 30% of the storage unit. Since Flash has an access feature of erasing first and then writing, during the process of writing SSD data, it is necessary ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F12/02
Inventor 康春
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products