Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for data caching processing

A processing method and data caching technology, which is applied in the field of computer science, can solve the problem of high miss rate in the first-level cache and achieve the effect of reducing the miss rate

Active Publication Date: 2015-11-25
HUAWEI TECH CO LTD +1
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a data cache processing method and device to overcome the technical problem of the high miss rate of the first-level cache in the prior art

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0068] figure 1 It is a flow chart of Embodiment 1 of the data cache processing method of the present invention, such as figure 1 As shown, the method of this embodiment may include:

[0069] Step 101: Receive an access response message sent by the memory, the access response message includes the accessed data and the address of the cache line, ...

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 invention provide a method and a device for data caching processing. The method for data caching processing comprises: receiving an access response message sent by internal storage, the access response message comprising accessed data and cache line addresses, the access response message being a response message corresponding to an access request message received by the internal storage when cache miss of each level cache; determining access frequency of the cache line addresses; and according to the access frequency, storing the access response message in the corresponding cache. The method and the device reduce miss rate of first level cache, and improve performance of a whole computer.

Description

technical field [0001] Embodiments of the present invention relate to computer science and technology, and in particular, to a data cache processing method and device. Background technique [0002] In the development of computer technology, the capacity of cache memory (English: Cache) is generally only a few hundredth of that of main memory, but its access speed can match that of CPU. Therefore, the use of Cache at the storage level solves the problem that the main memory access speed is slower than the central processing unit CPU operation speed. A Cache is composed of multiple cache memory lines (English: Cacheline), usually the size of each cacheline is between 32 bytes and 128 bytes. When the CPU accesses one or more bytes of the memory, it will extract a memory block of the same size as the cacheline from the memory to a Cacheline in the Cache, so that the CPU can access all the memory addresses corresponding to the Cacheline. Retrieving the result from the Cache doe...

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/08
Inventor 侯锐张乐乐张广飞江涛
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products