CN107168652A - A kind of method of lifting SSD Cache reading performances - Google Patents

A kind of method of lifting SSD Cache reading performances Download PDF

Info

Publication number
CN107168652A
CN107168652A CN201710359107.9A CN201710359107A CN107168652A CN 107168652 A CN107168652 A CN 107168652A CN 201710359107 A CN201710359107 A CN 201710359107A CN 107168652 A CN107168652 A CN 107168652A
Authority
CN
China
Prior art keywords
data
ssd cache
lifting
ssd
reading performances
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
Application number
CN201710359107.9A
Other languages
Chinese (zh)
Inventor
李成龙
冀国威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710359107.9A priority Critical patent/CN107168652A/en
Publication of CN107168652A publication Critical patent/CN107168652A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/064Management of blocks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0656Data buffering arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device

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 provides a kind of method of lifting SSD Cache reading performances, the hit rate of data is accessed for improving system, described method comprises the following steps:Step 1:Write data;Step 2:Digital independent;Step 3:Storage system carries out real-time tracking to the access temperature of data storage in SSD Cache, and data block Thermometer is generated in system according to the order of access times from high to low;Step 4:The data stored in SSD Cache are replaced with reference to data block Thermometer.By way of above-mentioned data write SSDCache and temperature is safeguarded, client traffic needs the data read and write can be by complete record in SSDCache, the performance of Operational Visit can be effectively lifted, management of the method to Cache data is finer, ensure that data by 100% hit.

Description

A kind of method of lifting SSD Cache reading performances
Technical field
SSD Cache reading performances can be effectively lifted present invention relates generally to technical field of memory, more particularly to one kind Method.
Background technology
With the growth of client traffic level and data volume, the reaction speed to system requires more and more higher, i.e., we need The performance of system is wanted to be consequently increased.In order to meet the demand of client, storage system can typically use SSD disks slow as two grades Deposit, need the data block often accessed to be stored in SSD Cache client traffic, to lift data block hit rate.But tradition SSD Cache typically follow the principle of first in first out, this kind of method sets simple, excellent in efficiency and suitable for most of applications Scene, but the scene of some high hit rate demands can not be met.
The content of the invention
In order to solve the above problems, the invention provides a kind of method of lifting SSD Cache reading performances, using based on number According to the SSD Cache more new strategies of block access temperature, the performance for lifting SSD Cache, this method is mainly to SSD Cache In the access temperature of each data block carry out real-time tracking, according to access temperature data block is carried out it is " dsc data locking " and " cold Data are driven away ", so as to ensure that system accesses the high hit rate of data, with lifting system performance.
The present invention uses following technical scheme:
A kind of method of lifting SSD Cache reading performances, the hit rate of data is accessed for improving system, and its feature exists In described method comprises the following steps:
Step 1:Write data;
Step 2:Digital independent;
Step 3:Storage system carries out real-time tracking to the access temperature of data storage in SSD Cache, and according to access The order of number of times from high to low generates data block Thermometer in system;
Step 4:The data stored in SSD Cache are replaced with reference to data block Thermometer.
Further, the process that implements of step 1 is:System performs data write operation, and system can be by the member of data In data storage SSD Cache.
Further, step 1 also includes following operation:Data are prestored to SSD Cache by user or technical staff In.
Further, step 1 also includes following operation:System performs data more new strategy, and the data after renewal are deposited Store up in SSD Cache.
Further, the process that implements of step 2 is:When carrying out digital independent, system can be in SSD Cache Metadata is detected, is read the data for needing to read in SSD Cache from HDD according to metadata.
It is preferred that, in step 2, system reads the associated data of required data simultaneously in data needed for reading simultaneously It is stored in SSD Cache.
Further, described data block Thermometer at least includes data name and the access times of the data.
Further, the process that implements of step 4 is:System re-executes step 1-2, in digital independent to SSD During Cache, if SSD Cache memory spaces are full, system according to the order in data block Thermometer from low to high successively Replace the data in SSD Cache.
The beneficial effects of the invention are as follows:
1st, the access temperature to each data block in SSD Cache carries out real-time tracking, according to access temperature to data block Carry out " dsc data locking " and " cold data expeling ", so as to ensure that system accesses the high hit rate of data, with lifting system performance.
2nd, run efficient, metadata is recorded in SSD Cache, can location data block position rapidly.
3rd, finer to Cache data managements, a variety of methods ensure the temperature of data block, ensure that data block quilt 100% hit.
Brief description of the drawings
Fig. 1 is the inventive method flow chart.
Embodiment
Set forth herein utilization " data block Thermometer " lifting system performance method mainly include following two aspects:① The source of SSD Cache data;2. SSD Cache data blocks temperature is tracked.SSD Cache data are mainly derived from following three kinds Mode:1. data block metadata;2. active pre-stored data;3. follow-up policy update;Utilize " data block Thermometer " lifting system The method of performance is specifically described as follows.
The method of lifting SSD Cache reading performances, the hit rate of data is accessed for improving system as shown in Figure 1, described Method comprise the following steps:
Step 1:Data are write, particular content includes at least three types:
1) system performs data write operation, and system can store the metadata of data in SSD Cache;
2) data are prestored in SSD Cache by user or technical staff;
3) system performs data more new strategy, and by the data Cun Chudao SSD Cache after renewal.
Step 2:Digital independent, detailed process is:When carrying out digital independent, system can be to first number in SSD Cache According to being detected, the data for needing to read are read from HDD in SSD Cache according to metadata.Moreover, system is being read During required data, the associated data of required data is read and is stored in SSD Cache simultaneously.
Step 3:Focus sorts, and the process of implementing is:Access temperature of the storage system to data storage in SSD Cache Real-time tracking is carried out, and data block Thermometer is generated in system according to the order of access times from high to low.Wherein, it is described Data block Thermometer at least includes data name and the access times of the data.
Step 4:Data are replaced, and the process of implementing is:System re-executes step 1-2, in digital independent to SSD During Cache, if SSD Cache memory spaces are full, system according to the order in data block Thermometer from low to high successively Replace the data in SSD Cache.
It should be pointed out that embodiment described above can make those skilled in the art that the present invention is more fully understood Concrete structure, but do not limit the invention in any way create.Therefore, although specification and drawings and examples are to the present invention Creation has been carried out detailed description, it will be understood by those skilled in the art, however, that still can be repaiied to the invention Change or equivalent substitution;And technical scheme and its improvement of all spirit and scope for not departing from the invention, it is covered Among the protection domain of the invention patent.

