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

Memory access method and device

A memory access and cache queue technology, applied in the computer field, can solve problems such as different BGs and unbalanced access

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

AI Technical Summary

Problems solved by technology

However, this method is only applicable to the access mode in which the system address is continuously incremented. For the system address changing at a high level, or other irregular access modes, it cannot make the BGs to which the multiple commands continuously sent by the processor to the MC belong are different, thus also It is impossible to realize the balanced access of subsequent MCs to each BG

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Figure 2A It is a schematic diagram of an implementation environment involved in a memory access method provided by an embodiment of the present invention. see Figure 2A , the implementation environment may include: a processor 201 , an MC 202 and a memory system 203 . Wherein, the processor 201 may be a CPU, a GPU, or the like. MC202 may include a command buffer queue and a command execution queue. The memory system 203 may include multiple BGs. Among them, the processor 201 can send the command to be executed to the MC202; when the MC202 receives the command sent by the processor 201, it can cache the command in the command cache queue, and then the MC202 can continuously select from the command cache queue The command is added to the command execution queue, and the commands included in the command execution queue are continuously executed to access the BG in the memory system 203 .

[0053] Wherein, when the MC202 executes the commands included in the command...

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 application discloses a memory access method and device, belonging to the technical field of computers. The method comprises the following steps: determining a memory bank group BG to which a first instruction belongs during the process of executing instructions included in an instruction execution queue, wherein the first instruction is a last instruction included in the instruction executionqueue to be executed; when different instructions belonging to the same BG as the first instruction are present in an instruction buffer queue, selecting one instruction from the different instructions in the BG as a second instruction, wherein the different instructions belong to the same BG as the first instruction; and adding the second instruction into the instruction execution queue and accessing all BGs in a memory system in a balanced manner according to the instruction execution queue. The different instructions in the instruction buffer queue belonging to the same BG as the first instruction are always prioritized to add in the instruction execution queue. Therefore, instructions belonging to all BGs in the instruction execution queue are made balanced. Accordingly, balanced access of all the BGs in the subsequent period is ensured.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of computers, and in particular to a memory access method and device. Background technique [0002] In a computer system, processors such as a central processing unit (Central Processing Unit, CPU) and a graphics processing unit (Graphics Processing Unit, GPU) usually access a memory system through a memory controller (Memory Controller, MC). Specifically, the processor can send the command to be executed to the MC; after the MC receives the command, it can execute the command to access the memory system. Wherein, the memory system may be implemented by a fourth-generation double data rate synchronous dynamic random access memory (Double-Data-Rate Fourth Generation Synchronous Dynamic Random Access Memory, DDR4 SDRAM). [0003] Such as Figure 1A As shown, the DDR4 SDRAM includes a plurality of bank groups (Bank Group, BG), and each BG in the plurality of BG includes a plurality of...

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/0877
CPCG06F12/0877
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