Memory request handling method for small discontiguous accesses to high-density memory devices
View Patent ↗A memory read and write request handling method is performed by a memory controller which buffers incoming memory read and write requests and distributes the requests across multiple memory banks of a memory system in connection with client processes. The read and write requests are intelligently reordered utilizing grouping of both memory reads and memory writes in such a way to minimize the requests processing time while maintaining data coherency.
1. A memory request handling method comprising:
receiving by a memory controller of a first memory request directed to a first bank;
buffering the first memory request by the memory controller;
receiving by the memory controller of a second memory request directed to the first bank;
buffering the second memory request by the memory controller;
receiving by the memory controller of a third memory request to a second bank;
buffering the third memory request by the memory controller; and
handling the requests in such an order that a total time for handling the first, second, and third memory requests is minimized.
2. The method of claim 1 , wherein handling the requests comprises:
handling the first memory request;
after handling the first memory request, handling the third memory request;
after handling the third memory request, handling the second memory request; and
whereby the total time for handling the first, second, and third memory requests is minimized.
3. The method of claim 1 , wherein handling the requests comprises:
handling the second memory request;
after handling the second memory request, handling the third memory request;
after handling the third memory request, handling the first memory request; and
whereby the total time for handling the first, second, arid third memory requests is minimized.