Claims (8)

1. a kind of method of lifting SSD Cache reading performances, the hit rate of data is accessed for improving system, it is characterised in that Described method comprises the following steps:
Step 1:Write data;
Step 2:Digital independent;
Step 3:Storage system carries out real-time tracking to the access temperature of data storage in SSD Cache, and according to access times Order from high to low generates data block Thermometer in system;
Step 4:The data stored in SSD Cache are replaced with reference to data block Thermometer.
2. a kind of method of lifting SSD Cache reading performances according to claim 1, it is characterised in that step 1 includes Implemented below process:System performs data write operation, and system can store the metadata of data in SSD Cache.
3. a kind of method of lifting SSD Cache reading performances according to claim 2, it is characterised in that step 2 it is specific Implementation process is:When carrying out digital independent, system can be detected to the metadata in SSD Cache, will according to metadata The data read are needed to be read from HDD in SSD Cache.
4. the method for a kind of lifting SSD Cache reading performances according to claim 3, it is characterised in that in step 2, The associated data of required data is read and is stored in SSD Cache simultaneously in data needed for reading by system.
5. a kind of method of lifting SSD Cache reading performances according to claim 1, it is characterised in that step 1 include with Lower operation:Data are prestored in SSD Cache by user or technical staff.
6. a kind of method of lifting SSD Cache reading performances according to claim 1, it is characterised in that step 1 include with Lower operation:System performs data more new strategy, and by the data Cun Chudao SSDCache after renewal.
7. a kind of method of lifting SSD Cache reading performances according to claim 1, it is characterised in that described data Block Thermometer at least includes data name and the access times of the data.
8. a kind of method of lifting SSD Cache reading performances according to claim 1, it is characterised in that step 4 it is specific Implementation process is:System re-executes step 1-2, during digital independent to SSD Cache, if SSD Cache storages are empty Between it is full, system replaces the data in SSD Cache according to the order in data block Thermometer from low to high successively.
CN201710359107.9A 2017-05-19 2017-05-19 A kind of method of lifting SSD Cache reading performances Pending CN107168652A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710359107.9A CN107168652A (en) 2017-05-19 2017-05-19 A kind of method of lifting SSD Cache reading performances

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710359107.9A CN107168652A (en) 2017-05-19 2017-05-19 A kind of method of lifting SSD Cache reading performances

Publications (1)

Publication Number Publication Date
CN107168652A true CN107168652A (en) 2017-09-15

Family

ID=59816329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710359107.9A Pending CN107168652A (en) 2017-05-19 2017-05-19 A kind of method of lifting SSD Cache reading performances

Country Status (1)

