# US 2017/0255396 A1 · Parallel scheduling of write commands to multiple memory devices

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

- Number: US 2017/0255396 A1
- Document ID: US20170255396A1
- Status: Published application
- Kind: A1
- Application number: 15/057,145
- Filed: 2016-03-01
- Published: 2017-09-07
- Earliest claimed: 2016-03-01
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Yoni Labenski; Roman Gindin; Etai Zaltsman; Moti Altahan; Yoram Harel; Barak Baum
- Web page: https://patentgrep.com/patent/US20170255396A1

## CPC

- G06F 3/0613: {in relation to throughput}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0683: {Plurality of storage devices}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A controller includes an interface and a processor. The interface is configured to communicate with multiple memory devices over a link. The processor is configured to select at least first and second memory devices for writing, and to write at least first and second data units in sequence to the first memory device over the link, while avoiding writing to any of the other memory devices until transferal of the at least first and second data units over the link has been completed, to write at least one data unit to the second memory device after transferring the at least first and second data units to the first memory device, and, in response to verifying that the first memory device is ready to receive subsequent data, to write to the first memory device at least a third data unit.

## Claims

### Claim 1

A controller, comprising:
an interface, which is configured to communicate with multiple memory devices over a link; and
a processor, which is configured to:
select at least first and second memory devices for writing;
write at least first and second data units in sequence to the first memory device over the link, while avoiding writing to any of the other memory devices until transferal of the at least first and second data units over the link has been completed;
write at least one data unit to the second memory device after transferring the at least first and second data units to the first memory device; and
in response to verifying that the first memory device is ready to receive subsequent data, write to the first memory device at least a third data unit.

### Claim 2 (depends on 1)

The controller according to claim 1, wherein the processor is configured to verify that the first memory device is ready to accept data after completing transferring the first data unit over the link and before transferring the second data unit over the link.

### Claim 3 (depends on 1)

The controller according to claim 1, wherein the processor is configured to write each of the first, second and third data units to a same block within the first memory device.

### Claim 4 (depends on 1)

The controller according to claim 1, wherein the first and second data units comprise respective data pages that differ in bit-significance.

### Claim 5 (depends on 1)

The controller according to claim 1, wherein the processor is configured to select the at least first and second memory devices in accordance with a predefined cyclic order.

### Claim 6

A method, comprising:
in a controller that connects to multiple memory devices via a link, selecting at least first and second memory devices for writing;
writing, by the controller, at least first and second data units in sequence to the first memory device over the link, while avoiding writing to any of the other memory devices until transferal of the at least first and second data units over the link has been completed;
after transferring the at least first and second data units to the first memory device, writing at least one data unit to the second memory device; and
in response to verifying that the first memory device is ready to receive subsequent data, writing to the first memory device at least a third data unit.

### Claim 7 (depends on 6)

The method according to claim 6, wherein writing the at least first and second data units comprises verifying that the first memory device is ready to accept data after completing transferring the first data unit over the link and before transferring the second data unit over the link.

### Claim 8 (depends on 6)

The method according to claim 6, wherein writing the first, second, and third data units comprises writing each of the first, second and third data units to a same block within the first memory device.

### Claim 9 (depends on 6)

The method according to claim 6, wherein the first and second data units comprise respective data pages that differ in bit-significance.

### Claim 10 (depends on 6)

The method according to claim 6, wherein selecting the at least first and second memory devices comprises selecting the at least first and second memory devices in accordance with a predefined cyclic order.

### Claim 11

A controller, comprising:
an interface, which is configured to communicate with multiple memory devices over a link; and
a processor, which is configured to:
identify one or more of the memory devices that are ready to receive data;
select a memory device from among the identified memory devices; and
generate a random delay and to write a data unit to the selected memory device over the link after waiting the random delay during which the memory controller does not write to any of the memory devices.

### Claim 12 (depends on 11)

The controller according to claim 11, wherein the processor is configured to write data units of different bit-significance in consecutive write commands to the same memory device.

### Claim 13 (depends on 11)

The controller according to claim 11, wherein, by waiting the random delay, the processor is configured to change a selection order among the memory devices.

### Claim 14 (depends on 11)

The controller according to claim 11, wherein the processor is configured to generate a random value using a pseudo-random number generator, and to wait a time delay based on the random value.

### Claim 15 (depends on 11)

The controller according to claim 11, wherein the processor is configured to generate the random delay and write the data unit to the selected memory device after waiting the generated delay even when the selected memory device is available to receive data.

### Claim 16

A method, comprising:
in a memory controller that connects to multiple memory devices via a link, identifying one or more of the memory devices that are ready to receive data;
selecting, by the memory controller, a memory device from among the identified memory devices; and
generating, by a processor, a random delay; and
writing a data unit to the selected memory device over the link after waiting the random delay during which the memory controller does not write to any of the memory devices.

### Claim 17 (depends on 16)

The method according to claim 16, and comprising writing data units of different bit-significance in consecutive write commands to the same memory device.

### Claim 18 (depends on 16)

The method according to claim 16, wherein waiting the random delay comprises changing a selection order among the memory devices.

### Claim 19 (depends on 16)

The method according to claim 16, wherein generating the random delay comprises generating a random value using a pseudo-random number generator, and waiting a time delay based on the random value.

### Claim 20 (depends on 16)

The method according to claim 16, wherein writing the data unit to the selected memory device over the link after waiting the random delay comprises writing data unit after waiting the random delay even when the selected memory device is available to receive data.
