Caching method and caching device

A caching and caching space technology, applied in the computer field, can solve problems such as capitalization magnification, large data blocks, and insufficient potential of cached data

Active Publication Date: 2013-12-11
BEIJING ZHIGU RUI TUO TECH
View PDF7 Cites 43 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, this method only reduces the write volume of the flash SSD to a certain extent, and does not fully tap the potential of the cached data, and many writes are still inefficient or even unnecessary
Especially when the cache space is small and the cache hit rate is low, due to the large number of data blocks missing from the cache, the data blocks that meet the filtering conditions and enter the flash solid state drive are still

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
  • Caching method and caching device
  • Caching method and caching device
  • Caching method and caching device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0117] The method and device of the present invention are described in detail below with reference to the accompanying drawings and embodiments.

[0118] Usually, access to high-quality cached data is generally very intensive, but it is often mixed with some relatively large access intervals. Traditional methods generally delete these high-quality cached data when encountering these relatively large access intervals, and then delete them. Its writing, so many times, brings a lot of unnecessary writing volume, and for the cache storage medium with poor durability, its service life is greatly shortened. To solve this problem, as figure 1 As shown, the embodiment of the present invention provides a caching method, including:

[0119] S110: Determine the data block to be deleted that needs to be deleted from the non-volatile storage medium in the cache space according to the access situation of the data block;

[0120] S120: Select and delete data blocks to be deleted from the n...

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 discloses a caching method and a caching device. The caching method comprises the steps of determining a to-be-deleted data block needing to be deleted from an NV (Non-volatile) storage medium in a caching space according to the access situation of data blocks; selecting and deleting the to-be-deleted data block from the NV storage medium according to a preset data recovery condition. According to the caching method and the caching device, which are disclosed by the invention, the writing times of an NV storage device which is unbalanced in writing and poorer in duration can be reduced, and the service life of the NV storage device can be prolonged.

Description

technical field [0001] The invention relates to computer technology, in particular to a caching method and device. Background technique [0002] At present, in order to improve the service life and performance of flash solid-state drives, there are methods to filter the data to be written to the solid-state drive cache to reduce the amount of writing, such as the paper "Sieve Storage: A highly selective, cost-effective global disk cache (SieveStore: a highly-selective, ensemble-level disk cache for cost-performance)" discloses a filtering method that records the value of each data block in the entire storage The number of cache misses, only the data blocks with the number of cache misses greater than a certain threshold are allowed to be written to the disk cache based on the flash solid state drive, thereby reducing the write volume of the solid state drive and prolonging the service life of the flash memory. [0003] However, this method only reduces the write volume of t...

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
IPC IPC(8): G06F12/08G06F13/38G06F12/0804
Inventor 潘磊
Owner BEIJING ZHIGU RUI TUO TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products