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

Cache memory access method and apparatus

A high-speed cache and memory technology, applied in the computer field, can solve the problems of reducing Cache access speed, increasing Cache compression delay and power consumption, and low compression rate

Inactive Publication Date: 2017-12-26
LOONGSON TECH CORP
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, if the overall dictionary-based compression is performed with a larger cache line unit, the delay and power consumption of Cache compression will be increased, and the access speed of Cache will be reduced. Therefore, in order to ensure the delay of Cache access, only The basic unit of data compression is the cache line, so that the compression rate of the Cache is low

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 memory access method and apparatus
  • Cache memory access method and apparatus
  • Cache memory access method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] 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 making creative efforts belong to the protection scope of the present invention.

[0021] figure 1 It is a flow chart of the cache memory access method provided in Embodiment 1 of the present invention. The cache memory access method provided in this embodiment may be executed by a cache memory access device, such as a Cache controller. Such as figure 1 As shown, the access method of the cache memory provided in this embo...

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 provides a cache memory access method and apparatus. The cache memory access method comprises the steps of determining a to-be-compressed cache block as a first block in region (FBR) in a cache region or a successive block in region (SBR) in the cache region according to an address of the to-be-compressed cache block and a first preset threshold, wherein the cache region is located in a cache memory and comprises a quantity of cache blocks with continuous addresses, and the quantity is equal to the first preset threshold; and if the to-be-compressed cache block is determined as the SBR and the cache memory is determined to hit the FBR, performing dictionary-based data compression on the SBR according to FBR dictionary items stored in the FBR to generate compressed SBR data. According to the cache memory access method provided by the invention, the whole cache region is subjected to the data compression by a compression delay of the single cache block, so that the Cache compression rate is increased.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method and device for accessing a cache memory. Background technique [0002] Cache Memory (Cache for short) is a memory between the Central Processing Unit (Central Processing Unit, CPU for short) and the memory. When the CPU accesses the memory, it first judges whether the content to be accessed is in the Cache. If so, It is called a "hit", and the CPU can directly call the content to be accessed from the Cache, otherwise, it is called a "miss", and the CPU can only call the content to be accessed in the memory, because the access speed of the Cache is faster than that of the memory Several times or even ten times, therefore, for the content to be accessed by the CPU, it is usually copied from the memory to the Cache in advance. However, the storage capacity of the Cache is relatively small, so the data stored in the Cache is usually data compressed using a Cache compressi...

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
IPC IPC(8): G06F12/0893
CPCG06F12/0893
Inventor 曾露李鹏王焕东
Owner LOONGSON TECH CORP
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