Apparatuses, systems, and methods for low latency selection policy for memory commands
Abstract
Memory controller commands to be sent to a memory device may be prioritized based one or more factors. For instance, a memory controller may employ a first-ready, first-come, first-served (FRFCFS) policy in which certain types of commands (e.g., read) are prioritized over other types of commands (e.g., write). The policy may be modified so when deciding which bank to open, the bank with the oldest read command is opened. While continuing to issue commands per this modified FRFCFS policy, the controller may keep track of banks whose pages are ready to receive their respective read commands. Once a number of ready banks meets or exceeds a threshold, issuance of write commands are paused and read commands for the ready banks are issued.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 0.
Claims (17 — 3 Independent, 14 Dependent)
- Claim 1Independent Claim
A method comprising: receiving a plurality of commands at a controller; organizing the plurality of commands into a priority queue; selecting, from the priority queue, a command from the plurality of commands to issue to a memory device based on a first-ready, first-come, first-served (FRFCFS) command selection policy, wherein the FRFCFS command selection policy is modified such that a bank of the memory device associated with an oldest read command is opened; counting, with the controller, a number of banks ready to receive commands; comparing the number of the banks ready to a threshold value; and based on the comparing, preempting the modified FRFCFS command policy and selecting at least one read command of the plurality of commands associated with at least one of the banks ready to receive commands to issue to the memory device.
- Claim 2Depends on #1
The method of claim 1, further comprising selecting a second command from the plurality of commands to issue to the memory device according to the modified FRFCFS policy after the at least one read command has issued.
- Claim 3Depends on #1
The method of claim 1, further comprising: counting, with the controller, a number of read commands in the priority queue; and selecting the threshold value from a plurality of threshold values based, at least in part, on the number of read commands in the priority queue.
- Claim 4Depends on #3
The method of claim 3, wherein the threshold value is greater when the number of read commands in the priority queue is greater and the threshold value is lower when the number of read commands in the priority queue is lower.
- Claim 5Depends on #1
The method of claim 1, wherein counting the number of banks ready to receive commands comprises determining a bank is ready based, at least in part, on a timing parameter of the memory device.
- Claim 6Depends on #5
The method of claim 5, wherein the timing parameter comprises a row-to-column timing constraint (tRCD) of the memory device.
- Claim 7Depends on #6
The method of claim 6, wherein the bank is determined to be ready after the tRCD has elapsed.
- Claim 8Depends on #6
The method of claim 6, wherein the bank is determined to be ready at a time before the tRCD has elapsed based, at least in part, on a write-to-read turnaround time of the memory device.
- Claim 9Independent Claim
An apparatus comprising: a device timing parameter logic configured to store timing constraints of a memory device; a command queue configured to store a plurality of commands; a prioritization logic configured to select commands from the plurality of commands to issue to the memory device, wherein the commands are selected based, at least in part on the timing constraints and a first-ready, first-come, first-served (FRFCFS) command selection policy, wherein the FRFCFS command selection policy is modified such that a bank of the memory device associated with an oldest read command is opened; a counter configured to count a number of banks of the memory device ready to receive commands; a threshold value storage configured to store a threshold value; and a comparator configured to compare the number of banks ready to the threshold value and provide a result to the prioritization logic, wherein the prioritization logic is further configured to preempt the modified FRFCFS command policy and select at least one read command of the plurality of commands associated with at least one of the banks ready to receive commands to issue to the memory device.
- Claim 10Depends on #9
The apparatus of claim 9, further comprising: a second counter configured to count a number of read commands in the command queue and provide the number to the threshold value storage, wherein the threshold value storage is configured to store a plurality threshold values, and the threshold value is selected from the plurality of threshold values to be provided to the comparator based on the number of read commands in the command queue.
- Claim 11Depends on #10
The apparatus of claim 10, wherein the plurality of threshold values are greater when the memory device is a multi-rank memory device and lower when the memory device is a single rank memory device.
- Claim 12Depends on #9
The apparatus of claim 9, wherein the counter is configured to count a bank of the memory device as ready to receive a command when a row-to-column timing constraint (tRCD) of the memory device has elapsed.
- Claim 13Depends on #9
The apparatus of claim 9, wherein the counter is configured to count a bank of the memory device as ready to receive a command when a time less than the tRCD has elapsed, but no less than a time equal to tRC minus a write-to-read turnaround time of the memory device.
- Claim 14Independent Claim
A system comprising: a memory system comprising a plurality of memory devices; a host system configured to issue a plurality of commands; and a controller configured to receive the plurality of commands from the host system and issue the plurality of commands to the memory system, wherein the controller issues the plurality of commands based, at least in part on a first-ready, first-come, first-served (FRFCFS) command selection policy, wherein the FRFCFS command selection policy is modified such that a bank of at least one memory device of the plurality of memory devices associated with an oldest read command is opened, wherein based on a number of banks of the plurality of memory devices that are ready to receive commands, the controller preempts the modified FRFCFS command policy and issues at least one read command of the plurality of commands associated with at least one of the banks ready to receive commands to at least one of the plurality of memory devices.
- Claim 15Depends on #14
The system of claim 14, wherein the number of banks ready to receive commands that causes the controller to preempt the modified FRFCFS command policy is based, at least in part, on a number of read commands included in the plurality of commands.
- Claim 16Depends on #14
The system of claim 14, wherein the number of banks ready to receive commands that causes the controller to preempt the modified FRFCFS command policy is based, at least in part on a number of memory devices included in the memory system.
- Claim 17Depends on #14
The system of claim 14, wherein the controller is configured to resume the modified FRFCFS command policy after issuance of the at least one read command.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the filing benefit of U.S. Provisional Application No. 63/619,397, filed Jan. 10, 2024. This application is incorporated by reference herein in its entirety and for all purposes. TECHNICAL FIELD The present disclosure relates generally to memory, and more particularly, to apparatuses and methods associated with command selection policy. BACKGROUND Memory devices are typically provided as internal, semiconductor, integrated circuits in computers or other electronic devices. Data may be stored in memory cells, which can be arranged into arrays, with the arrays being used in the memory devices. There are many different types of memory including volatile and non-volatile memory. Volatile memory can require power to maintain its data and includes random-access memory (RAM), dynamic random access memory (DRAM), and synchronous dynamic random access memory (SDRAM), among others. Non-volatile memory can provide persistent data by retaining stored data when not powered and can include NAND flash memory, NOR flash memory, read only memory (ROM), Electrically Erasable Programmable ROM (EEPROM), Erasable Programmable ROM (EPROM), and resistance variable memory such as phase change random access memory (PCRAM), resistive random access memory (RRAM), and magnetoresistive random access memory (MRAM), among others. Various computing systems include processing resources (e.g., processors) that are coupled to memory devices, typically via a memory controller. The computing system (e.g., host system) may access the memory device via the memory controller in association with executing a set of instructions (e.g., a program, applications, etc.). The instructions may cause the memory controller to issue commands to the memory device. The memory device, memory controller, and/or both may implement a scheduling policy used to determine an order in which commands (e.g., reads and writes) based on the instructions received from
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (4)
| Patent | Title | Year | Citations |
|---|