Abstract:
In a method for accessing an extended memory, after receiving a first memory access request from a processor system in a computer, an extended memory controller sends a read request for obtaining to-be-accessed data to the extended memory and return, to the processor system, a first response message indicating the to-be-accessed data has not been obtained. The extended memory controller writes the to-be-accessed data into a data buffer after receiving the to-be-accessed data returned by the extended memory. After receiving, from the processor system, a second memory access request comprising a second access address, the extended memory controller returns, to the processor system, the to-be-accessed data in the data buffer in response to the second memory access request, wherein the second access address is different from the first access address and points to the physical address of the to-be-accessed data.
Abstract:
A memory management method and a device, where the method includes: receiving a memory access request, where the memory access request carries a virtual address; determining a page fault type of the virtual address if finding, in a translation lookaside buffer TLB and a memory, no page table entry corresponding to the virtual address; allocating a corresponding page to the virtual address if the page fault type of the virtual address is a blank-page-caused page fault, where the blank-page-caused page fault means that no corresponding page is allocated to the virtual address; and updating the page table entry corresponding to the virtual address to the memory and the TLB. The memory manager does not generate a page fault when a blank-page-caused page fault occurs, but allocates a corresponding page to the virtual address. Therefore, a quantity of occurrences of the page fault is reduced, thereby improving memory management efficiency.
Abstract:
A memory access processing method is based on memory chip interconnection, a memory chip, and a system, which relate to the field of electronic devices, and can shorten a time delay in processing a memory access request and improve a utilization rate of system bandwidth. The method of the present invention includes: receiving, by a first memory chip, a memory access request; and if the first memory chip is not a target memory chip corresponding to the memory access request, sending, according to a preconfigured routing rule, the memory access request to a next memory chip connected with the first memory chip, until the target memory chip corresponding to the memory access request is determined. Embodiments of the present invention are mainly used in a process of processing a memory access request.
Abstract:
A message-based memory access apparatus and an access method thereof are disclosed, The message-based memory access apparatus includes: a message-based command bus, configured to transmit a message-based memory access instruction generated by the CPU to instruct a memory system to perform a corresponding operation; a message-based memory controller, configured to package a CPU request into a message packet and sent the packet to a storage module, and parse a message packet returned by the storage module and return data to the CPU; a message channel, configured to transmit a request message packet and a response message packet; and the storage module, including a buffer scheduler, and configured to receive the request packet from the message-based memory controller and process the corresponding request.
Abstract:
In a non-volatile memory (NVM) persistence method, a memory controller maintains a plurality of memory write instruction sets that are locked separately for persistence of write operations. A credit value for monitoring a quantity of completed write instructions is configured for each of the plurality of memory write instruction sets, and a credit value is also configured for each of a plurality of medium write instruction sets maintained by a medium controller and corresponding respectively to the memory write instruction sets. After a memory write instruction set is locked in response to a persistence query, the credit value of a corresponding medium write instruction set is used as means for the memory controller to determine whether the write instructions in the locked memory write instruction set have been completed by the medium controller.
Abstract:
In a non-volatile memory (NVM) persistence method, a memory controller maintains a plurality of memory write instruction sets that are locked separately for persistence of write operations. A credit value for monitoring a quantity of completed write instructions is configured for each of the plurality of memory write instruction sets, and a credit value is also configured for each of a plurality of medium write instruction sets maintained by a medium controller and corresponding respectively to the memory write instruction sets. After a memory write instruction set is locked in response to a persistence query, the credit value of a corresponding medium write instruction set is used as means for the memory controller to determine whether the write instructions in the locked memory write instruction set have been completed by the medium controller.
Abstract:
A storage system includes a memory controller and a memory device, and the memory device includes a medium controller, a memory, and a buffer. The medium controller is configured to write, into the buffer after receiving an access request, data requested by the access request. The memory controller is configured to send a query request to the medium controller after sending the access request to the medium controller, where the query request is used to query whether data has been written into the buffer. The medium controller is further configured to determine, based on the query request, whether data has been written into the buffer, and send the data that has been written into the buffer to the memory controller when there is data in the buffer.
Abstract:
A memory access processing method is based on memory chip interconnection, a memory chip, and a system, which relate to the field of electronic devices, and can shorten a time delay in processing a memory access request and improve a utilization rate of system bandwidth. The method of the present disclosure includes receiving, by a first memory chip, a memory access request; and if the first memory chip is not a target memory chip corresponding to the memory access request, sending, according to a preconfigured routing rule, the memory access request to a next memory chip connected with the first memory chip, until the target memory chip corresponding to the memory access request is determined. Embodiments of the present disclosure are mainly used in a process of processing a memory access request.
Abstract:
A method for reducing power consumption of a memory system and a memory controller are provided. The method for reducing power consumption of a memory system includes: determining whether a dynamic random access memory DRAM memory module with a low access frequency exists in a memory system; when a DRAM memory module with a low access frequency exists, transfer, according to a size of a working set in the memory system, page data that does not belong to the working set to a non-volatile memory NVM memory module, where the page data that does not belong to the working set is page data that does not need to be accessed when a process runs within preset time.