Country Link
CN (1) CN107168652A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413235A (en) * 2019-07-26 2019-11-05 华中科技大学 A kind of data distributing method and system towards SSD duplicate removal
CN110990300A (en) * 2019-12-20 2020-04-10 山东方寸微电子科技有限公司 Cache memory replacement method and system based on use heat
US10884938B2 (en) 2018-12-13 2021-01-05 International Business Machines Corporation Method and apparatus for prefetching data items to a cache

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030212855A1 (en) * 2002-05-10 2003-11-13 Hitachi, Ltd. Disk drive system and method for controlling a cache memory
CN102981783A (en) * 2012-11-29 2013-03-20 浪潮电子信息产业股份有限公司 Cache accelerating method based on Nand Flash
CN103186350A (en) * 2011-12-31 2013-07-03 北京快网科技有限公司 Hybrid storage system and hot spot data block migration method
CN103744623A (en) * 2014-01-10 2014-04-23 浪潮电子信息产业股份有限公司 Method for realizing intelligent degradation of data cached in SSD (Solid State Disk) of storage system
CN103902473A (en) * 2012-12-31 2014-07-02 华为技术有限公司 Data processing method and data caching system
CN105224473A (en) * 2015-09-15 2016-01-06 浪潮(北京)电子信息产业有限公司 The update method that a kind of solid state hard disc is data cached and device
CN105786410A (en) * 2016-03-01 2016-07-20 深圳市瑞驰信息技术有限公司 Method for increasing processing speed of data storage system and data storage system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030212855A1 (en) * 2002-05-10 2003-11-13 Hitachi, Ltd. Disk drive system and method for controlling a cache memory
CN103186350A (en) * 2011-12-31 2013-07-03 北京快网科技有限公司 Hybrid storage system and hot spot data block migration method
CN102981783A (en) * 2012-11-29 2013-03-20 浪潮电子信息产业股份有限公司 Cache accelerating method based on Nand Flash
CN103902473A (en) * 2012-12-31 2014-07-02 华为技术有限公司 Data processing method and data caching system
CN103744623A (en) * 2014-01-10 2014-04-23 浪潮电子信息产业股份有限公司 Method for realizing intelligent degradation of data cached in SSD (Solid State Disk) of storage system
CN105224473A (en) * 2015-09-15 2016-01-06 浪潮(北京)电子信息产业有限公司 The update method that a kind of solid state hard disc is data cached and device
CN105786410A (en) * 2016-03-01 2016-07-20 深圳市瑞驰信息技术有限公司 Method for increasing processing speed of data storage system and data storage system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10884938B2 (en) 2018-12-13 2021-01-05 International Business Machines Corporation Method and apparatus for prefetching data items to a cache
CN110413235A (en) * 2019-07-26 2019-11-05 华中科技大学 A kind of data distributing method and system towards SSD duplicate removal
CN110990300A (en) * 2019-12-20 2020-04-10 山东方寸微电子科技有限公司 Cache memory replacement method and system based on use heat
CN110990300B (en) * 2019-12-20 2021-12-14 山东方寸微电子科技有限公司 Cache memory replacement method and system based on use heat

Similar Documents

Publication Publication Date Title
CN101673188B (en) Data access method for solid state disk
CN102364474B (en) Metadata storage system for cluster file system and metadata management method
CN104346357B (en) The file access method and system of a kind of built-in terminal
CN102981963B (en) A kind of implementation method of flash translation layer (FTL) of solid-state disk
CN103838853B (en) Mixed file system based on different storage media
US9996557B2 (en) Database storage system based on optical disk and method using the system
EP2846266B1 (en) Buffering management method and apparatus for non-volatile storage device
CN104699424B (en) A kind of isomery EMS memory management process based on page temperature
CN103019962A (en) Data cache processing method, device and system
CN107168652A (en) A kind of method of lifting SSD Cache reading performances
CN102799534A (en) Storage system and method based on solid state medium and cold-hot data identification method
CN104881369B (en) Towards the low memory cost hotspot data identification method of mixing storage system
CN109062505A (en) A kind of write performance optimization method under cache policy write-in layering hardware structure
CN105786410A (en) Method for increasing processing speed of data storage system and data storage system
CN102651009A (en) Method and equipment for retrieving data in storage system
CN107239569A (en) A kind of distributed file system subtree storage method and device
CN106354658B (en) A method of it reducing mapping table memory source in mixed-use developments algorithm and occupies
CN106844227A (en) Solid state hard disc abrasion equilibrium method and device based on grouping mechanism
CN101782922A (en) Multi-level bucket hashing index method for searching mass data
CN105653720A (en) Database hierarchical storage optimization method capable of achieving flexible configuration
CN101751225A (en) Data access method of hybrid hard drive
CN103548004B (en) The method and apparatus of dynamic data attemper is realized in file system
CN105205008B (en) Reduce the method that log blocks mapping table memory source occupies in mixed-use developments algorithm
CN102520885B (en) Data management system for hybrid hard disk
CN102521161B (en) Data caching method, device and server

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: 20170915