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

Cache replacing method, cache controller and processor

A cache replacement and memory controller technology, applied in the communication field, can solve problems such as poor line buffer hit rate and impact on memory access performance

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

AI Technical Summary

Problems solved by technology

In the existing mechanism, affected by the cache (cache) replacement strategy, the address of the request sent to the memory is relatively random. Therefore, the line buffer hit rate is poor, which affects the memory access performance

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
  • Cache replacing method, cache controller and processor
  • Cache replacing method, cache controller and processor
  • Cache replacing method, cache controller and processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0085] 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.

[0086] figure 1 It is a schematic diagram of the existing memory reading and writing principle, such as figure 1 As shown, the memory access request address sequence includes three memory access requests, and the access sequence is: cache line (cacheline) A0, cache line B0 and cache line A1, and cache line A0 and cache line A1 belong to the same ...

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 embodiment of the invention provides a cache replacing method, a cache controller and a processor. The method comprises the following steps that: the cache controller determines an associated cache pool of a cache line to be replaced, wherein each associated cache row in the associated cache pool and the cache row to be replaced belong to the same memory row; a cache row to be written back is further determined from the associated cache pool according to the access information of the associated cache row; and data in the cache row to be replaced and the cache row to be written back are simultaneously written into a memory. The cache row to be replaced and the cache row to be written back belong to the same memory row, so that the hit rate of the cache region can be improved; and the memory access performance is improved. The cache controller further determines the cache row to be written back from the associated cache pool according to the access information of the associated cache row, and only the cache row to be written back in the associated cache pool is written into the memory, so that the number of the memory writing times can be reduced; and the service life of the memory is prolonged.

Description

technical field [0001] Embodiments of the present invention relate to communication technologies, and in particular, to a cache replacement method, a cache controller, and a processor. Background technique [0002] With the development of big data applications, there are higher and higher requirements for memory capacity and access speed, and the commonly used Dynamic Random-Access Memory (Dynamic Random-Access Memory, DRAM for short) can no longer meet the requirements. A new type of non-volatile memory (Non-Volatile Memory, referred to as NVM) born thereupon is expected to replace DRAM as a memory system in a computer system due to its advantages of large capacity and low power consumption. However, the read and write latency of existing NVM is higher than that of DRAM, and the number of writes is limited. [0003] The read-write mechanism inside NVM is similar to that of DRAM. NVM has a row buffer (Rowbuffer) to save the data in the most recently accessed memory row. The...

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/12
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