# US 2017/0255395 A1 · Dram controller with adaptive precharge policy

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0255395 A1
- Document ID: US20170255395A1
- Status: Published application
- Kind: A1
- Application number: 15/444,342
- Filed: 2017-02-28
- Published: 2017-09-07
- Earliest claimed: 2016-03-01
- Assignees: Marvell World Trade Ltd.
- Applicants: Marvell World Trade Ltd.
- Inventors: Michael Weiner; Hunglin Hsu; Nadav Klein; Junhua Xu; Chia-Hung Chien
- Web page: https://patentgrep.com/patent/US20170255395A1

## CPC

- G06F 3/0611: {in relation to response time}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/068: {Hybrid storage device}
- G06F 13/00: Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units (interface circuits for specific input/output devices G06F3/00 {; multiprogram control therefor G06F9/46}; multiprocessor systems G06F15/16 )
- G06F 13/1694: {Configuration of memory controller to different memory types}
- G11C 11/4094: Bit-line management or control circuits
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A Dynamic Random Access Memory (DRAM) controller includes a memory interface and a processor. The memory interface is configured to communicate with a DRAM including one or more memory banks. The processor is configured to receive Input/Output (I/O) commands, each I/O command addressing a respective memory bank and a respective row within the memory bank to be accessed in the DRAM, to further receive one or more indications, indicative of likelihoods that a subsequent I/O command will address a same row in a same memory bank as a previous I/O command, to adaptively set, based on the indications, a policy of deactivating rows of the DRAM, and to execute the I/O commands in the DRAM in accordance with the policy.

## Claims

### Claim 1

A Dynamic Random Access Memory (DRAM) controller, comprising:
a memory interface, configured to communicate with a DRAM comprising one or more memory banks; and
a processor, which is configured:
to receive Input/Output (I/O) commands, each I/O command addressing a respective memory bank and a respective row within the memory bank to be accessed in the DRAM;
to further receive one or more indications, indicative of likelihoods that a subsequent I/O command will address a same row in a same memory bank as a previous I/O command;
to adaptively set, based on the indications, a policy of deactivating rows of the DRAM; and
to execute the I/O commands in the DRAM in accordance with the policy.

### Claim 2 (depends on 1)

The DRAM controller according to claim 1, wherein the processor is configured to adaptively set the policy by choosing between a first type of the I/O command that automatically deactivates the row following execution, and a second type of the I/O command that retains the row active following the execution.

### Claim 3 (depends on 2)

The DRAM controller according to claim 2, wherein the first type of the I/O command performs automatic row deactivation, and the second type of the I/O command does not perform automatic row deactivation.

### Claim 4 (depends on 1)

The DRAM controller according to claim 1, wherein the processor is configured to adaptively set the policy by increasing a rate of deactivating the rows in response to a decrease in the likelihoods, and decreasing the rate of deactivating the rows in response to an increase in the likelihoods.

### Claim 5 (depends on 1)

The DRAM controller according to claim 1, wherein the processor is configured to adaptively set the policy by increasing a rate of deactivating the rows when the indications indicate that the I/O commands have a random access pattern, and decreasing the rate of deactivating the rows when the indications indicate that the I/O commands have a sequential access pattern.

### Claim 6 (depends on 1)

The DRAM controller according to claim 1, wherein the processor is configured to adaptively set the policy by increasing a rate of deactivating the rows when the indications indicate that the I/O commands have a bandwidth lower than a bandwidth threshold, and decreasing the rate of deactivating the rows when the indications indicate that the I/O commands have a bandwidth higher than the bandwidth threshold.

### Claim 7 (depends on 1)

The DRAM controller according to claim 1, wherein the processor is configured to adaptively set the policy by setting, based on the indications, a time duration from execution of an I/O command in a row until deactivation of the row.

### Claim 8

A method for controlling a Dynamic Random Access Memory (DRAM) comprising one or more memory banks, the method comprising:
receiving Input/Output (I/O) commands, each I/O command addressing a respective memory bank and a respective row within the memory bank to be accessed in the DRAM;
receiving one or more indications, indicative of likelihoods that a subsequent I/O command will address a same row in a same memory bank as a previous I/O command;
adaptively setting, based on the indications, a policy of deactivating rows of the DRAM; and
executing the I/O commands in the DRAM in accordance with the policy.

### Claim 9 (depends on 8)

The method according to claim 8, wherein executing an I/O command in accordance with the policy comprises choosing between a first type of the I/O command that automatically deactivates the row following execution, and a second type of the I/O command that retains the row active following the execution.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the first type of the I/O command performs automatic row deactivation, and the second type of the I/O command does not perform automatic row deactivation.

### Claim 11 (depends on 8)

The method according to claim 8, wherein adaptively setting the policy comprises increasing a rate of deactivating the rows in response to a decrease in the likelihoods, and decreasing the rate of deactivating the rows in response to an increase in the likelihoods.

### Claim 12 (depends on 8)

The method according to claim 8, wherein adaptively setting the policy comprises increasing a rate of deactivating the rows when the indications indicate that the I/O commands have a random access pattern, and decreasing the rate of deactivating the rows when the indications indicate that the I/O commands have a sequential access pattern.

### Claim 13 (depends on 8)

The method according to claim 8, wherein adaptively setting the policy comprises increasing a rate of deactivating the rows when the indications indicate that the I/O commands have a bandwidth lower than a bandwidth threshold, and decreasing the rate of deactivating the rows when the indications indicate that the I/O commands have a bandwidth higher than the bandwidth threshold.

### Claim 14 (depends on 8)

The method according to claim 8, wherein adaptively setting the policy comprises setting, based on the indications, a time duration from execution of an I/O command in a row until deactivation of the row.

### Claim 15

A system, comprising:
a Dynamic Random Access Memory (DRAM) comprising one or more memory banks;
one or more clients, which are configured to issue Input/Output (I/O) commands, each I/O command addressing a respective memory bank and a respective row within the memory bank to be accessed in the DRAM, and to provide one or more indications, indicative of likelihoods that a subsequent I/O command will address a same row in a same memory bank as a previous I/O command; and
a DRAM controller, configured to receive the I/O commands and the indications from the one or more clients, to adaptively set, based on the indications, a policy of deactivating rows of the DRAM, and to execute the I/O commands in the DRAM in accordance with the policy.
