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

Method and device for caching data

A technology for caching data and data, which is applied in the computer field, can solve problems such as the cache hit rate and cache access speed cannot meet the needs of customers, and the processing of many IO data blocks, so as to achieve logic and relevance of increase and decrease, size reduction, The effect of improving performance

Active Publication Date: 2020-05-19
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, several common data scheduling methods for caching software in the Linux system basically do not do too much processing on the IO data blocks delivered by the upper layer, and directly use the received IO data blocks to access the cache disk or the backend. The end mechanical disk is only optimized in terms of data access priority and access channels. For larger IO data blocks, the method of accessing the IO data block as a whole has a higher impact on the cache hit rate and cache access speed. Can not meet customer needs

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 caching data
  • Method and device for caching data
  • Method and device for caching data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to clearly illustrate the technical features of this solution, the present invention will be described in detail below through specific implementation modes and in conjunction with the accompanying drawings. The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. To simplify the disclosure of the present invention, components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and / or letters in different instances. This repetition is for the purpose of simplicity and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed. It should be noted that components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and processes are omitted herein to avoid unnecessarily limiting the...

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 data caching method and device. The method comprises the steps that S1, an IO data block issued from an upper layer is received and split into a plurality of small data blocks; S2, the small data blocks obtained after splitting are made to sequentially access a cache; S3, after access is completed, the small data blocks obtained after splitting are encapsulated into the IOdata block, and the IO data block is submitted to an upper-layer interface through a callback function. The device comprises a data splitting module, a data access module and a data encapsulation module, wherein the data splitting module is used for splitting the IO data block into the small data blocks; the data access module is used for realizing reading or writing access to the cache by the small data blocks; and the data encapsulation module is used for encapsulating the small data blocks into the complete IO data block. By means of splitting the IO data block issued from the upper layerinto smaller data blocks first and then making the small data blocks access the cache or a disk, the cache hit rate of an IO request is increased, and cache access speed is increased.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for caching data. Background technique [0002] In computer technology, cache is widely used, between CPU and memory, and in storage software. Data cache is an important determinant of the device's operating capability. It not only directly reflects the performance of the device, but also determines the range of hardware options. [0003] At present, several common data scheduling methods for caching software in the Linux system basically do not do too much processing on the IO data blocks delivered by the upper layer, and directly use the received IO data blocks to access the cache disk or the backend. The end mechanical disk is only optimized in terms of data access priority and access channels. For larger IO data blocks, the method of accessing the IO data block as a whole has a higher impact on the cache hit rate and cache access speed. Can not...

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 Patents(China)
IPC IPC(8): G06F12/0877G06F12/0895
CPCG06F12/0877G06F12/0895G06F2212/1021G06F2212/1024G06F2212/1032
Inventor 史顺玉
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD