CN106933516A - A kind of storage controlling method and device of the storage system of blending agent - Google Patents
A kind of storage controlling method and device of the storage system of blending agent Download PDFInfo
- Publication number
- CN106933516A CN106933516A CN201710156958.3A CN201710156958A CN106933516A CN 106933516 A CN106933516 A CN 106933516A CN 201710156958 A CN201710156958 A CN 201710156958A CN 106933516 A CN106933516 A CN 106933516A
- Authority
- CN
- China
- Prior art keywords
- page
- temperature state
- storage
- buffering area
- 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/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/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/0647—Migration mechanisms
-
- 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/068—Hybrid storage device
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)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of storage controlling method and device of the storage system of blending agent, the method includes:When the read operation request page read to buffering area is detected, record initial temperature state and the initial-access time of the page;The real-time statistics page accesses action type and updates the temperature state of the page in the I/O of buffering area;Judge whether the page needs to displace buffering area;If it is, the temperature state after accessing the statistics of action type and update according to I/O determines the storage location of the page.Therefore, this method rationally using the SSD and HDD in storage system can not only improve utilization rate and the extension life-span of SSD, and can give full play to the advantage of HDD costs.Additionally, the memory control device of the storage system of blending agent provided by the present invention, also with the effect above.
Description
Technical field
The present invention relates to technical field of memory, more particularly to a kind of storage controlling method of the storage system of blending agent
And device.
Background technology
Solid state hard disc (SSD) has become the leading technology in solid state storage technologies in recent years, and relatively conventional machinery is hard
Disk (HDD), it has many advantages, such as low-power consumption, low noise, fast read or write speed, anti-vibration.But most common SSD is base
In nand flash memory chip design, because there is flash media the characteristics of writing preceding erasing, i.e. flash chip in situ can not update, and
The erasing times of every piece of flash chip are limited, so flash memory writes the life-span that number of times determines flash memory, it is frequent for needing
The business of renewal, necessarily brings excessive erasing operation, so as to greatly reduce the service life of SSD.On the other hand, although
SSD quickly grows, but compared to traditional disk, unit price is still very high, and single SSD memory spaces are relatively small, for
The big data of information explosion now is difficult to use on a large scale.So, although the performance of HDD is poorer than SSD many, it is in valency
There is obvious advantage, the storage system of current main flow is still with based on based on HDD, supplemented by SSD on lattice and memory space.
Due to the advantage and disadvantage in respective performance, therefore in specific implementation, how data are rationally stored in mixing storage system
It is very important problem in system.In the prior art, typically according to data temperature state (frequency of access) determines data
It is stored in SSD or in HDD.
Therefore, single criterion not only lead to not rationally using SSD and HDD advantage, and importantly,
When the temperature state of data is Warm status, it is stored in SSD, but the access of data operation is write operation, causes SSD
Life-span reduce.In addition, single criterion is it is also possible to cause data frequently to migrate.
The content of the invention
It is an object of the invention to provide a kind of storage controlling method and device of the storage system of blending agent, for reasonable
Using SSD and HDD in storage system, utilization rate and the extension life-span of SSD can not only be improved, and can given full play to
The advantage of HDD costs.
In order to solve the above technical problems, the present invention provides a kind of storage controlling method of the storage system of blending agent, bag
Include:
When the read operation request read the page to buffering area is detected, record the page initial temperature state and
Initial-access time;
The page described in real-time statistics accesses action type and updates the temperature shape of the page in the I/O of the buffering area
State;
Judge whether the page needs to displace the buffering area;
If it is, according to the I/O access action type statistics and update after temperature state determine described in
The storage location of the page;
Wherein, the storage location is SSD or HDD.
Preferably, the temperature state according to after the statistics of I/O access action types and renewal determines institute
The storage location for stating the page is specifically included:
The statistics for accessing action type according to the I/O judges whether the storage tendency of the page is to read tendency;
It is inclined to if not reading, it is determined that the storage location of the page is the HDD;
If reading tendency, then judge whether the temperature state after updating is Warm status;
If Warm status, it is determined that the storage location of the page is the SSD;
If not Warm status, it is determined that the storage location of the page is the HDD.
Preferably, the temperature state according to after the statistics of I/O access action types and renewal determines institute
The storage location for stating the page is specifically included:
Judge whether the temperature state after updating is Warm status;
If not Warm status, it is determined that the storage location of the page is the HDD;
If Warm status, then the statistics for accessing action type according to the I/O judges that the storage of the page is inclined
To whether be read tendency;
If reading tendency, it is determined that the storage location of the page is the SSD;
It is inclined to if not reading, it is determined that the storage location of the page is the HDD.
Preferably, also include:The page is arranged according to lru algorithm in the buffering area.
Preferably, it is described to judge whether the page needs to displace the buffering area and specifically include:
Judge whether the page is located at the tail of the queue of the buffering area;
If it is, when new read operation request is detected, determining that the page needs to displace the buffering area.
Preferably, the temperature state for updating the page is specifically included:
Obtain the time interval that each I/O of the page in the buffering area accesses operation;
Judge whether the initial temperature state is Warm status;
If Warm status, then judge whether the time interval meets and double be all higher than threshold value;
If it is, the temperature state of the page is updated into cold state;Otherwise, the temperature state of the page is kept
It is Warm status;
If not Warm status, then judge whether the time interval meets double respectively less than threshold value;
If it is, the temperature state of the page is updated into Warm status;Otherwise, the temperature state of the page is kept
It is cold state.
Preferably, also include:Each data block in the SSD is arranged according to lru algorithm;
When the SSD is filled with, the data block migration that will be arranged in tail of the queue according to putting in order to the HDD.
Preferably, also include:The index of each page set up in the SSD and the HDD, wherein the index includes page
Face title and page address.
Preferably, also include:When there is page migration in the SSD or described HDD, the page in each index is updated
Address.
In order to solve the above technical problems, the present invention also provides a kind of memory control device of the storage system of blending agent,
Including:
Temperature state recording module, for when the read operation request read the page to buffering area is detected, recording institute
State initial temperature state and the initial-access time of the page;
Statistical module, accesses described in action type and renewal for the page described in real-time statistics in the I/O of the buffering area
The temperature state of the page;
Judge module, for judging whether the page needs to displace the buffering area, if it is, triggering determines mould
Block;
The determining module, for the temperature state after the statistics according to I/O access action types and renewal
Determine the storage location of the page;
Wherein, the storage location is SSD or HDD.
The storage controlling method of the storage system of blending agent provided by the present invention, including:The page is read when detecting
When taking the read operation request to buffering area, initial temperature state and the initial-access time of the page are recorded;The real-time statistics page exists
The I/O of buffering area accesses action type and updates the temperature state of the page;Judge whether the page needs to displace buffering area;If
It is that the temperature state after then accessing the statistics of action type and update according to I/O determines the storage location of the page.Thus may be used
See, after the page enters buffering area, real-time statistics I/O access action types, and the temperature state of the page is updated, so as to accurately slap
The operation to the page is held, when the page is displaced from buffering area, page is determined further according to the temperature state after statistics and renewal
The storage location in face, therefore, this method rationally using the SSD and HDD in storage system can not only improve the profit of SSD
With rate and extension life-span, and the advantage of HDD costs can be given full play to.Additionally, blending agent provided by the present invention is deposited
The memory control device of storage system, also with the effect above.
Brief description of the drawings
In order to illustrate more clearly the embodiments of the present invention, the accompanying drawing to be used needed for embodiment will be done simply below
Introduce, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ordinary skill people
For member, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the storage controlling method of the storage system of blending agent provided in an embodiment of the present invention;
Fig. 2 is a kind of storage schematic diagram of the storage system of blending agent provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on this
Embodiment in invention, those of ordinary skill in the art are not under the premise of creative work is made, and what is obtained is every other
Embodiment, belongs to the scope of the present invention.
Core of the invention is to provide a kind of storage controlling method and device of the storage system of blending agent.
In order that those skilled in the art more fully understand the present invention program, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.
Fig. 1 is a kind of flow chart of the storage controlling method of the storage system of blending agent provided in an embodiment of the present invention.
As shown in figure 1, the storage controlling method of the storage system of blending agent includes:
S10:When the read operation request read the page to buffering area is detected, record the page initial temperature state and
Initial-access time.
S11:The real-time statistics page accesses action type and updates the temperature state of the page in the I/O of buffering area.
S12:Judge whether the page needs to displace buffering area, if it is, into step S13.
S13:Temperature state after accessing the statistics of action type and update according to I/O determines the storage position of the page
Put.Wherein, storage location is SSD or HDD.
Fig. 2 is a kind of storage schematic diagram of the storage system of blending agent provided in an embodiment of the present invention.Wherein dotted line frame
In the memory control device structure chart of the storage system of a kind of blending agent that provides for the present invention.The storage system of blending agent
Memory control device include temperature state recording module 10, statistical module 11, judge module 12 and determining module 13.
It should be noted that the page in the present invention is also in fact a kind of data, belong to the junior unit of data storage.Fig. 2
In the direction of arrow for the page flow direction, small square representing pages, compared with small rectangle be data block (block), according to flash memory
Physical arrangement, 64 pages are constituted into a data blocks.In the buffer, each page is arranged according to certain order, for example respectively
The page is arranged with lru algorithm, and the page for having just enter into buffering area is placed in team's head of LRU, and the page being queued at the end of queue then will be by
Displace.
It is understood that the page can be that buffering area is read into from SSD, it is also possible to be read into from HDD
Buffering area.When a page is read into buffering area, temperature state recording module 10 records the initial temperature of the page first
State and initial-access time.
Can be accessed by I/O after the page enters buffering area and operated, and statistical module 11 needs each operation of real-time statistics
Type, i.e. I/O access action type.It should be noted that it is read operation or write operation that I/O accesses action type.Due to the page
Meeting not timing is accessed after into buffering area, therefore, it is also desirable to constantly update the temperature state of the page.Here temperature state
It is to weigh a page to be accessed for frequency comprising Warm status and cold state.Temperature state accesses action type and does not close with I/O
System, but the frequency or number of times that access operation with I/O have relation.
It is not only this page due to buffering area, but there are multiple pages, and it is continuous with read operation request
Produce, the page in buffering area can be continuously increased, when the maximum capacity of buffering area is increased to, then just having the page needs displacement
Out, the page for cementing out will face a problem for storage location selection.
When a page is cemented out from buffering area, judge module 12 can be with the temperature shape after result according to statistics and renewal
The storage location of the parameter determination of state two this page.If it is understood that the temperature state after a renewal of the page is
Warm status, but corresponding I/O accesses action type and is if write operation, then the determination method according to prior art so,
This page will be placed into SSD, it is obvious that the method easily causes the SSD life-spans and reduces.And if passing through this method, no
Only to consider temperature state, and also need to consider the statistics that I/O accesses action type.It is understood that statistics knot
Can be comprising two objects a, number of times for write operation in fruit, another is the number of times of read operation, if writing manipulation number of times more than reading
Number of operations, then the storage tendency for illustrating this page is exactly to write tendency, conversely, then for reading is inclined to.Above-mentioned two is considered simultaneously
Parameter preferably using the SSD that price is higher can give full play to the advantage of SSD.
The storage controlling method of the storage system of the blending agent that the present embodiment is provided, including:The page is read when detecting
When taking the read operation request to buffering area, initial temperature state and the initial-access time of the page are recorded;The real-time statistics page exists
The I/O of buffering area accesses action type and updates the temperature state of the page;Judge whether the page needs to displace buffering area;If
It is that the temperature state after then accessing the statistics of action type and update according to I/O determines the storage location of the page.Thus may be used
See, after the page enters buffering area, real-time statistics I/O access action types, and the temperature state of the page is updated, so as to accurately slap
The operation to the page is held, when the page is displaced from buffering area, page is determined further according to the temperature state after statistics and renewal
The storage location in face, therefore, this method rationally using the SSD and HDD in storage system can not only improve the profit of SSD
With rate and extension life-span, and the advantage of HDD costs can be given full play to.
In the above-described embodiments, the temperature state after being accessed the statistics of action type and updated with the I/O determines
The storage location of the page has two kinds of different modes, can be the judgement for first carrying out storing tendency, then carry out sentencing for temperature state
It is disconnected;Or the judgement of temperature state is first carried out, store the judgement of tendency.
1) preferably implementation method, step S13 is specifically included:
The statistics for accessing action type according to I/O judges whether the storage tendency of the page is to read tendency;
It is inclined to if not reading, it is determined that the storage location of the page is HDD;
If reading tendency, then judge whether the temperature state after updating is Warm status;
If Warm status, it is determined that the storage location of the page is SSD;
If not Warm status, it is determined that the storage location of the page is HDD.
2) preferably implementation method, the temperature state after accessing the statistics of action type and update according to I/O
Determine that the storage location of the page is specifically included:
Judge whether the temperature state after updating is Warm status;
If not Warm status, it is determined that the storage location of the page is HDD;
If Warm status, then according to I/O access action type statistics judge the page storage be inclined to whether be
Read tendency;
If reading tendency, it is determined that the storage location of the page is SSD;
It is inclined to if not reading, it is determined that the storage location of the page is HDD.
The page of Warm status and reading tendency can be stored to SSD by above two method, and by cold state or write
The page of tendency is stored to HDD.
On the basis of above-described embodiment, also include:The page is arranged according to lru algorithm in buffering area.
If not being ranked up to the page of buffer area, then when buffering area is filled with, the page that may have just read in
Face is replaced out.In order to avoid the generation of such case, in the present embodiment, using lru algorithm, i.e. LRU
Arranged, after buffering area takes, then coming can be replaced out to the page of tail.
On the basis of above-described embodiment, judge whether the page needs to displace buffering area and specifically include:
Judge whether the page is located at the tail of the queue of buffering area;
If it is, when new read operation request is detected, determining that the page needs to displace buffering area.
It is understood that after the page enters buffering area, will may be replaced out for 1 minute, or 1 hour just can quilt
Cement out, so this time is unforeseen.Due to carrying out the sequence of the page by lru algorithm, therefore the page only has
When being come to tail and having the new page to be added to buffering area, this page just may require that and displace.It should be noted that above-mentioned
The premise of two step execution is that buffering area has taken, and is otherwise gone out also without by page frame replacement.
On the basis of above-described embodiment, used as preferred embodiment, the temperature state for updating the page is specifically included:
Obtain the time interval that the page each I/O in the buffer accesses operation;
Judge whether initial temperature state is Warm status;
If Warm status, then judge whether time interval meets and double be all higher than threshold value;
If it is, the temperature state of the page is updated into cold state;Otherwise, the temperature state for keeping the page is hot shape
State;
If not Warm status, then judge whether time interval meets double respectively less than threshold value;
If it is, the temperature state of the page is updated into Warm status;Otherwise, the temperature state for keeping the page is cold shape
State.
In specific implementation, temperature state has a significant impact for the storage location of the page, if temperature state can not be closed
Reason determination, then can influence the storage location of the page, and then influence the utilization rate of SSD.Page is determined if once access once in a while
If the temperature state in face, then need frequently to change, and erroneous judgement can be caused to result.In order to avoid this contingency, this reality
Apply in example, using initial temperature state as reference, only time interval meets condition can just update temperature state.This condition is just
It is:Time interval is double to be all higher than threshold value.Such as one I/O of the page accesses operation totally 4 times, and threshold value is 3 seconds, initial heat
Degree state is Warm status, and the time interval of first time is 2 seconds, and secondary time interval is 2 seconds, and the time interval of third time is
5 seconds, the time interval of the 4th time was 8 seconds, then for this page, time interval meets and double is all higher than threshold value
(being twice continuously third time and the 4th time), therefore the temperature state of this page will be updated to cold state, i.e. this page
Face is infrequently accessed.It should be noted that in the present invention, the initial temperature state of the page that acquiescence reads from SSD is hot shape
State, and the initial temperature state of the page read from HDD is cold state.For the mistake that the page is updated to Warm status by cold state
Journey, it is similar with said process, repeat no more here.
In specific implementation, it is also possible to set a state for middle transition, if the initial temperature state of the i.e. page is
Warm status, the time interval of first time is more than threshold value, then the Warm status of the page just are revised as into intermediateness, if next time
Time interval be more than threshold value, then intermediateness is revised as cold state, that is, the temperature state after updating is cold state;If under
Time interval once is not more than threshold value, then intermediateness is more gained the Warm status of last time.It is understood that corresponding
, for time interval again next time, initial temperature state is respectively cold state or Warm status.
On the basis of above-described embodiment, as preferred embodiment, also include:By each data block in SSD according to
Lru algorithm is arranged;
When SSD is filled with, the data block migration that will be arranged in tail of the queue according to putting in order to HDD.
Because the price of SSD is higher, memory space is limited, therefore, if a large amount of storing infrequently is read in SSD
If the data for taking, then easily causing the fast advantage of SSD reading speeds can not preferably bring into play, and the preciousness for wasting SSD is empty
Between.Comprising multiple data blocks in SSD, each data block is made up of multiple pages, when being migrated, is moved as overall with data block
Move.In the present embodiment, each data block in SSD is arranged by lru algorithm, when SSD is filled with, the number to tail will be come
Migrated to HDD according to block.
On the basis of above-described embodiment, as preferred embodiment, also include:Each page set up in SSD and HDD
Index, wherein index include Page Name and page address.
To improve search efficiency, for the page on SSD and HDD sets up index in the present embodiment, when a page is inquired about,
Can be by index search.In addition, because of the page on SSD far fewer than HDD, and the reading rate of SSD is very fast, therefore in inquiry,
The corresponding indexes of SSD can be preferentially inquired about, such as be can not find out, then searched on the corresponding indexes of HDD.
On the basis of above-described embodiment, as preferred embodiment, also include:Moved when there is the page in SSD or HDD
During shifting, the page address in each index is updated.
In specific implementation, there is the page and migrated between SSD and HDD, when there is page migration in SSD, deleting SSD
Address in corresponding index, and update the page address in the corresponding indexes of HDD;When there is page migration in HDD, delete
Address in the corresponding indexes of HDD, and update the page address in the corresponding indexes of SSD.
In the above-described embodiments, the storage controlling method of the storage system of blending agent is described in detail, due to device portion
Point embodiment it is mutually corresponding with the embodiment of method part, therefore the embodiment of device part refers to the implementation of method part
The description of example, wouldn't repeat here.As shown in Fig. 2 the memory control device of the storage system of blending agent, including:
Temperature state recording module 10, for when the read operation request read the page to buffering area is detected, record
The initial temperature state of the page and initial-access time;
Statistical module 11, the temperature of action type and the renewal page is accessed for the real-time statistics page in the I/O of buffering area
State;
Judge module 12, for judging whether the page needs to displace buffering area, if it is, triggering determining module 13;
Determining module 13, page is determined for the temperature state after the statistics of action type being accessed according to I/O and being updated
The storage location in face;
Wherein, storage location is SSD or HDD.
The storage controlling method and device to the storage system of blending agent provided by the present invention have been carried out in detail above
Introduce.Each embodiment is described by the way of progressive in specification, and what each embodiment was stressed is and other implementations
Example difference, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment,
Because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is referring to method part illustration
Can.It should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention, may be used also
Some improvement and modification are carried out with to the present invention, these are improved and modification is also fallen into the protection domain of the claims in the present invention.
Also, it should be noted that in this manual, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that
A little key elements, but also other key elements including being not expressly set out, or also include for this process, method, article or
The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", does not arrange
Except also there is other identical element in the process including the key element, method, article or equipment.
Claims (10)
1. a kind of storage controlling method of the storage system of blending agent, it is characterised in that including:
When the read operation request page read to buffering area is detected, record the initial temperature state of the page and initial
Access time;
The page described in real-time statistics accesses action type and updates the temperature state of the page in the I/O of the buffering area;
Judge whether the page needs to displace the buffering area;
If it is, the temperature state after accessing the statistics of action type and update according to the I/O determines the page
Storage location;
Wherein, the storage location is SSD or HDD.
2. the storage controlling method of the storage system of blending agent according to claim 1, it is characterised in that the basis
Temperature state after the I/O accesses the statistics of action type and updates determines that the storage location of the page is specifically wrapped
Include:
The statistics for accessing action type according to the I/O judges whether the storage tendency of the page is to read tendency;
It is inclined to if not reading, it is determined that the storage location of the page is the HDD;
If reading tendency, then judge whether the temperature state after updating is Warm status;
If Warm status, it is determined that the storage location of the page is the SSD;
If not Warm status, it is determined that the storage location of the page is the HDD.
3. the storage controlling method of the storage system of blending agent according to claim 1, it is characterised in that the basis
Temperature state after the I/O accesses the statistics of action type and updates determines that the storage location of the page is specifically wrapped
Include:
Judge whether the temperature state after updating is Warm status;
If not Warm status, it is determined that the storage location of the page is the HDD;
If Warm status, then the statistics for accessing action type according to the I/O judges that the storage tendency of the page is
No is reading tendency;
If reading tendency, it is determined that the storage location of the page is the SSD;
It is inclined to if not reading, it is determined that the storage location of the page is the HDD.
4. the storage controlling method of the storage system of the blending agent according to claims 1 to 3 any one, its feature exists
In also including:The page is arranged according to lru algorithm in the buffering area.
5. the storage controlling method of the storage system of blending agent according to claim 4, it is characterised in that the judgement
Whether the page needs to displace the buffering area and specifically includes:
Judge whether the page is located at the tail of the queue of the buffering area;
If it is, when new read operation request is detected, determining that the page needs to displace the buffering area.
6. the storage controlling method of the storage system of blending agent according to claim 1, it is characterised in that the renewal
The temperature state of the page is specifically included:
Obtain the time interval that each I/O of the page in the buffering area accesses operation;
Judge whether the initial temperature state is Warm status;
If Warm status, then judge whether the time interval meets and double be all higher than threshold value;
If it is, the temperature state of the page is updated into cold state;Otherwise, the temperature state for keeping the page is heat
State;
If not Warm status, then judge whether the time interval meets double respectively less than threshold value;
If it is, the temperature state of the page is updated into Warm status;Otherwise, the temperature state for keeping the page is cold
State.
7. the storage controlling method of the storage system of blending agent according to claim 1, it is characterised in that also include:
Each data block in the SSD is arranged according to lru algorithm;
When the SSD is filled with, the data block migration that will be arranged in tail of the queue according to putting in order to the HDD.
8. the storage controlling method of the storage system of blending agent according to claim 1, it is characterised in that also include:
The index of each page set up in the SSD and the HDD, wherein the index includes Page Name and page address.
9. the storage controlling method of the storage system of blending agent according to claim 8, it is characterised in that also include:
When there is page migration in the SSD or described HDD, the page address in each index is updated.
10. a kind of memory control device of the storage system of blending agent, it is characterised in that including:
Temperature state recording module, for when the read operation request read the page to buffering area is detected, recording the page
The initial temperature state in face and initial-access time;
Statistical module, action type and the renewal page are accessed for the page described in real-time statistics in the I/O of the buffering area
Temperature state;
Judge module, for judging whether the page needs to displace the buffering area, if it is, triggering determining module;
The determining module, determines for the temperature state after the statistics of action type being accessed according to the I/O and being updated
The storage location of the page;
Wherein, the storage location is SSD or HDD.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710156958.3A CN106933516A (en) | 2017-03-16 | 2017-03-16 | A kind of storage controlling method and device of the storage system of blending agent |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710156958.3A CN106933516A (en) | 2017-03-16 | 2017-03-16 | A kind of storage controlling method and device of the storage system of blending agent |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106933516A true CN106933516A (en) | 2017-07-07 |
Family
ID=59433704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710156958.3A Pending CN106933516A (en) | 2017-03-16 | 2017-03-16 | A kind of storage controlling method and device of the storage system of blending agent |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106933516A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144411A (en) * | 2018-07-24 | 2019-01-04 | 中国电子科技集团公司第三十八研究所 | Data center's hybrid magnetic disc array and its data dynamic migration strategy |
CN109375868A (en) * | 2018-09-14 | 2019-02-22 | 网宿科技股份有限公司 | A kind of date storage method, dispatching device, system, equipment and storage medium |
CN109753224A (en) * | 2017-11-03 | 2019-05-14 | 浙江宇视科技有限公司 | Storage structure and storage structure configuration method |
CN109901800A (en) * | 2019-03-14 | 2019-06-18 | 重庆大学 | A kind of mixing memory system and its operating method |
CN112346658A (en) * | 2019-08-07 | 2021-02-09 | 国际商业机器公司 | Increasing data heat trace resolution in storage devices with cache architectures |
CN116360709A (en) * | 2023-05-31 | 2023-06-30 | 天津神舟通用数据技术有限公司 | Data access system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103605615A (en) * | 2013-11-21 | 2014-02-26 | 浪潮电子信息产业股份有限公司 | Block-level-data-based directional allocation method for hierarchical storage |
-
2017
- 2017-03-16 CN CN201710156958.3A patent/CN106933516A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103605615A (en) * | 2013-11-21 | 2014-02-26 | 浪潮电子信息产业股份有限公司 | Block-level-data-based directional allocation method for hierarchical storage |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109753224A (en) * | 2017-11-03 | 2019-05-14 | 浙江宇视科技有限公司 | Storage structure and storage structure configuration method |
CN109144411A (en) * | 2018-07-24 | 2019-01-04 | 中国电子科技集团公司第三十八研究所 | Data center's hybrid magnetic disc array and its data dynamic migration strategy |
CN109375868A (en) * | 2018-09-14 | 2019-02-22 | 网宿科技股份有限公司 | A kind of date storage method, dispatching device, system, equipment and storage medium |
CN109375868B (en) * | 2018-09-14 | 2022-07-08 | 深圳爱捷云科技有限公司 | Data storage method, scheduling device, system, equipment and storage medium |
CN109901800A (en) * | 2019-03-14 | 2019-06-18 | 重庆大学 | A kind of mixing memory system and its operating method |
CN112346658A (en) * | 2019-08-07 | 2021-02-09 | 国际商业机器公司 | Increasing data heat trace resolution in storage devices with cache architectures |
CN116360709A (en) * | 2023-05-31 | 2023-06-30 | 天津神舟通用数据技术有限公司 | Data access system |
CN116360709B (en) * | 2023-05-31 | 2023-08-08 | 天津神舟通用数据技术有限公司 | Data access system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106933516A (en) | A kind of storage controlling method and device of the storage system of blending agent | |
US9449005B2 (en) | Metadata storage system and management method for cluster file system | |
CN103019958B (en) | Usage data attribute manages the method for the data in solid-state memory | |
US10521131B2 (en) | Storage apparatus and storage control apparatus | |
CN109783020B (en) | Garbage recycling method based on SSD-SMR (solid State drive-SMR) mixed key value storage system | |
CN106548789B (en) | Method and apparatus for operating stacked tile type magnetic recording equipment | |
WO2019178845A1 (en) | Garbage collection method for storage media, storage medium, and program product | |
CN106201916B (en) | A kind of nonvolatile cache method towards SSD | |
CN104699424B (en) | A kind of isomery EMS memory management process based on page temperature | |
CN110888600B (en) | Buffer area management method for NAND flash memory | |
CN107729558A (en) | Method, system, device and the computer-readable storage medium that file system fragmentation arranges | |
CN110532200B (en) | Memory system based on hybrid memory architecture | |
CN103890856A (en) | Shiftable memory supporting in-memory data structures | |
CN103858092A (en) | Data migration method and device | |
CN104899154A (en) | Page management method based on embedded system mixed main memory | |
CN111722797B (en) | SSD and HA-SMR hybrid storage system oriented data management method, storage medium and device | |
KR101438667B1 (en) | Database method for b+ tree based on PRAM | |
CN106227466B (en) | A kind of data segment moving method and system | |
CN104156432A (en) | File access method | |
JP2018197933A (en) | Storage control device, information processing system and program | |
JP6531574B2 (en) | Storage device, storage device control program and storage device control method | |
CN107229580A (en) | Sequential stream detection method and apparatus | |
Lv et al. | Zonedstore: A concurrent zns-aware cache system for cloud data storage | |
CN106528446B (en) | The control method and control system of flash data | |
KR101020781B1 (en) | A method for log management in flash memory-based database systems |
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: 20170707 |