Write request processing method and memory controller

A technology of a memory controller and a processing method, which is applied in the computer field, can solve problems such as a small number of write requests, low processing efficiency of write requests, failure to fully utilize memory storage space, etc., and achieve the effect of improving utilization and processing efficiency

Active Publication Date: 2017-01-04
HUAWEI TECH CO LTD +1
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although such a write request processing method ensures the consistency of the transaction, due to the existence of the memory gate, the number of concurrently processed write requests is small, which fails to make full use of the storage space in the memory, resulting in low write request processing efficiency.

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
  • Write request processing method and memory controller
  • Write request processing method and memory controller
  • Write request processing method and memory controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them.

[0036] In order to facilitate understanding, first combine figure 1 , generally introducing a computer system 100 provided by an embodiment of the present invention. Such as figure 1 As shown, the computer system 100 includes a central processing unit (Central Processing Unit, CPU) 110 , a memory controller 120 and a memory 130 . The CPU 110 is configured to send the write request of the transaction to the write request queue of the memory controller 120 .

[0037] Such as figure 1 As shown, the CPU 110 is the computing core (Core) and the control core (Control Unit) of the computer system 100 . CPU 110 may be a VLSI. An operating system and other software programs ...

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 write request processing method and a memory controller. The method comprises: determining that the number of write requests in a first write request set to be scheduled is less than the number of unoccupied storage units in a memory, wherein a first memory barrier exists between the write requests in the first write request set and other write requests in a write request queue; determining a second write request set, wherein the write requests in the second write request set are log write requests, the write requests in the second write request set are located behind the first memory barrier in the write request queue, and the sum of the number of the write requests in the second write request set and the number of the write requests in the first write request set is not greater than the number of the unoccupied storage units in the memory; and sending the write requests in the first write request set and the write requests in the second write request set in parallel into the unoccupied different storage units of the memory. The invention increases the efficiency of processing write requests.

Description

technical field [0001] The present invention relates to the field of computers, and more specifically, to a method for processing write requests and a memory controller. Background technique [0002] Non-volatile memory (Non-Volatile Memory, NVM) is a new type of memory, which has many advantages, such as addressing by byte, data is not lost after power failure, high storage density, no need for frequent refresh, and can Therefore, it is very suitable as memory (or main memory). However, NVM also has some shortcomings, such as relatively long write delay, limited number of writes, etc. NVM can form a hybrid memory together with existing Dynamic Random Access Memory (DRAM). Temporary data generated by applications can be stored in DRAM, and persistent data generated by applications can be stored in NVM. [0003] NVM is used as a memory, and the existing architecture and software architecture need to be redesigned or optimized. A feasible method is to use software transacti...

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): G06F3/06
CPCG06F9/46G06F9/466G06F9/52G06F3/0608G06F3/0641G06F3/065G06F3/0688
Inventor 舒继武孙龙王元钢
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products