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

Memory access system and method

A technology for accessing system and memory, applied in the field of memory, can solve the problems of serious cache redundant access and increased proportion of cache block replacement.

Active Publication Date: 2020-07-07
HUAWEI TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In multi-core processors, such as SMT processors, when multiple hardware threads share the cache, the probability that the cache blocks in the same cache line belong to the same thread is reduced, that is, after a cache block has been occupied by a thread, if When another thread also needs to access this cache block, all storage paths need to be enabled. After N times of tag comparison, it can be determined that the access is missing, and then the data in the cache block is replaced, and the data that needs to be accessed is retrieved from the memory. Therefore, the ratio of cache blocks occupied by different threads is increased, which makes the problem of cache redundant access more serious.

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
  • Memory access system and method
  • Memory access system and method
  • Memory access system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] 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 creative efforts fall within the protection scope of the present invention.

[0058] like figure 1 Shown is a structural diagram of a multi-way group memory, and the multi-way group memory is generally used as a memory cache. The multi-way group memory generally includes M×N storage blocks, each row of storage blocks forms a storage group (Set0-SetM), each row of storage blocks forms a storage way (Way0-WayN), and each storage group is provided with a group Identification, such as Set0-SetM, where M or N is a positive integer greater than o...

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

A memory access system and method, the system comprising: a memory (21), a controller (23) and a redundancy elimination unit (22); the memory is a multi-way group memory (21); the redundancy elimination Unit (22) records M record items, and each record item is used to preserve the label of the stored data block in each storage group; the controller (23) determines the read data block and the read data block the target storage group, sending a query message to the redundancy elimination unit (22), the query message carrying the group identifier of the target storage group of the read data block and the label of the read data block; the redundancy elimination The unit (22) determines the record item corresponding to the group identifier of the target storage group according to the group identifier of the target storage group of the read data block, and associates the label of the read data block with the target storage group of the read data block The tags of the stored data blocks in the corresponding record items are matched, and if the matching fails, a query response message of read data miss is sent to the controller (23).

Description

technical field [0001] The invention relates to the technical field of memory, in particular to a memory access system and method. Background technique [0002] On-chip high-speed cache (Cache) is an essential component in various types of processors such as single-core processors, multi-core processors, and many-core processors. The current cache structure generally adopts a way-set associative structure. However, when accessing a cache whose way groups are connected, it is necessary to enable all the cache ways (N ways) in the cache, and set the flag bit (Tag) fetched from the memory access address to all cache lines corresponding to the memory access address. The flag bits are compared in parallel, and the comparison result is obtained whether it is the same as one of the flag bits in the cache line. Each parallel comparison is at most the same as one of the flags in the cache line, and at this time it is called a cache hit (Cache Hit), that is, even in the case of a hit...

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/1045G06F12/0895G06F12/084G06F3/06
CPCG06F12/08G06F12/084G06F12/0895Y02D10/00G06F3/0608G06F3/0641G06F3/0659G06F3/0673G06F12/1045G06F2212/1044
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