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

A cache optimization method and system based on access frequency

A cache optimization and access frequency technology, applied in the direction of memory system, memory architecture access/allocation, climate sustainability, etc., can solve the problems of inapplicable scenarios, maintenance data access times, and cumbersome implementation, so as to solve space consumption and partial Inaccurate data, improve cache hit rate, and reduce resource consumption

Active Publication Date: 2022-07-08
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are two problems in the implementation of this kind of cache: one is the need to maintain the number of data accesses, this part of the data will also occupy memory space, and the implementation is cumbersome; the other is that some scenarios are not applicable, such as cached TV dramas, click on The rate is very high, but it decreases significantly after time passes, such high-frequency data should not be left in the cache
However, under high load, LRU still needs a lot of space to achieve the same cache hit rate as LFU

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
  • A cache optimization method and system based on access frequency
  • A cache optimization method and system based on access frequency
  • A cache optimization method and system based on access frequency

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make those skilled in the art better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0031] figure 1 A schematic flowchart of a cache optimization method based on an access frequency provided by an embodiment of the present invention is shown.

[0032] refer to figure 1 , the method of this embodiment includes the following steps:

[0033] S1. First, the frequency approximate statistical method is 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
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a cache optimization method and system based on access frequency, and relates to the technical field of server operation and maintenance management. The method includes: reducing the space required to maintain the cache frequency by adopting a frequency approximate statistical method; and then updating the access frequency of the cache based on the time change. The method reduces the space required for maintaining the cache frequency by adopting the frequency approximate statistical method, and solves the problem of consuming a large amount of computing and storage resources in maintaining high-frequency access metadata, and then uses a statistical method that is updated with the access frequency, The access frequency of the cache is updated based on the time change, which reduces the space occupation of frequency storage, and solves the problems of space consumption under high load and inaccuracy of some data existing in the existing LRU cache design. Based on the access frequency elimination strategy, the invention adopts a cache mechanism with low occupation and high hit rate, thereby reducing resource consumption and improving the cache hit rate.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of server operation and maintenance management, and in particular, to a cache optimization method and system based on access frequency. Background technique [0002] Caching is one of the most basic and effective ways to improve system performance. It achieves fast access by keeping a small number of data items in memory. The intuitive reason that caching works is that data access in many fields of computer science exhibits a considerable degree of locality. A more formal way to capture this locality is to describe the frequency of access to all possible data items through a probability distribution, And note that in real systems the probability distribution is highly skewed, which means that a few objects are visited more frequently than others. When an access arrives, if the requested data is in the cache, it is called a cache hit, and the ratio of the number of hits to the total nu...

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/126
CPCG06F12/126G06F2212/1021Y02D10/00
Inventor 丁麒森田琳
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD