CN107450858A - A kind of solid state hard disc classification storage method and system - Google Patents
A kind of solid state hard disc classification storage method and system Download PDFInfo
- Publication number
- CN107450858A CN107450858A CN201710687271.2A CN201710687271A CN107450858A CN 107450858 A CN107450858 A CN 107450858A CN 201710687271 A CN201710687271 A CN 201710687271A CN 107450858 A CN107450858 A CN 107450858A
- Authority
- CN
- China
- Prior art keywords
- data
- tlc
- subpool
- dynamics
- slc
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0644—Management of space entities, e.g. partitions, extents, pools
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/0647—Migration mechanisms
Abstract
The embodiment of the present application, which discloses a kind of solid state hard disc classification storage method and system, to be included:It is SLC dynamics subpool and TLC dynamic subpools by TLC chip-storeds region division;Data block liveness in SLC dynamics subpool and TLC dynamic subpools is monitored according to default data monitoring granularity;If the data activity degree of data block is compared with default data activity degree threshold value in SLC dynamics subpool and TLC dynamic subpools, meet the condition of Data Migration, then migrated the data block in SLC dynamics subpool and TLC dynamic subpools.TLC chips dynamic is divided, realize the flexibility of TLC chip stores datas, SLC dynamic subpools are arrived in primary data storage, as what data were read in increases, cold and hot data are stored respectively according to the liveness of data, data access is directly completed in SLC dynamic subpools, so as to improve the data reading speed of TLC chips.
Description
Technical field
The application is related to solid state hard disc technical field of memory, more particularly to a kind of solid state hard disc is classified storage method and is
System.
Background technology
Solid state hard disc is manufactured hard disk with solid-state electronic storage chip array, by control unit and memory cell
(FLASH chip, dram chip) forms.Solid state hard disc is wherein divided into by TLC (Triple- according to different FLASH chips again
Level Cell, three-layer type storage) solid state hard disc and SLC (Single-Level Cell, single-layer type storage) solid state hard disc.By
In TLC chips compared with SLC chips, it is possible to achieve more Large Copacity and workmanship is cheap, therefore to be widely used in solid-state hard for TLC chips
Disk.
No matter but SLC chips are all far above TLC chips in terms of reading and writing data speed and service life, and solid-state is hard
The data of disk memory storage, not all data all have identical use value, and over time, some data are by frequency
Numerous access, it is referred to as " heat " data, some data are seldom accessed, are referred to as " cold " data, according to " cold " " heat " attribute of data.
Conventional method can simulate a SLC buffer area in the memory space of TLC chips, and the dsc data in solid state hard disc is present
In SLC buffer areas, when business is not busy or during SLC buffer area deficiencies, then the partial data in SLC buffer areas moved into TLC
In memory block.
The above method is using SLC buffer areas as overall caching, when starting to read and write data, can rely on SLC read-write speed
Spend the operation of the characteristics of fast completion data.With increasing, it is necessary to which the data cached are more and more for portfolio, it is necessary to SLC
The data of buffer area are constantly removed.To vacate more spatial caches.Once data constantly write, beyond the sky of caching
Between, then partial data will rely on TLC chips itself to handle, and the ability of such processing data has been then restored to the true of TLC chips
It is horizontal.
The content of the invention
This application provides a kind of solid state hard disc classification storage method and system, to solve TLC chip-counts in the prior art
According to read or write speed it is slow the problem of.
In order to solve the above-mentioned technical problem, the embodiment of the present application discloses following technical scheme:
In a first aspect, the embodiment of the present application provides a kind of solid state hard disc classification storage method, methods described includes:Will
TLC chip-storeds region division is SLC dynamics subpool and TLC dynamic subpools;According to default data monitoring granularity
Monitor the data block liveness in SLC dynamics subpool and TLC the dynamic subpool;If SLC dynamics is deposited
The data activity degree of data block meets data compared with default data activity degree threshold value in storage area and TLC dynamic subpools
The condition of migration, then the data block in the SLC dynamics subpool and TLC dynamic subpools is migrated.
It is described to draw TLC chip-storeds region with reference in a first aspect, in first aspect in the first possible implementation
Being divided into SLC dynamics subpool and TLC dynamic subpools includes:Obtain the total memory capacity of TLC chips;Distribute SLC dynamics
For subpool as dsc data memory block, TLC dynamics subpool is cold data memory block, wherein SLC dynamic son storages
Area's capacity is more than the TLC dynamics subpool capacity.
The first possible implementation with reference to first aspect, in second of possible implementation of first aspect, institute
State the data block work monitored according to default data monitoring granularity in the SLC dynamics subpool and TLC dynamic subpools
Jerk, including:SLC dynamics subpool and TLC the dynamic subpool is counted respectively according to default data monitoring granularity
In data block;The liveness of the data block is obtained according to the access frequency of data block.
With reference to second of possible implementation of first aspect or first aspect, the third possible realization in first aspect
In mode, the data monitoring granularity is set according to the mean data transfer amount of data transmission interface.
With reference to first aspect or the possible implementation any of which of the first to two kind of first aspect, in first aspect
In 4th kind of mode in the cards, if data block in the SLC dynamics subpool and TLC dynamic subpools
Data activity degree meets the condition of Data Migration compared with default data activity degree threshold value, then stores SLC dynamic
The data block in area and TLC dynamic subpools is migrated, including:By the SLC dynamics subpool and TLC dynamics
The data activity degree of data block is compared with default data activity degree threshold value in subpool;If the SLC dynamics son storage
The first data block data liveness is less than the default data activity degree threshold value in area, then is defined as first data block
Cold data block, by first data block migration to the TLC dynamics subpool;If in the TLC dynamics subpool
Second data block data liveness is more than or equal to the default data activity degree threshold value, then determines second data block
For hot data block, by second data block migration to the SLC dynamics subpool.
With reference to the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation of first aspect, such as
TLC chips write-in data are more described in fruit, then reduce the capacity of the SLC dynamics subpool, and the capacity of reduction is distributed
To the TLC dynamics subpool.
Second aspect, the embodiment of the present application provide a kind of solid state hard disc hierarchical stor, and the system includes:Distribution
Module, for being SLC dynamics subpool and TLC dynamic subpools by TLC chip-storeds region division;Monitoring module, use
Lived in monitoring the data block in the SLC dynamics subpool and TLC dynamic subpools according to default data monitoring granularity
Jerk;Processing module, if the data activity for data block in the SLC dynamics subpool and TLC dynamic subpools
Degree meets the condition of Data Migration, then by the SLC dynamics subpool and TLC compared with default data activity degree threshold value
The data block in dynamic subpool is migrated.
With reference to second aspect, in second aspect in the first possible implementation, the distribute module includes:First obtains
Unit is taken, user obtains the total memory capacity of TLC chips;Allocation unit, for distributing SLC dynamic subpools as dsc data
Memory block, TLC dynamics subpool is cold data memory block, wherein the SLC dynamics subpool capacity moves more than the TLC
State subpool capacity.
The first possible implementation with reference to second aspect, in second of possible implementation of second aspect, institute
Stating monitoring module includes:Statistic unit, for counting the SLC dynamics subpool respectively according to default data monitoring granularity
With the data block in TLC dynamic subpools;Second acquisition unit, for obtaining the data according to the access frequency of data block
The liveness of block.
With reference to second aspect or the possible implementation any of which of the first to two kind of first aspect, in first aspect
In the third mode in the cards, the processing module includes:Comparing unit, for by the SLC dynamics subpool and
The data activity degree of data block is compared with default data activity degree threshold value in TLC dynamic subpools;Data migration unit, use
If the first data block data liveness is less than the default data activity degree threshold value in the SLC dynamics subpool,
First data block is then defined as cold data block, by first data block migration to the TLC dynamics subpool;Such as
The second data block data liveness is more than or equal to the default data activity degree threshold in TLC dynamics subpool described in fruit
Value, then be defined as hot data block by second data block, and second data block migration is stored to SLC dynamic
Area.
From above technical scheme, a kind of solid state hard disc classification storage method and system bag that the embodiment of the present application provides
Include:It is SLC dynamics subpool and TLC dynamic subpools by TLC chip-storeds region division;According to default data monitoring
Granularity monitors the data block liveness in the SLC dynamics subpool and TLC dynamic subpools;If the SLC dynamics
The data activity degree of data block meets compared with default data activity degree threshold value in subpool and TLC dynamic subpools
The condition of Data Migration, then the data block in the SLC dynamics subpool and TLC dynamic subpools is moved
Move.Divided by the way that TLC chips are entered into Mobile state, realize the flexibility of TLC chip stores datas, the data initially read in are direct
SLC dynamic subpools are stored, as what data were read in increases, according to the liveness of data monitoring granularity monitoring data, from
And the storage respectively to cold and hot data is realized, the access of data is directly completed in SLC dynamic subpools, so as to improve
The data reading speed of TLC chips.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme of the application, letter will be made to the required accompanying drawing used in embodiment below
Singly introduce, it should be apparent that, for those of ordinary skills, without having to pay creative labor,
Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart that the solid state hard disc that the application provides is classified storage method one embodiment;
Fig. 2 is a kind of structural representation for TLC chip-storeds distribution that the embodiment of the present application provides;
Fig. 3 is the structural representation of solid state hard disc hierarchical stor one embodiment that the application provides.
Embodiment
Referring to Fig. 1, the flow chart of the solid state hard disc classification storage method one embodiment provided for the application.Such as Fig. 1 institutes
Show, methods described includes:
S101, it is SLC dynamics subpool and TLC dynamic subpools by TLC chip-storeds region division.
TLC chips are relatively large compared to the memory capacity of SLC chips, but TLC chip data reading speeds are slower, erasing
Number is few, so if repeatedly wiping the data in TLC chips, then can influence the service life of TLC chips.The application
The storage region simulation of TLC chips is divided into two independent dynamic areas by embodiment:SLC dynamics subpool and TLC are moved
State subpool.Wherein SLC dynamics subpool is for storing the dsc data in solid state hard disc process operation data, and TLC is moved
State subpool is for storing the cold data that need not temporarily access.
The embodiment of the present application by the storage region of TLC chips in solid state hard disc in order to carry out above-mentioned division, it is necessary first to
Get the total memory capacity of TLC chips.After obtaining successfully, the memory space of TLC chips is divided.As shown in Fig. 2 this
Apply distributing SLC dynamics subpool to more space in embodiment, can so ensure if same time dsc data compared with
When more so that the ability of TLC chip processing datas can still reach the level of SLC chip processing datas.A for example, 100G
The solid state hard disc of capacity, distribute SLC dynamics subpool therein to 60G initial capacities, correspondingly, TLC dynamic subpools
Obtain 40G initial capacities.
It is pointed out that above-mentioned is with a default granularity of division, the division grain to the division of TLC chip-storeds space
Degree is adjustable.And monitoring and migration of the later stage to data are related to the granularity of division.It is and preferential in the application
The initial capacities of SLC dynamic subpools is distributed more, can also be divided according to the ratio for depositing data in practice equivalent
Or the initial capacity of TLC dynamic subpools provides more capacity, does not limit specifically.
S102, monitored according to default data monitoring granularity in the SLC dynamics subpool and TLC dynamic subpools
Data block liveness.
SLC dynamics subpool and the TLC dynamic is counted by default data monitoring granularity respectively in the present embodiment
Data block in subpool.Data block in SLC dynamics subpool and TLC the dynamic subpool is according to S101
What middle granularity of division matched.The length of wherein data monitoring granularity is also configured as the multiple proportion of granularity of division.It is such as above-mentioned
Granularity of division be 4KB, then the data monitoring granularity in the application is arranged to 4KB, 8KB, 16KB equal length, and such setting can
During ensureing to migrate data, the integrality of data is kept.
After data monitoring granularity determines in the application, it can not be modified during data monitoring, if needed
Change, then need to stop data monitoring, then reset the size of data monitoring granularity.Wherein data monitoring granule size
Set according to the mean data transfer amount of data transmission interface, such as the mean data transfer amount of data transmission interface is smaller
When, using less data monitoring granularity;Correspondingly, when the mean data transfer amount of data transmission interface is larger, use is larger
Data monitoring granularity.
And the data monitoring in the present embodiment can set the monitoring period, to writing and reading within the specified time
Data are counted, and obtain the period of main business, and the above-mentioned period is defined as into data monitoring section.For example, main business is
9 points daily of morning, 5 points to afternoon, then set the data monitoring since 9 points of every morning, stops data prison during at 5 in afternoon
Control.But if running into special circumstances, it is necessary to when continuing monitoring, monitor duration is accordingly extended, specifically repeated no more.
S103, if in the SLC dynamics subpool and TLC dynamic subpools the data activity degree of data block with it is pre-
If data activity degree threshold value compare, meet the condition of Data Migration, then by the SLC dynamics subpool and TLC dynamic son
The data block in memory block is migrated.
By the data monitoring in S102, the work to the data block in SLC dynamics subpool and TLC dynamic subpools
Jerk is obtained, and the liveness for the data block that Liang Ge areas are got is ranked up respectively, and sortord can be descending
Arrangement or ascending order arrangement.Then according to putting in order, the data activity degree of the data block of either end and default data are selected
Liveness threshold value is compared.If ascending order arranges, then the data activity degree for being initially is minimum, it is assumed that the data block
Data activity angle value has been above the default data activity degree threshold value, then illustrates that all data blocks should be stored in SLC and move
State subpool.If above-mentioned data block is located at SLC dynamic subpools, it need not be operated, if being stored in TLC
In dynamic subpool, then above-mentioned data block is all moved in SLC dynamic subpools.Correspondingly, if above-mentioned number
The default data activity degree threshold value is below according to the data activity degree of block, and above-mentioned data block is stored in TLC dynamic
In memory block, then remain stationary as.On the contrary, if above-mentioned data block is stored in SLC dynamic subpools, by above-mentioned data
Block is all moved in TLC dynamic subpools.Above-mentioned is two kinds of extreme situations, wherein certainly existing SLC dynamic son storages
The liveness that partial data block in area be present is less than default data activity degree threshold value, part be present in TLC dynamic subpools
The liveness of data block is higher than default data activity degree threshold value, is now migrated the data block for meeting transition condition i.e.
Can.
For example, preset data liveness threshold value is 1000 in the present embodiment, SLC dynamic son storages are monitored in data monitoring
The liveness that data block is there are in area is less than 1000, and monitors to there are data block in TLC dynamic subpools
Liveness be above 1000, now by data block migration of the data activity degree in SLC dynamic subpools less than 1000 to TLC
In dynamic subpool, data block migration of the data activity degree in TLC dynamic subpools higher than 1000 is deposited to SLC dynamic
In storage area.If there is the data block for not having needs to migrate in TLC dynamic subpools, but deposited in SLC dynamic subpools
Need to move to TLC dynamic subpools in substantial amounts of data block, in order to prevent the memory capacity of TLC dynamic subpools not
Foot, then be adjusted automatically in SLC dynamics subpool and TLC dynamic subpools, and SLC dynamics subpool reduces part and deposited
Distribute to TLC dynamic subpools in storage space.
From above-described embodiment as can be seen that a kind of solid state hard disc classification storage method that the embodiment of the present application provides includes:
It is SLC dynamics subpool and TLC dynamic subpools by TLC chip-storeds region division;According to default data monitoring grain
Degree monitors the data block liveness in the SLC dynamics subpool and TLC dynamic subpools;If SLC dynamics
The data activity degree of data block meets number compared with default data activity degree threshold value in memory block and TLC dynamic subpools
According to the condition of migration, then the data block in the SLC dynamics subpool and TLC dynamic subpools is migrated.
Divided by the way that TLC chips are entered into Mobile state, realize the flexibility of TLC chip stores datas, the data initially read in directly are deposited
SLC dynamic subpools are stored up, as what data were read in increases, according to the liveness of data monitoring granularity monitoring data, so that
The storage respectively to cold and hot data is realized, the access of data is directly completed in SLC dynamic subpools, so as to improve TLC
The data reading speed of chip..
Corresponding with a kind of embodiment for solid state hard disc classification storage method that the application provides, present invention also provides one
The embodiment of kind solid state hard disc hierarchical stor.
Referring to Fig. 3, the structural representation of one embodiment of the solid state hard disc hierarchical stor provided for the application, institute
The system of stating includes:Distribute module 201, monitoring module 202 and processing module 203.The distribute module 201, for by TLC chips
Storage region is divided into SLC dynamics subpool and TLC dynamic subpools;The monitoring module 202, for according to default
Data monitoring granularity monitors the data block liveness in the SLC dynamics subpool and TLC dynamic subpools;The processing
Module 203, if for data block in the SLC dynamics subpool and TLC dynamic subpools data activity degree with it is pre-
If data activity degree threshold value compare, meet the condition of Data Migration, then by the SLC dynamics subpool and TLC dynamic son
The data block in memory block is migrated.
The distribute module 201 includes:First acquisition unit and allocation unit, wherein:The first acquisition unit, user
Obtain the total memory capacity of TLC chips.The allocation unit, for distributing SLC dynamics subpool as dsc data memory block,
TLC dynamics subpool is cold data memory block, wherein the SLC dynamics subpool capacity is deposited more than TLC dynamics
Storage area capacity.
The monitoring module 201 includes:Statistic unit and second acquisition unit, wherein:The statistic unit, for according to
Default data monitoring granularity counts the data block in SLC dynamics subpool and TLC the dynamic subpool respectively;It is described
Second acquisition unit, for obtaining the liveness of the data block according to the access frequency of data block.
The processing module includes:Comparing unit and data migration unit, wherein:The comparing unit, for by described in
The data activity degree of data block and default data activity degree threshold value ratio in SLC dynamics subpool and TLC dynamic subpools
Compared with;The data migration unit, if be less than for the first data block data liveness in the SLC dynamics subpool described
Default data activity degree threshold value, then first data block is defined as cold data block, first data block migration is arrived
The TLC dynamics subpool;If the second data block data liveness is more than or equal to institute in the TLC dynamics subpool
Default data activity degree threshold value is stated, then second data block is defined as hot data block, by second data block migration
To the SLC dynamics subpool.
From above-described embodiment as can be seen that present embodiments providing a kind of solid state hard disc hierarchical stor includes:Distribution
Module 201, monitoring module 202 and processing module 203.The distribute module 201, TLC chip-stored region divisions are moved for SLC
State subpool and TLC dynamic subpools.The monitoring module 202, the SLC is monitored according to default data monitoring granularity
Data block liveness in dynamic subpool and TLC dynamic subpools.The processing module 203, if SLC dynamics
The data activity degree of data block meets compared with default data activity degree threshold value in subpool and TLC dynamic subpools
The condition of Data Migration, then the data block in the SLC dynamics subpool and TLC dynamic subpools is moved
Move.TLC chips are entered into Mobile state by distribute module 201 to divide, realize the flexibility of TLC chip stores datas, initial read
The data entered are directly stored in SLC dynamic subpools, and as what data were read in increases, monitoring module 202 is according to data monitoring
The liveness of granularity monitoring data, processing module 203, the storage respectively to cold and hot data is realized, the access of data is directly in SLC
Completed in dynamic subpool, so as to improve the data reading speed of TLC chips.
In the specific implementation, the application also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can store
There is program, the program may include the part or all of step in each embodiment for the method for calling that the application provides when performing.Institute
The storage medium stated can be magnetic disc, CD, read-only memory (English:Read-only memory, referred to as:ROM) or with
Machine storage memory (English:Random access memory, referred to as:RAM) etc..
It is required that those skilled in the art can be understood that the technology in the embodiment of the present application can add by software
The mode of general hardware platform realize.Based on such understanding, the technical scheme in the embodiment of the present application substantially or
Say that the part to be contributed to prior art can be embodied in the form of software product, the computer software product can be deposited
Storage is in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are causing a computer equipment (can be with
Be personal computer, server, either network equipment etc.) perform some part institutes of each embodiment of the application or embodiment
The method stated.
In this specification between each embodiment identical similar part mutually referring to.Implement especially for system
For example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring in embodiment of the method
Explanation.
Above-described the application embodiment does not form the restriction to the application protection domain.
Claims (10)
1. a kind of solid state hard disc is classified storage method, it is characterised in that methods described includes:
It is SLC dynamics subpool and TLC dynamic subpools by TLC chip-storeds region division;
Data block in the SLC dynamics subpool and TLC dynamic subpools is monitored according to default data monitoring granularity
Liveness;
If the data activity degree of data block and default data in the SLC dynamics subpool and TLC dynamic subpools
Liveness threshold value compares, and meets the condition of Data Migration, then by the SLC dynamics subpool and TLC dynamic subpools
The data block migrated.
2. solid state hard disc according to claim 1 is classified storage method, it is characterised in that described by TLC chip-storeds area
Domain, which is divided into SLC dynamics subpool and TLC dynamic subpools, to be included:
Obtain the total memory capacity of TLC chips;
SLC dynamics subpool is distributed as dsc data memory block, TLC dynamics subpool is cold data memory block, wherein institute
State SLC dynamic subpools capacity and be more than the TLC dynamics subpool capacity.
3. solid state hard disc according to claim 2 is classified storage method, it is characterised in that described to be supervised according to default data
The data block liveness in the granularity monitoring SLC dynamics subpool and TLC dynamic subpools is controlled, including:
The number in SLC dynamics subpool and TLC the dynamic subpool is counted respectively according to default data monitoring granularity
According to block;
The liveness of the data block is obtained according to the access frequency of data block.
4. the solid state hard disc classification storage method according to claim 1 or 3, it is characterised in that the data monitoring granularity
Set according to the mean data transfer amount of data transmission interface.
5. the solid state hard disc classification storage method according to claim any one of 1-3, it is characterised in that if described
The data activity degree of data block and default data activity degree threshold value ratio in SLC dynamics subpool and TLC dynamic subpools
Compared with meeting the condition of Data Migration, then by the data block in the SLC dynamics subpool and TLC dynamic subpools
Migrated, including:
The data activity degree of data block in the SLC dynamics subpool and TLC dynamic subpools and default data are lived
Jerk threshold value compares;
If the first data block data liveness is less than the default data activity degree threshold in the SLC dynamics subpool
Value, then be defined as cold data block by first data block, and first data block migration is stored to TLC dynamic
Area;
If the second data block data liveness is more than or equal to the default data activity in the TLC dynamics subpool
Threshold value is spent, then second data block is defined as hot data block, second data block migration is deposited to SLC dynamics
Storage area.
6. solid state hard disc according to claim 5 is classified storage method, it is characterised in that if the TLC chips write
Data are more, then reduce the capacity of the SLC dynamics subpool, the capacity of reduction is distributed into TLC dynamics and deposited
Storage area.
7. a kind of solid state hard disc hierarchical stor, it is characterised in that the system includes:
Distribute module, for being SLC dynamics subpool and TLC dynamic subpools by TLC chip-storeds region division;
Monitoring module, stored for monitoring SLC dynamics subpool and TLC dynamic according to default data monitoring granularity
Data block liveness in area;
Processing module, if the data activity degree for data block in the SLC dynamics subpool and TLC dynamic subpools
Compared with default data activity degree threshold value, meet the condition of Data Migration, then move the SLC dynamics subpool and TLC
The data block in state subpool is migrated.
8. solid state hard disc hierarchical stor according to claim 7, it is characterised in that the distribute module includes:
First acquisition unit, user obtain the total memory capacity of TLC chips;
Allocation unit, for distributing SLC dynamics subpool as dsc data memory block, TLC dynamics subpool is cold data
Memory block, wherein the SLC dynamics subpool capacity is more than the TLC dynamics subpool capacity.
9. solid state hard disc hierarchical stor according to claim 8, it is characterised in that the monitoring module includes:
Statistic unit, for counting SLC dynamics subpool and TLC dynamic respectively according to default data monitoring granularity
Data block in memory block;
Second acquisition unit, for obtaining the liveness of the data block according to the access frequency of data block.
10. according to the solid state hard disc hierarchical stor described in claim any one of 7-9, it is characterised in that the processing mould
Block includes:
Comparing unit, for by the data activity degree of data block in the SLC dynamics subpool and TLC dynamic subpools with
Default data activity degree threshold value compares;
Data migration unit, if be less than for the first data block data liveness in the SLC dynamics subpool described pre-
If data activity degree threshold value, then first data block is defined as cold data block, by first data block migration to institute
State TLC dynamic subpools;If the second data block data liveness is more than or equal to described in the TLC dynamics subpool
Default data activity degree threshold value, then second data block is defined as hot data block, second data block migration is arrived
The SLC dynamics subpool.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710687271.2A CN107450858A (en) | 2017-08-11 | 2017-08-11 | A kind of solid state hard disc classification storage method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710687271.2A CN107450858A (en) | 2017-08-11 | 2017-08-11 | A kind of solid state hard disc classification storage method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107450858A true CN107450858A (en) | 2017-12-08 |
Family
ID=60492119
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710687271.2A Pending CN107450858A (en) | 2017-08-11 | 2017-08-11 | A kind of solid state hard disc classification storage method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107450858A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108228478A (en) * | 2018-01-05 | 2018-06-29 | 湖南国科微电子股份有限公司 | A kind of raising method and device of SSD write performances |
CN108710507A (en) * | 2018-02-11 | 2018-10-26 | 深圳忆联信息系统有限公司 | A kind of method of SSD master dormants optimization |
CN109521961A (en) * | 2018-11-13 | 2019-03-26 | 深圳忆联信息系统有限公司 | A kind of method and its system promoting solid state disk read-write performance |
CN110377233A (en) * | 2019-07-22 | 2019-10-25 | 深圳忆联信息系统有限公司 | SSD reading performance optimization method, device, computer equipment and storage medium |
CN110427158A (en) * | 2019-07-29 | 2019-11-08 | 浙江大华技术股份有限公司 | The wiring method and solid state hard disk of solid state hard disk |
CN110704456A (en) * | 2018-06-22 | 2020-01-17 | 中兴通讯股份有限公司 | Method and device for updating business rules and computer readable storage medium |
CN110908608A (en) * | 2019-11-22 | 2020-03-24 | 苏州浪潮智能科技有限公司 | Storage space saving method and system |
CN110968524A (en) * | 2019-12-09 | 2020-04-07 | Oppo广东移动通信有限公司 | Data storage control method, device, storage medium and electronic device |
CN111026674A (en) * | 2019-11-29 | 2020-04-17 | 维沃移动通信有限公司 | Data storage method and electronic equipment |
CN111309642A (en) * | 2020-02-12 | 2020-06-19 | 合肥康芯威存储技术有限公司 | Memory, control method thereof and memory system |
CN111858604A (en) * | 2020-07-24 | 2020-10-30 | 平安证券股份有限公司 | Data storage method and device, electronic equipment and storage medium |
CN112527208A (en) * | 2020-12-21 | 2021-03-19 | 江苏国科微电子有限公司 | Data copying method, device, system and medium |
WO2022111041A1 (en) * | 2020-11-27 | 2022-06-02 | 苏州浪潮智能科技有限公司 | Method and device for writing data into solid-state drive |
WO2023045483A1 (en) * | 2021-09-23 | 2023-03-30 | 华为技术有限公司 | Storage device and data storage method and storage system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130254458A1 (en) * | 2012-03-26 | 2013-09-26 | Michael H. Pittelko | Single-level cell and multi-level cell hybrid solid state drive |
CN106843762A (en) * | 2017-01-17 | 2017-06-13 | 北京联想核芯科技有限公司 | The method and solid state hard disc of managing storage area |
CN106873912A (en) * | 2017-02-16 | 2017-06-20 | 郑州云海信息技术有限公司 | The dynamic partition storage method and device, system of TLC chip solid state hard discs |
-
2017
- 2017-08-11 CN CN201710687271.2A patent/CN107450858A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130254458A1 (en) * | 2012-03-26 | 2013-09-26 | Michael H. Pittelko | Single-level cell and multi-level cell hybrid solid state drive |
CN106843762A (en) * | 2017-01-17 | 2017-06-13 | 北京联想核芯科技有限公司 | The method and solid state hard disc of managing storage area |
CN106873912A (en) * | 2017-02-16 | 2017-06-20 | 郑州云海信息技术有限公司 | The dynamic partition storage method and device, system of TLC chip solid state hard discs |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108228478A (en) * | 2018-01-05 | 2018-06-29 | 湖南国科微电子股份有限公司 | A kind of raising method and device of SSD write performances |
CN108710507A (en) * | 2018-02-11 | 2018-10-26 | 深圳忆联信息系统有限公司 | A kind of method of SSD master dormants optimization |
CN108710507B (en) * | 2018-02-11 | 2021-01-12 | 深圳忆联信息系统有限公司 | SSD host dormancy optimization method |
CN110704456A (en) * | 2018-06-22 | 2020-01-17 | 中兴通讯股份有限公司 | Method and device for updating business rules and computer readable storage medium |
CN109521961A (en) * | 2018-11-13 | 2019-03-26 | 深圳忆联信息系统有限公司 | A kind of method and its system promoting solid state disk read-write performance |
CN109521961B (en) * | 2018-11-13 | 2021-10-26 | 深圳忆联信息系统有限公司 | Method and system for improving read-write performance of solid state disk |
CN110377233A (en) * | 2019-07-22 | 2019-10-25 | 深圳忆联信息系统有限公司 | SSD reading performance optimization method, device, computer equipment and storage medium |
CN110377233B (en) * | 2019-07-22 | 2022-03-29 | 深圳忆联信息系统有限公司 | SSD (solid State disk) reading performance optimization method and device, computer equipment and storage medium |
CN110427158A (en) * | 2019-07-29 | 2019-11-08 | 浙江大华技术股份有限公司 | The wiring method and solid state hard disk of solid state hard disk |
CN110427158B (en) * | 2019-07-29 | 2023-06-20 | 浙江华忆芯科技有限公司 | Writing method of solid state disk and solid state disk |
CN110908608A (en) * | 2019-11-22 | 2020-03-24 | 苏州浪潮智能科技有限公司 | Storage space saving method and system |
CN111026674A (en) * | 2019-11-29 | 2020-04-17 | 维沃移动通信有限公司 | Data storage method and electronic equipment |
CN110968524A (en) * | 2019-12-09 | 2020-04-07 | Oppo广东移动通信有限公司 | Data storage control method, device, storage medium and electronic device |
CN111309642A (en) * | 2020-02-12 | 2020-06-19 | 合肥康芯威存储技术有限公司 | Memory, control method thereof and memory system |
CN111309642B (en) * | 2020-02-12 | 2023-08-08 | 合肥康芯威存储技术有限公司 | Memory, control method thereof and memory system |
CN111858604A (en) * | 2020-07-24 | 2020-10-30 | 平安证券股份有限公司 | Data storage method and device, electronic equipment and storage medium |
CN111858604B (en) * | 2020-07-24 | 2022-11-04 | 平安证券股份有限公司 | Data storage method and device, electronic equipment and storage medium |
WO2022111041A1 (en) * | 2020-11-27 | 2022-06-02 | 苏州浪潮智能科技有限公司 | Method and device for writing data into solid-state drive |
CN112527208A (en) * | 2020-12-21 | 2021-03-19 | 江苏国科微电子有限公司 | Data copying method, device, system and medium |
WO2023045483A1 (en) * | 2021-09-23 | 2023-03-30 | 华为技术有限公司 | Storage device and data storage method and storage system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107450858A (en) | A kind of solid state hard disc classification storage method and system | |
CN107885456B (en) | Reducing conflicts for IO command access to NVM | |
US10241909B2 (en) | Non-volatile memory device | |
CN104572478B (en) | Data access method and data access device | |
TWI676992B (en) | Method and apparatus for writing stored data in a flash memory based storage medium | |
CN103608782B (en) | Selective data storage in LSB page face and the MSB page | |
CN103399713B (en) | The data buffering method of balance dynamic data attemper performance and solid-state disk service life | |
CN109669640B (en) | Data storage method, device, electronic equipment and medium | |
US20220326872A1 (en) | Method for selecting a data block to be collected in gc and storage device thereof | |
CN103914516A (en) | Method and system for layer-management of storage system | |
CN110663019A (en) | File system for Shingled Magnetic Recording (SMR) | |
CN105808156A (en) | Method for writing data into solid state drive and solid state drive | |
KR20120030137A (en) | Memory system having persistent garbage collection | |
CN104866428A (en) | Data access method and data access device | |
US11635901B2 (en) | Data storage device, and non-volatile memory control method | |
CN111930643B (en) | Data processing method and related equipment | |
CN107908571A (en) | A kind of method for writing data, flash memory device and storage device | |
CN107533435A (en) | The distribution method and storage device of memory space | |
CN104199784A (en) | Data migration method and device based on hierarchical storage | |
US20060047493A1 (en) | Memory management to enable memory deep power down mode in general computing systems | |
CN109960471A (en) | Date storage method, device, equipment and storage medium | |
CN104111896A (en) | Virtual memory management method and virtual memory management device for mass data processing | |
US10073851B2 (en) | Fast new file creation cache | |
CN107885667B (en) | Method and apparatus for reducing read command processing delay | |
DE112020005096T5 (en) | WEIGHTING OF READ COMMANDS TO ZONES IN STORAGE DEVICES |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171208 |