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

A cache replacement method and device

An algorithm and address technology, applied in the field of Cache replacement method and device, to achieve the effect of improving the hit rate

Active Publication Date: 2017-12-05
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the inventors have found that the prior art lacks a technology that can effectively determine the data that needs to be replaced in the Cache, that is, the prior art lacks an efficient Cache replacement method to achieve the above operations

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 replacement method and device
  • A cache replacement method and device
  • A cache replacement method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] 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 embodiments are only a part 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 those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0041] see figure 1 , which shows a flowchart of a Cache replacement method provided by an embodiment of the present invention, which may include the following steps:

[0042] S11: Acquire the message information of the currently accessed Cache (cache), and determine the first target address corresponding to the message information.

[0043] S12: Determine the current operating state of the server to which the Cache belongs, and dete...

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 replacement method and device. The Cache replacement method includes: acquiring message information currently accessing the Cache, determining the first target address corresponding to the message information; determining the current running status of the server to which the Cache belongs state, determining an optimal replaced second target address stored in the Cache according to the current running state; and replacing the second target address with the first target address. Thus, according to the current operating state of the server described in Cache, the second target address is determined, and the determined second target address meets the characteristics of the message information of the Cache that accesses the server when the server is in different operating states. Experiments have proved that the Cache replacement method It can effectively improve the hit rate of the Cache, and has the characteristics of high efficiency and accuracy.

Description

technical field [0001] The present invention relates to the technical field of multi-way server Cache design, and more particularly, to a Cache replacement method and device. Background technique [0002] With the development of multi-socket servers, the requirements for their performance are getting higher and higher; and improving the hit rate of the Cache in the multi-socket server is one of the important means to effectively improve the performance of the multi-socket server. [0003] When the data stored in the Cache reaches the upper limit of its capacity, it is necessary to replace part of the data stored in the Cache with the data to be used, so that the data to be used is normally used through the Cache to ensure the hit rate of the Cache. The key to realizing the above operation is how to determine the data that needs to be replaced in the Cache, that is, the data that needs to be removed. However, the inventor found that the prior art lacks a technology that can ...

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/12
Inventor 刘同强
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND