Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for controlling input and output flow of SSD cache

A flow control, input and output technology, applied in the direction of input/output to record carriers, instruments, electrical digital data processing, etc., can solve the problems of denial of service, inability to install and use, and high prices

Active Publication Date: 2014-04-16
TSINGHUA UNIV
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, the IO (Input / Output, input and output) speed of traditional storage (such as disk) has obviously become the storage performance bottleneck, and SSD (Solid State Disk, solid state drive) is used as the storage, so that the IO speed of the storage has been significantly improved, but due to The price of SSD is relatively high, and it cannot be installed and used in the entire storage, so it is used as a cache (Cache) in the prior art, that is, SSD is used as a layer of cache between the memory (memory) and the hard disk (external storage) (Cache) to buffer data to improve IO bandwidth and response speed, called SSD cache (SSD Cache)
[0003] In the SSD cache method implemented in the prior art, a problem needs to be solved, that is, in the case of heavy IO pressure, the space of the SSD cache will be consumed quickly. The data is written back to the destination disk. Since the IO speed of the disk is significantly slower than the IO speed of the SSD, compared with the cache (Cache), the inflow IO speed is much faster than the outflow IO speed, which will cause the cache (Cache) space to be exhausted. , resulting in bad situations such as denial of service

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for controlling input and output flow of SSD cache
  • Method and device for controlling input and output flow of SSD cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to solve the problems existing in the prior art and provide better service quality for IO, in the embodiment of the present invention, by monitoring the usage of the SSD cache (SSD Cache) device space and the flush (cache clearing) speed, dynamically adjust the inflow and outflow IO speed.

[0053] The physical space of the SSD cache device used as a cache is limited. After writing a certain amount of cache data, the space of the SSD cache device will be consumed slowly, and the free space will gradually decrease. If no processing is done, when the free space is zero , write requests cannot be cached. Therefore, it is necessary to monitor and adjust the space of the SSD cache device, and flush the cached cache data (occupying the cache space) to the destination disk. During this process, the change of the SSD cache device space depends on the incoming write request speed (inflow speed) and flush speed (outflow speed), in order to make the SSD cache device spac...

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

PUM

No PUM Login to View More

Abstract

The invention provides a method and device for controlling input and outlet flow of an SSD cache. The method comprises the steps that disk data of reading and writing processes or threads of a disk are intercepted, and the disk data are cached to the space of an SSD cache device to be used as cache data; whether the cache data are wiped to an external objective disk through a cache wiping thread is detected; cache wiping processing is judged and conducted; a scaling factor is generated through calculation, the cache data wiping speed of the SSD cache device is adjusted according to the scaling factor, and SSD cache flow is controlled until the cache utilization rate of the SSD cache device is lower than a preset second preset ratio. According to the method and device, IO flow entering in the SSD cache is dynamically controlled according to the IO flow of the external disk, and SSD space and performance are maximally used for meeting the demand of users.

Description

technical field [0001] The invention relates to the technical field of computer storage control, in particular to an input-output (IO) flow control method and an SSD cache device using SSD (Solid State Drive) as a cache for SSD cache. Background technique [0002] At present, the IO (Input / Output, input and output) speed of traditional storage (such as disk) has obviously become the storage performance bottleneck, and SSD (Solid State Disk, solid state drive) is used as the storage, so that the IO speed of the storage has been significantly improved, but due to The price of SSD is relatively high, and it cannot be installed and used in the entire storage, so it is used as a cache (Cache) in the prior art, that is, SSD is used as a layer of cache between the memory (memory) and the hard disk (external storage) (Cache) to buffer data to improve IO bandwidth and response speed, called SSD cache (SSD Cache). [0003] In the SSD cache method implemented in the prior art, a probl...

Claims

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/16G06F3/06
Inventor 裴金干刘虹越王术王旭光
Owner TSINGHUA UNIV