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

A memory computing cache management method and device

A cache management and memory computing technology, applied in the storage field, can solve problems such as reducing the data hit rate and increasing the running time of memory computing applications, so as to improve the hit rate and save the running time.

Active Publication Date: 2020-06-12
BEIJING UNIV OF POSTS & TELECOMM
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The purpose of the embodiment of the present invention is to provide a memory computing cache management method and device, which is used to solve the problem that in the prior art, data that will be less accessed in the future will be cached and evicted multiple times, which will not only reduce the hit rate of data, but also and technical issues that increase the runtime of in-memory computing applications

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 memory computing cache management method and device
  • A memory computing cache management method and device
  • A memory computing cache management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0062] Aiming at the problem of the existing technology that data that is less accessed in the future will be cached and evicted multiple times, which will not only reduce the hit rate of the data, but also increase the running time of the memory computing application, the embodiment of the present invention provides a memory Calculate the cache management method and device, determine the importance of the data block through the cost of using the data block, an...

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

Embodiments of the present invention provide a memory computing cache management method and device, wherein the memory computing cache management method includes: when there is a new data block that needs to be cached in the memory, obtaining the cost of using the data block, the data block includes : the new data block and the original data block in the memory, the cost at least includes: the reference cost of the data block, the cost also includes: the calculation cost of the data block and / or the data block storage cost; based on the cost of using the data block, determine the importance of the data block; if it is determined that the remaining space in the memory is not enough to cache the new data block, store the original data block The data block with the least importance is expelled from the memory; the data block with the greatest importance in the new data block is selected as the target data block; when it is determined that the remaining space is enough to provide available space for the target data block , cache the target data block into the memory.

Description

technical field [0001] The present invention relates to the field of storage, in particular to a memory computing cache management method and device. Background technique [0002] In recent years, the memory data required by the computing system has been increasing, so it is necessary to provide a larger memory space for the memory data computing technology. Currently, in-memory data processing frameworks are widely used in applications such as machine learning, graph computing, and stream processing. Random access memory (RAM for short) is used as memory. Since the speed of RAM access to data is several orders of magnitude faster than the speed of data access from hard disk and network, the speed of executing applications by the memory data processing framework also increases. Substantial improvement. However, the high price of RAM leads to limited memory resources, and only part of the data can be cached in memory. Based on this, memory computing cache needs to be manage...

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): G06F3/06
CPCG06F3/064G06F3/0644G06F3/0656
Inventor 张海涛赵正阳马华东耿欣李奥星
Owner BEIJING UNIV OF POSTS & TELECOMM