# US 2019/0377504 A1 · DRAM Bank Activation Management

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

- Number: US 2019/0377504 A1
- Document ID: US20190377504A1
- Status: Published application
- Kind: A1
- Application number: 16/548,290
- Filed: 2019-08-22
- Published: 2019-12-12
- Earliest claimed: 2017-11-16
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Dharmesh Parikh; Stephen J. Powell; Venkata K. Tavva
- Web page: https://patentgrep.com/patent/US20190377504A1

## CPC

- G06F 3/0625: {Power saving in storage systems}
- G06F 11/3037: {where the computing system component is a memory, e.g. virtual memory, cache (accessing, addressing or allocating within memory systems or architectures G06F12/00; checking stores for correct operation G11C29/00)}
- G06F 3/0634: {by changing the state or mode of one or more devices}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0683: {Plurality of storage devices}
- G06F 11/00: Error detection; Error correction; Monitoring (error detection, correction or monitoring in information storage based on relative movement between record carrier and transducer G11B20/18; monitoring, i.e. supervising the progress of recording or reproducing G11B27/36; in static stores G11C29/00)
- G06F 11/3433: {for load management (allocation of a server based on load conditions G06F9/505; load rebalancing G06F9/5083; redistributing the load in a network by a load balancer H04L67/1029)}
- 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 )
- G11C 11/4072: Circuits for initialization, powering up or down, clearing memory or presetting
- G11C 11/4076: Timing circuits (for regeneration management G11C11/406)
- G11C 11/4096: Input/output [I/O] data management or control circuits, e.g. reading or writing circuits, I/O drivers or bit-line switches
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A system, method, and computer program product are provided herein to manage DRAM bank activation per cycle. A memory controller with embedded scheduling logic is employed to manage the system, method, and computer program product and to restrict the quantity of active banks in a given cycle, resulting in power savings with minimal performance loss, if any. The scheduling logic provides instructions to manage the state of associated DRAM banks. Each bank is either in an idle state or an active state, with the idle state consuming less power than the active state. The scheduling logic restricts the quantity of active banks in any cycle, with all other banks being in an idle state, which provides power savings to the associated system.

## Claims

### Claim 1

A computer system comprising:
a processing unit operatively coupled to DRAM;
memory controller operatively coupled to the DRAM, the memory controller operatively coupled a read queue and a write queue;
the memory controller to manage the DRAM, including:
track a quantity of outstanding CAS commands in one of the queues in relation to a tracked operating state of each bank, wherein the outstanding CAS commands are selected from the group consisting of: under-service of the CAS, and waiting for service of the CAS;
for each cycle, identify the tracked quantity of CAS commands waiting for service in a selected queue for the current cycle, and assess the identified quantity in view of a predefined ratio; and
manage the operating state of the banks based on the cycle assessment, including individually control the operating state of each of the banks, wherein the idle state consumes less power than the active state, and individual control of the operating state includes delaying activation of an idle bank.

### Claim 2 (depends on 1)

The system of claim 1, wherein management of the operating state of the tracked banks further comprises the memory controller to restrict the quantity of active banks for the current cycle.

### Claim 3 (depends on 2)

The system of claim 2, further comprising the memory controller to schedule issuance of an activate command to an idle bank, wherein the scheduling includes the memory controller to delay activation of the idle bank based on the cycle assessment.

### Claim 4 (depends on 1)

The system of claim 1, further comprising the memory controller to identify at least two banks in the idle state, and select one of the banks responsive a scheduling policy, and change the state of the selected bank from idle to active.

### Claim 5 (depends on 4)

The system of claim 4, wherein the scheduling policy includes for each cycle tracking a number of active banks in each rank and a number of CAS commands under service or waiting for service to the active banks in relation to the ratio.

### Claim 6 (depends on 1)

The system of claim 1, wherein the predefined ratio is calculated by a memory scheduler.

### Claim 7 (depends on 1)

The system of claim 1, wherein the predefined ratio is configurable.

### Claim 8

A computer program product for managing DRAM, the computer program product comprising a computer readable storage device having program code embodied therewith, the program code executable by a processing unit to:
track a quantity of outstanding CAS commands in a request queue in relation to a tracked operating state of each bank, wherein the outstanding CAS commands are selected from the group consisting of: under-service of the CAS, and waiting for service of the CAS;
for each cycle, identify the tracked quantity of CAS commands waiting for service in a selected queue for the current cycle, and assessing the identified quantity in view of a predefined ratio; and
manage the operating state of the banks based on the cycle assessment, including individually control the operating state of each of the banks, wherein the idle state consumes less power than the active state, and individual controlling the operating state includes delaying activation of an idle bank.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein the program code to manage an operating state of the tracked banks further comprises, program code to restrict the quantity of active banks for the current cycle.

### Claim 10 (depends on 9)

The computer program product of claim 9, further comprising program code to schedule issuance of an activate command to an idle bank, including program code to delay activation of the idle bank based on the cycle assessment.

### Claim 11 (depends on 8)

The computer program product of claim 8, further comprising program code to identify at least two banks in the idle state, and select one of the banks responsive a scheduling policy, and change the state of the selected bank from idle to active.

### Claim 12 (depends on 11)

The computer program product of claim 11, wherein the scheduling policy includes for each cycle program code to track a number of active banks in each rank and a number of CAS commands under service or waiting for service to the active banks in relation to the ratio.

### Claim 13 (depends on 8)

The computer program product of claim 8, wherein the predefined ratio is calculated by a memory scheduler.

### Claim 14 (depends on 8)

The computer program product of claim 8, wherein the predefined ratio is configurable.

### Claim 15

A computer implemented method for managing DRAM comprising:
tracking a quantity of outstanding CAS commands in a request queue in relation to a tracked operating state of each bank, wherein the outstanding CAS commands are selected from the group consisting of: under-service of the CAS, and waiting for service of the CAS;
for each cycle, identifying the tracked quantity of CAS commands waiting for service in a selected queue for the current cycle, and assessing the identified quantity in view of a predefined ratio; and
managing the operating state of the banks based on the cycle assessment, including individually controlling the operating state of each of the banks, wherein the idle state consumes less power than the active state, and individual controlling the operating state includes delaying activation of an idle bank.

### Claim 16 (depends on 15)

The method of claim 15, wherein managing an operating state of the tracked banks further comprises, restricting the quantity of active banks for the current cycle.

### Claim 17 (depends on 16)

The method of claim 16, further comprising scheduling issuance of an activate command to an idle bank, wherein the scheduling includes delaying activation of the idle bank based on the cycle assessment.

### Claim 18 (depends on 15)

The method of claim 15, further comprising identifying at least two banks in the idle state, and selecting one of the banks responsive a scheduling policy, and changing the state of the selected bank from idle to active.

### Claim 19 (depends on 18)

The method of claim 18, wherein the scheduling policy includes for each cycle tracking a number of active banks in each rank and a number of CAS commands under service or waiting for service to the active banks in relation to the ratio.

### Claim 20 (depends on 15)

The method of claim 15, wherein the predefined ratio is calculated by a memory scheduler.
