CN108845770A - Reduce method, apparatus and computer equipment that SSD writes amplification - Google Patents
Reduce method, apparatus and computer equipment that SSD writes amplification Download PDFInfo
- Publication number
- CN108845770A CN108845770A CN201810651386.0A CN201810651386A CN108845770A CN 108845770 A CN108845770 A CN 108845770A CN 201810651386 A CN201810651386 A CN 201810651386A CN 108845770 A CN108845770 A CN 108845770A
- Authority
- CN
- China
- Prior art keywords
- data
- write
- several
- chained list
- ssd
- 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/0614—Improving the reliability of storage systems
- G06F3/0616—Improving the reliability of storage systems in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]
-
- 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/064—Management of blocks
-
- 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/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
The present invention relates to method, apparatus and computer equipment that reduction SSD writes amplification, this method includes several being arranged points are written;Classify to the data of caching chained list tail portion;Sorted data are written in different write-in points.Point is written by the way that several are arranged in the present invention, and more carefully cold and hot degree is done to cold data in caching and is divided, obtain the cold data of several classifications, the data of similar cold and hot degree are write in the corresponding flash block of same write-in point, cold data is written to the mode of flash memory in optimization caching, the triggering for reducing garbage reclamation effectively reduces and writes amplification, extends the service life of flash memory.
Description
Technical field
The present invention relates to write operation of solid state hard disk processing methods, and more specifically referring to, which reduces SSD, writes the method for amplification, dress
It sets and computer equipment.
Background technique
In solid state hard disk (i.e. SSD), the data that host is initiated first are buffered in DRAM, and the management strategy of DRAM needs to protect
The consistency of card data is eventually written that is, if subsequent host has issued the data of same logical address (i.e. LBA) to DRAM again
The data of storage medium (mainstream medium is Nand Flash) are necessary for the data that last time host issues;If host issues
The order for reading the LBA is issued after the data to DRAM of multiple identical LBA, then the data that SSD returns to host also must be most
The data of write-once afterwards.
Under data center, enterprise-level application scene, host can frequently issue some active LBA, i.e., certain LBA can quilt
Frequent manifolding, these active LBA and some cold datas are sent to SSD together, in existing caching technology, with lru algorithm by LBA
Information and corresponding data are stored in a manner of chained list, such as Fig. 1 and Fig. 2, after being filled with, by most hot data (this part number
According to probably being made carbon copies by host) retain in the buffer, other LBA datas are written in flash memory as cold data, these are counted
The probability is relatively small according to being replicated, and the probability of garbage reclamation mechanism triggering is also small, and remaining at most use recently (is located at chain
In gauge outfit) LBA will stay in the buffer, because of the maximum probability that they are replicated in the future, once it really hits in the future,
Data cover is then carried out in the buffer, cold and hot data have roughly been isolated on cache way, can reduce the probability of garbage reclamation,
Reduce write method.
Existing caching detailed process is as follows:LBA information and corresponding data are stored using chained list mode, as shown in figure 3, this
Sample is easy the position of LBA in change caching, and for example buffer memory capacity is 10 LBA, and host has first initiated 6 LBA, has sequentially been
LBA8, LBA4, LBA3, LBA7, LBA0, LBA1, when SSD firmware handle each LBA, can traverse the LBA cached in chained list, such as
Fruit occurs hit and then carries out data cover and migrate corresponding LBA to chained list head, and LBA is directly otherwise hung over linked list head
Portion.All there is no hit situations by this 6 LBA, and finally position is as shown in Figure 3 in chained list.LBA0 and LBA7 is host side
Enliven LBA, i.e. the LBA that often reads and writes of host.Then host initiate 6 LBA, be sequentially LBA5, LBA2, LBA6, LBA0,
LBA7, LBA9, LBA5, LBA2 and LBA6 do not hit caching, and are latest datas, they are directly hung over chained list head,
As shown in Figure 4;LBA0 and LBA7 hit caching, then move to chained list head from origin-location for them, as shown in Figure 5;LBA9
Caching is not hit, it is hung over into chained list head, as shown in Figure 6;Since buffer memory capacity is 10 LBA, at this point, being shown in Fig. 6
Control caching expire, brush caching mechanism is triggered, and chained list head caching is likely to be to enliven LBA, so needs
A part of data on chained list head are remained, it is assumed that retaining 30 percent, (numerical value can be flexible according to actual scene
Be arranged) data, i.e. 3 LBA cache shape then 7 LBA and corresponding data of chained list tail portion need to write in flash memory later
State such as Fig. 7.It can be seen that staying LBA in the buffer in Fig. 7 is the data being at most written recently, that is, LBA is enlivened, they are replicated
The probability data that are also the largest, and have been written into flash memory be at least written into recently, the subsequent probability being replicated
It is also minimum, so the probability of triggering garbage reclamation is also low.But the technology uniformly treats as the data for caching chained list tail portion
Cold data is write in flash block, not enough finely, as shown in figure 8, if the cold and hot degree gap of these data is bigger, such as
The data of host write-in can be divided into five grades by cold and hot degree, and gear is higher, and data are hotter, then the prior art can only be handled most
The N file data of heat, remaining 5-N file data is written in identical flash block, such as Fig. 8, then the flash block is also easier to occur
The case where partial invalidity page, i.e. garbage reclamation mechanism, are also still easier to trigger, and still remain the problem of writing amplification.
Therefore, it is necessary to design a kind of new method, cold data is written to the mode of flash memory in optimization caching, to realize drop
Low SSD writes amplification, extends service life of flash memory.
Summary of the invention
It is an object of the invention to overcome the deficiencies of existing technologies, providing reduces method, apparatus and calculating that SSD writes amplification
Machine equipment.
To achieve the above object, the present invention uses following technical scheme:The method that SSD writes amplification is reduced, including:
Several write-in points are set;
Classify to the data of caching chained list tail portion;
Sorted data are written in different write-in points.
Its further technical solution is:The step of several write-in points are set, including step in detail below;
Several flash blocks are chosen, write-in point is formed;
The state of several write-in points is set.
Its further technical solution is:The step of classifying to the data of caching chained list tail portion, including walk in detail below
Suddenly:
Extract the data of caching chained list tail portion;
The data for caching chained list tail portion are classified according to the classifying rules of setting, obtain the data of several classifications.
Its further technical solution is:The classifying rules according to setting is divided the data for caching chained list tail portion
Class, in the step of obtaining the data of several classifications, the classifying rules includes carrying out data point according to setting several ratios
Class.
The present invention also provides the devices that reduction SSD writes amplification, include:
Write-in point setting unit, for several write-in points to be arranged;
Taxon is classified for the data to caching chained list tail portion;
Writing unit, for sorted data to be written in different write-in points.
Its further technical solution is:Said write point setting unit includes:
Module is chosen, for choosing several flash blocks, forms write-in point;
State setting module, for the state of several write-in points to be arranged.
Its further technical solution is:The taxon includes:
Data extraction module, for extracting the data of caching chained list tail portion;
The data for caching chained list tail portion are classified for the classifying rules according to setting, are obtained by classification processing module
The data of several classifications.
The present invention also provides a kind of computer equipment, including memory, processor and it is stored on the memory simultaneously
The computer program that can be run on the processor, the processor realize above-mentioned reduction when executing the computer program
The method that SSD writes amplification.
Compared with the prior art, the invention has the advantages that:The method that reduction SSD of the invention writes amplification, passes through setting
Several write-in points, and more carefully cold and hot degree is done to cold data in caching and is divided, the cold data of several classifications is obtained, by phase
It is write in the corresponding flash block of same write-in point like the data of cold and hot degree, cold data is written to the side of flash memory in optimization caching
Formula reduces the triggering of garbage reclamation, effectively reduces and writes amplification, extends the service life of flash memory.
The invention will be further described in the following with reference to the drawings and specific embodiments.
Detailed description of the invention
Fig. 1 is the schematic block diagram of the chained list of the prior art;
Fig. 2 is the schematic block diagram for retaining dsc data in the chain table cache of the prior art;
Fig. 3 is the schematic block diagram of the chain table cache of the prior art;
Fig. 4 is the schematic block diagram of LBA5 and LBA2 and LBA6 miss caching in the chain table cache of the prior art;
Fig. 5 is the schematic block diagram of LBA0 and LBA7 miss caching in the chain table cache of the prior art;
Fig. 6 is the schematic block diagram of LBA9 miss caching in the chain table cache of the prior art;
Fig. 7 be the prior art chain table cache in brush the schematic block diagram of caching;
Fig. 8 is the schematic block diagram that same flash block is written in cold data in the chain table cache of the prior art;
Fig. 9 is the schematic flow diagram for the method that the reduction SSD that the specific embodiment of the invention provides writes amplification;
Figure 10 is that the reduction SSD that the specific embodiment of the invention provides writes cold data disaggregated classification write-in flash memory in the method for amplification
Schematic block diagram;
Figure 11 is the sub-step schematic flow diagram for the method that the reduction SSD that the specific embodiment of the invention provides writes amplification;
Figure 12 is the sub-step schematic flow diagram for the method that the reduction SSD that the specific embodiment of the invention provides writes amplification;
Figure 13 is the schematic block diagram for the device that the reduction SSD that the specific embodiment of the invention provides writes amplification;
Figure 14 is the schematic block diagram for the write-in point setting unit that the specific embodiment of the invention provides;
Figure 15 is the schematic block diagram for the taxon that the specific embodiment of the invention provides;
Figure 16 is a kind of schematic block diagram for computer equipment that the specific embodiment of the invention provides.
Specific embodiment
In order to more fully understand technology contents of the invention, combined with specific embodiments below to technical solution of the present invention into
One step introduction and explanation, but not limited to this.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded
Body, step, operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment
And be not intended to limit the application.As present specification and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
The specific embodiment as shown in Fig. 9~16, reduction SSD provided in this embodiment write the method, apparatus and meter of amplification
Machine equipment is calculated, can be used in the operation that the data of host are written in solid state hard disk, realizes cold data in optimization caching
It is written to the mode of flash memory, to realize that reducing SSD writes amplification, extends service life of flash memory.
Referring to Fig. 9, Fig. 9 is the schematic flow diagram for the method that the reduction SSD that this specific embodiment provides writes amplification;Such as figure
Shown in 9, the method that SSD writes amplification, including step S101~S103 are reduced.
S101, several write-in points are set.
Referring to Fig. 10, for example, SSD firmware chooses write-in point of 3 flash blocks as 3 file datas in flash memory, often
A corresponding different flash block of write-in point, according still further to data different classes of storage into different flash blocks, in the flash block
Physical Page fails simultaneously in maximum probability, will not trigger garbage reclamation, will not generate and write amplification.
In one embodiment, as shown in figure 11, above-mentioned step S101 may include having S1011~S1012:
S1011, several flash blocks are chosen, forms write-in point;
S1012, the state that several write-in points are set.
Specifically, as the number of flash block, the value can flexibly match according to host practical business feature in actual use
It sets, that is, the number being written a little can do flexible configuration according to host practical business feature, and once set write-in point,
Then firmware needs to manage the state of good each write-in point, to ensure the writable data of each write-in point.
S102, classify to the data of caching chained list tail portion.
In one embodiment, as shown in figure 12, above-mentioned step S102 may include S1021~S1022.
S1021, the data for extracting caching chained list tail portion;
S1022, the data for caching chained list tail portion are classified according to the classifying rules of setting, obtains several classifications
Data.
Above-mentioned classifying rules includes that several ratios carry out data classification according to setting.
Specifically, for example:When host write LBA8, LBA4, LBA3, LBA7, LBA0, LBA1, LBA5, LBA2,
After LBA6, LBA0, LBA7, LBA9, in the buffer, remaining 70 percent (at this for the most dsc data of reservation 30 percent
It is 7 LBA in embodiment, may has in actual use hundreds and thousands of) it is divided into 3 grades, due to being recently most in chained list tail portion
The data used less, i.e., the coldest data, classifying rules are:From caching chained list most tail portion start 30 percent data be the 1st
File data, secondary 30 percent is the 2nd file data, and 10 be the 3rd file data again, and last 30 percent data are protected
It stays in the buffer, is not written into flash memory, as shown in Figure 10.
It is of course also possible to divide the class or classification of unexpected winner data according to other percentages, chained list tail portion will be cached
Cold data is further refined as X grades, and X write-in point is equally hewed out on flash memory, and each write-in point corresponds to different flash blocks,
Each file data when brush caching, is written to corresponding write-in point by these write-in points of SSD firmware management, thus can will be same
The data of gear (identical or approximate cold and hot degree) are written to same flash block, then Physical Page is in maximum probability in the flash block
It fails simultaneously, garbage reclamation will not be triggered, will not generate and write amplification.Depending on above-mentioned X value can be according to actual conditions.
S103, sorted data are written in different write-in points.
Expire when being cached in logical address, has then been written to the first file data in the flash block of the first write-in point, by second
File data is written in the flash block of the second write-in point, and third file data is written in the flash block of third write-in point, if write
There is the full situation of flash block in certain write-in point during entering, and SSD firmware, which is responsible for redistributing a flash block, gives the write-in point.
The method that above-mentioned reduction SSD writes amplification by the way that several write-in points are arranged, and is done cold data in caching thinner
The cold and hot degree in ground divides, and obtains the cold data of several classifications, and it is right that the data of similar cold and hot degree are write same write-in point institute
In the flash block answered, cold data is written to the mode of flash memory in optimization caching, reduces the triggering of garbage reclamation, effectively reduces
Amplification is write, the service life of flash memory is extended.
Figure 13 is please referred to, Figure 13 is the schematic block diagram for the device that the reduction SSD that this specific embodiment provides writes amplification;Such as
Shown in Figure 13, the device that SSD writes amplification is reduced, includes:
Write-in point setting unit 1, for several write-in points to be arranged.
Taxon 2 is classified for the data to caching chained list tail portion.
Writing unit 3, for sorted data to be written in different write-in points.
Specifically, as shown in figure 14, write-in point setting unit 1 includes:
Module 11 is chosen, for choosing several flash blocks, forms write-in point;
State setting module 12, for the state of several write-in points to be arranged.
In addition, as shown in figure 15, taxon 2 includes:
Data extraction module 21, for extracting the data of caching chained list tail portion;
The data for caching chained list tail portion are classified for the classifying rules according to setting, are obtained by classification processing module 22
Take the data of several classifications.
Above-mentioned reduction SSD writes the device of amplification, by the way that several write-in points are arranged, and does to cold data in caching thinner
The cold and hot degree in ground divides, and obtains the cold data of several classifications, and it is right that the data of similar cold and hot degree are write same write-in point institute
In the flash block answered, cold data is written to the mode of flash memory in optimization caching, reduces the triggering of garbage reclamation, effectively reduces
Amplification is write, the service life of flash memory is extended.
It is apparent to those skilled in the art that for convenience of description and succinctly, the drop of foregoing description
Low SSD writes the device of amplification and the specific work process of unit, can refer to corresponding processes in the foregoing method embodiment, herein
It repeats no more.
The device that above-mentioned reduction SSD writes amplification can be implemented as a kind of form of computer program, and computer program can be with
It is run in computer equipment as shown in figure 16.
Figure 16 is please referred to, Figure 16 is a kind of schematic block diagram of computer equipment provided by the embodiments of the present application.The calculating
700 equipment of machine equipment can be terminal or server.
Referring to Fig.1 6, which includes processor 720, memory and the net connected by system bus 710
Network interface 750, wherein memory may include non-volatile memory medium 730 and built-in storage 740.
The non-volatile memory medium 730 can storage program area 731 and computer program 732.The computer program 732
It is performed, processor 720 may make to execute any one and reduce the method that SSD writes amplification.
The processor 720 supports the operation of entire computer equipment 700 for providing calculating and control ability.
The built-in storage 740 provides environment for the operation of the computer program 732 in non-volatile memory medium 730, should
When computer program 732 is executed by processor 720, processor 720 may make to execute any one and reduce the side that SSD writes amplification
Method.
The network interface 750 such as sends the task dispatching of distribution for carrying out network communication.Those skilled in the art can manage
It solves, structure shown in Figure 16, only the block diagram of part-structure relevant to application scheme, is not constituted to the application side
The restriction for the computer equipment 700 that case is applied thereon, specific computer equipment 700 may include more than as shown in the figure
Or less component, perhaps combine certain components or with different component layouts.Wherein, the processor 720 is for transporting
Row program code stored in memory, to realize following steps:
Several write-in points are set;
Classify to the data of caching chained list tail portion;
Sorted data are written in different write-in points.
In one embodiment, the processor 720 is realized described for running program code stored in memory
The step of several write-in points are arranged, implements following steps:
Several flash blocks are chosen, write-in point is formed;
The state of several write-in points is set.
In one embodiment, the processor 720 is realized described for running program code stored in memory
The step of classifying to the data of caching chained list tail portion, implement following steps:
Extract the data of caching chained list tail portion;
The data for caching chained list tail portion are classified according to the classifying rules of setting, obtain the data of several classifications.
In one embodiment, the processor 720 is realized described for running program code stored in memory
In the step of classifying by the data for caching chained list tail portion according to the classifying rules of setting, obtain the data of several classifications,
The classifying rules includes that several ratios carry out data classification according to setting.
A kind of above-mentioned computer equipment by the way that several write-in points are arranged, and is done cold data in caching more carefully cold
Hot degree divides, and obtains the cold data of several classifications, and the data of similar cold and hot degree are write corresponding to same write-in point
In flash block, cold data is written to the mode of flash memory in optimization caching, reduces the triggering of garbage reclamation, effectively reduces to write and put
Greatly, the service life of flash memory is extended.
It should be appreciated that in the embodiment of the present application, processor 720 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..Wherein, general processor can be microprocessor or
Person's processor is also possible to any conventional processor etc..
It will be understood by those skilled in the art that 700 structure of computer equipment shown in Figure 16 is not constituted to computer
The restriction of equipment 700 may include perhaps combining certain components or different components than illustrating more or fewer components
Arrangement.
Those of ordinary skill in the art will appreciate that be realize above-described embodiment method in all or part of the process, be
Relevant hardware can be instructed to complete by computer program, computer program can be stored in a storage medium, this is deposited
Storage media is computer readable storage medium.In the embodiment of the present invention, which can be stored in computer system
It in storage medium, and is executed by least one processor in the computer system, to realize including as above-mentioned each reduction SSD writes
The process step of the embodiment of the method for amplification.
The computer readable storage medium can be magnetic disk, CD, USB flash disk, mobile hard disk, read-only memory (ROM, Read-
Only Memory), the various media that can store program code such as magnetic or disk.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond scope of the present application.
In several embodiments provided herein, it should be understood that disclosed reduction SSD write amplification device and
Method may be implemented in other ways.For example, the Installation practice that reduction SSD described above writes amplification is only
Schematically.For example, the division of each unit, only a kind of logical function partition, can there is other draw in actual implementation
The mode of dividing.Such as multiple units or components can be combined or can be integrated into another system, or some features can be ignored,
Or it does not execute.
Step in the embodiment of the present application method can be sequentially adjusted, merged and deleted according to actual needs.This Shen
Please the unit in embodiment device can be combined, divided and deleted according to actual needs.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, is also possible to two or more units and is integrated in one unit.It is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product,
It can store in a computer readable storage medium.Based on this understanding, the technical solution of the application substantially or
Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products
Reveal and, which is stored in a storage medium, including some instructions are with so that a computer is set
Standby (can be personal computer, terminal or the network equipment etc.) execute each embodiment the method for the application whole or
Part steps.
It is above-mentioned that technology contents of the invention are only further illustrated with embodiment, in order to which reader is easier to understand, but not
It represents embodiments of the present invention and is only limitted to this, any technology done according to the present invention extends or recreation, by of the invention
Protection.Protection scope of the present invention is subject to claims.
Claims (8)
1. reducing the method that SSD writes amplification, which is characterized in that including:
Several write-in points are set;
Classify to the data of caching chained list tail portion;
Sorted data are written in different write-in points.
2. the method that reduction SSD according to claim 1 writes amplification, which is characterized in that the step of several write-in points is arranged
Suddenly, including in detail below step;
Several flash blocks are chosen, write-in point is formed;
The state of several write-in points is set.
3. the method that reduction SSD according to claim 1 writes amplification, which is characterized in that the data of caching chained list tail portion
The step of being classified, including step in detail below:
Extract the data of caching chained list tail portion;
The data for caching chained list tail portion are classified according to the classifying rules of setting, obtain the data of several classifications.
4. the method that reduction SSD according to claim 3 writes amplification, which is characterized in that the classification gauge according to setting
In the step of then classifying by the data for caching chained list tail portion, obtain the data of several classifications, the classifying rules includes
Data classification is carried out according to several ratios are set.
5. reducing the device that SSD writes amplification, which is characterized in that include:
Write-in point setting unit, for several write-in points to be arranged;
Taxon is classified for the data to caching chained list tail portion;
Writing unit, for sorted data to be written in different write-in points.
6. the device that reduction SSD according to claim 5 writes amplification, which is characterized in that said write point setting unit packet
It has included:
Module is chosen, for choosing several flash blocks, forms write-in point;
State setting module, for the state of several write-in points to be arranged.
7. the device that reduction SSD according to claim 6 writes amplification, which is characterized in that the taxon includes:
Data extraction module, for extracting the data of caching chained list tail portion;
The data for caching chained list tail portion are classified for the classifying rules according to setting, are obtained several by classification processing module
The data of a classification.
8. a kind of computer equipment, which is characterized in that including memory, processor and be stored on the memory and can be in institute
The computer program run on processor is stated, the processor is realized when executing the computer program as in Claims 1-4
The method that reduction SSD writes amplification described in any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810651386.0A CN108845770A (en) | 2018-06-22 | 2018-06-22 | Reduce method, apparatus and computer equipment that SSD writes amplification |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810651386.0A CN108845770A (en) | 2018-06-22 | 2018-06-22 | Reduce method, apparatus and computer equipment that SSD writes amplification |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108845770A true CN108845770A (en) | 2018-11-20 |
Family
ID=64203310
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810651386.0A Pending CN108845770A (en) | 2018-06-22 | 2018-06-22 | Reduce method, apparatus and computer equipment that SSD writes amplification |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108845770A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109783023A (en) * | 2019-01-04 | 2019-05-21 | 平安科技(深圳)有限公司 | The method and relevant apparatus brushed under a kind of data |
CN109783019A (en) * | 2018-12-28 | 2019-05-21 | 上海威固信息技术股份有限公司 | A kind of data intelligence memory management method and device |
CN110515550A (en) * | 2019-08-21 | 2019-11-29 | 深圳忆联信息系统有限公司 | A kind of method and device thereof of the cold and hot data separating of SATA solid state hard disk |
CN112051964A (en) * | 2019-06-06 | 2020-12-08 | 阿里巴巴集团控股有限公司 | Data processing method and device |
CN113010091A (en) * | 2019-12-20 | 2021-06-22 | 华为技术有限公司 | Method for writing data into solid state disk, and method and device for garbage collection |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106227471A (en) * | 2016-08-19 | 2016-12-14 | 深圳大普微电子科技有限公司 | Solid state hard disc and the data access method being applied to solid state hard disc |
CN106326133A (en) * | 2015-06-29 | 2017-01-11 | 华为技术有限公司 | A storage system, a storage management device, a storage device, a mixed storage device and a storage management method |
-
2018
- 2018-06-22 CN CN201810651386.0A patent/CN108845770A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106326133A (en) * | 2015-06-29 | 2017-01-11 | 华为技术有限公司 | A storage system, a storage management device, a storage device, a mixed storage device and a storage management method |
CN106227471A (en) * | 2016-08-19 | 2016-12-14 | 深圳大普微电子科技有限公司 | Solid state hard disc and the data access method being applied to solid state hard disc |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109783019A (en) * | 2018-12-28 | 2019-05-21 | 上海威固信息技术股份有限公司 | A kind of data intelligence memory management method and device |
CN109783023A (en) * | 2019-01-04 | 2019-05-21 | 平安科技(深圳)有限公司 | The method and relevant apparatus brushed under a kind of data |
CN109783023B (en) * | 2019-01-04 | 2024-06-07 | 平安科技(深圳)有限公司 | Method and related device for data scrubbing |
CN112051964A (en) * | 2019-06-06 | 2020-12-08 | 阿里巴巴集团控股有限公司 | Data processing method and device |
CN110515550A (en) * | 2019-08-21 | 2019-11-29 | 深圳忆联信息系统有限公司 | A kind of method and device thereof of the cold and hot data separating of SATA solid state hard disk |
CN110515550B (en) * | 2019-08-21 | 2022-03-29 | 深圳忆联信息系统有限公司 | Method and device for separating cold data and hot data of SATA solid state disk |
CN113010091A (en) * | 2019-12-20 | 2021-06-22 | 华为技术有限公司 | Method for writing data into solid state disk, and method and device for garbage collection |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108845770A (en) | Reduce method, apparatus and computer equipment that SSD writes amplification | |
US20180232314A1 (en) | Method for storing data by storage device and storage device | |
CN108920096A (en) | A kind of data storage method of SSD, device, computer equipment and storage medium | |
CN103207839B (en) | Cache management method and system that track in the high-speed cache of storage is removed | |
CN112204534B (en) | Disorder processing method for scattered collection list | |
CN104145252A (en) | Adaptive cache promotions in a two level caching system | |
CN108920387A (en) | Reduce method, apparatus, computer equipment and the storage medium of read latency | |
CN107209714A (en) | The control method of distributed memory system and distributed memory system | |
CN101221537A (en) | Method and system for degrading data | |
JP2002544624A (en) | The least recently used replacement method with protection function | |
CN103377137A (en) | Method and system for deduplicating storage with enhanced frequent-block detection | |
CN103984648A (en) | Method to throttle rate of data caching for improved I/O performance | |
CN102968386B (en) | Data supply arrangement, buffer memory device and data supply method | |
CN108205473A (en) | Internal memory processing method and device, computer installation and computer readable storage medium | |
CN108984130A (en) | A kind of the caching read method and its device of distributed storage | |
US20120096213A1 (en) | Cache memory device, cache memory control method, program and integrated circuit | |
CN109213693A (en) | Memory management method, storage system and computer program product | |
CN110968529A (en) | Method and device for realizing non-cache solid state disk, computer equipment and storage medium | |
CN109947355A (en) | For Dynamic Execution memory data collection storage device and operating method | |
CN107665098A (en) | Information processing method, storage device and computer-readable storage medium | |
TW200417857A (en) | Allocating cache lines | |
CN104750432B (en) | A kind of date storage method and device | |
CN107122130A (en) | A kind of data delete method and device again | |
CN108664415B (en) | Shared replacement policy computer cache system and method | |
CN108205498A (en) | Method for recovering internal storage and device, computer installation and computer readable storage medium |
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: 20181120 |