Method and device for aging caching objects

A cache and object technology, applied in the computer field, can solve the problems of low cache utilization and aging of cache objects, and achieve the effect of improving cache utilization.

Active Publication Date: 2010-11-17
ZTE CORP +1
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The main purpose of the present invention is to provide a method and device for cache object aging, to at least solve the problem of low cache utilization in the above-mentioned computer equipment due to the fact that cache objects that have not been used for a long time have not been aged

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0023] Various embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, see figure 1 The flow chart of the shown embodiment one includes the following steps:

[0024] S11: Predict the probability that each cache object will be accessed in the next cycle;

[0025] Various methods can be used to predict the probability of being accessed in the next cycle, such as using the probability of the previous cycle to predict, or using the probability prediction of multiple previous cycles.

[0026] S12: For each cache object, set the value weight according to the probability of being accessed in the next cycle and the weight of the occupied space; ...

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 method and device for aging caching objects. The method comprises the following steps of: forecasting the accessed probabilities of all caching objects in a next period; setting value weight numbers for all the caching objects according to the accessed probabilities in the next period and the weight numbers of occupied spaces; and aging the caching objects with the minimum value weight number. The invention also discloses the device for aging the caching objects. In the invention, the accessed probabilities of a next time are forecasted by adopting previous accessed probabilities in the aging operation process, and the spaces occupied by the caching objects are balanced so that the caching objects which are not used for a long time in computer equipment are aged, thereby the caching utilization ratio is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for caching object aging. Background technique [0002] In a system using cache technology, if the disk space is insufficient, the cache object with the least future value needs to be aged, and this cache object can be a specific file. The aging process of the cache object may be to delete the cache object with the smallest future value, or to set a flag that can be overwritten for the space occupied by the cache object with the smallest future value. The future value is mainly determined by two factors: the probability of being accessed and the size of the object. The greater the probability of being accessed, the greater the future value of the cache object; the larger the space occupied by the object, the smaller the future value, because in the same disk space, the more cache objects are stored, the higher the cache hit rate, The greater the va...

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): G06F12/08G06F12/123
Inventor 彭永祥李林段翰聪胡云鹏周扬
Owner ZTE CORP
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