# US 2023/0057633 A1 · Systems, methods, and apparatus for transferring data between interconnected devices

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

- Number: US 2023/0057633 A1
- Document ID: US20230057633A1
- Status: Published application
- Kind: A1
- Application number: 17/496,759
- Filed: 2021-10-07
- Published: 2023-02-23
- Earliest claimed: 2021-08-20
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Marie Mai NGUYEN; Rekha PITCHUMANI; Heekwon PARK; Yang Seok KI
- Web page: https://patentgrep.com/patent/US20230057633A1

## CPC

- G06F 12/0868: Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
- G06F 13/1689: {Synchronisation and timing concerns (synchronisation on a memory bus G06F13/4234)}
- G06F 12/0813: with a network or matrix configuration
- G06F 12/0862: with prefetch
- G06F 12/0873: Mapping of cache memory to specific storage devices or parts thereof
- G06F 12/0815: Cache consistency protocols
- G06F 13/28: using burst mode transfer, e.g. direct memory access {DMA}, cycle steal (G06F13/32 takes precedence)
- G06F 2212/1024: Latency reduction
- G06F 2212/152: Virtualized environment, e.g. logically partitioned system
- G06F 2212/154: Networked environment
- G06F 2212/254: Distributed memory
- G06F 2212/311: In host system
- G06F 2212/454: Vector or matrix data
- G06F 2212/6024: History based prefetching
- G06F 2212/6028: Prefetching based on hints or prefetch instructions
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for transferring data may include writing, from a producing device, data to a storage device through an interconnect, determining a consumer device for the data, prefetching the data from the storage device, and transferring, based on the determining, the data to the consumer device through the interconnect. The method may further comprise receiving, at a prefetcher for the storage device, an indication of a relationship between the producing device and the consumer device, and determining the consumer device based on the indication. The method may further comprise placing the data in a stream at the storage device based on the relationship between the producing device and the consumer device. The indication may be provided by an application associated with the consumer device. Receiving the indication may include receiving the indication through a coherent memory protocol for the interconnect.

## Claims

### Claim 1

A method for transferring data, the method comprising:
writing, from a producing device, data to a storage device through an interconnect;
determining a consumer device for the data;
prefetching the data from the storage device; and
transferring, based on the determining, the data to the consumer device through the interconnect.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving, at a prefetcher for the storage device, an indication of a relationship between the producing device and the consumer device; and
determining the consumer device based on the indication.

### Claim 3 (depends on 2)

The method of claim 2, further comprising placing the data in a stream at the storage device based on the relationship between the producing device and the consumer device.

### Claim 4 (depends on 2)

The method of claim 2, wherein the indication is provided by an application associated with the consumer device.

### Claim 5 (depends on 2)

The method of claim 2, wherein receiving the indication comprises receiving the indication through a coherent memory protocol for the interconnect.

### Claim 6 (depends on 5)

The method of claim 5, wherein receiving the indication through a coherent memory protocol comprises:
receiving a producer identifier (ID) and a consumer ID through one or more fields of the coherent memory protocol.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
detecting, at a prefetcher for the storage device, an access pattern of the producing device and the consumer device; and
determining the consumer device based on the access pattern.

### Claim 8 (depends on 1)

The method of claim 1, further comprising allocating, by a host, memory at the consumer device for the data.

### Claim 9 (depends on 1)

The method of claim 1, further comprising allocating, by the storage device, memory at the consumer device for the data.

### Claim 10 (depends on 9)

The method of claim 9, wherein the memory at the consumer device comprises reserved memory.

### Claim 11 (depends on 9)

The method of claim 9, further comprising updating, by a host, a mapping for the memory at the consumer device.

### Claim 12 (depends on 1)

The method of claim 1, wherein the transferring overlaps a compute operation at the consumer device.

### Claim 13 (depends on 1)

The method of claim 1, further comprising notifying a prefetcher for the storage device of a status of the writing.

### Claim 14

A device comprising:
an interconnect interface;
a storage medium; and
a prefetcher configured to:
perform a determination of a consumer device for data stored in the storage medium;
prefetch the data from the device; and
transfer, based on the determination, the data to the consumer device through the interconnect interface.

### Claim 15 (depends on 14)

The device of claim 14, further comprising a data structure configured to store information on a relationship between a producer device of the data and the consumer device.

### Claim 16 (depends on 15)

The device of claim 15, further comprising a multi-stream interface configured to store the data received through the interconnect interface in a stream of the storage medium based on the relationship.

### Claim 17 (depends on 14)

The device of claim 14, wherein the prefetcher comprises detection logic configured to determine an access pattern for the consumer device and a producer device of the data.

### Claim 18

A system comprising:
an interconnect;
a producer device coupled to the interconnect;
a consumer device coupled to the interconnect;
a storage device coupled to the interconnect and configured to store data received from the producer device through the interconnect; and
a prefetcher coupled to the interconnect;
wherein the prefetcher is configured to:
perform a determination of the consumer device based on the producer device;
prefetch the data; and
transfer, based on the determination, the data to the consumer device through the interconnect.

### Claim 19 (depends on 18)

The system of claim 18, wherein the producer device is configured to notify the prefetcher of a status of the data received from the producer device through the interconnect.

### Claim 20 (depends on 18)

The system of claim 18, further comprising a host device coupled to the interconnect and configured to send, through the interconnect, information to the prefetcher about a relationship between the producer device and the consumer device.
