# US 12,613,813 B2 · CXL device, electronic device, and data storing method

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

- Number: US 12,613,813 B2
- Document ID: US12613813B2
- Status: Granted
- Kind: B2
- Application number: 18/635,749
- Filed: 2024-04-15
- Published: 2025-05-08
- Granted: 2026-04-28
- Earliest claimed: 2023-11-06
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Soo-Young Ji
- Web page: https://patentgrep.com/patent/US12613813B2

## CPC

- G06F 12/0868: Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
- G06F 13/1663: {Access to shared memory}
- G06F 12/0292: {using tables or multilevel address translation means (G06F12/023 takes precedence; address translation in virtual memory systems G06F12/10)}
- G06F 13/1626: {by reordering requests}
- G06F 13/28: using burst mode transfer, e.g. direct memory access {DMA}, cycle steal (G06F13/32 takes precedence)
- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A CXL device according to an example embodiment may include: a memory configured to storing first data; and a control logic configured to calculate a first use ratio of the CXL device, and configured to output second data that are part of first data, stored in the CXL device, to an external share memory through a CXL interface in response to the first use ratio being greater than a reference value.

## Claims

### Claim 1

A compute express link (CXL) device comprising:
a memory configured to store first data; and
a first control logic configured to calculate a first use ratio of the CXL device, the first control logic configured to output second data that are part of the first data, to an external share memory through a CXL interface in response to the first use ratio being greater than a reference value, the first data being stored in the CXL device, the external share memory being external to the CXL device such that the first control logic is configured to communicate with the external share memory including a second control logic through a CXL switch.

### Claim 2 (depends on 1)

The CXL device of claim 1, wherein
the first control logic obtains an address in which the external share memory stores the second data and writes the address to a map table.

### Claim 3 (depends on 2)

The CXL device of claim 2, wherein
the first control logic is configured to communicate with a host through a CXL.io protocol,
communicate with the external share memory through a CXL.mem protocol,
the first control logic is configured to, in response to receiving a read request of the first data from the host, transmit third data that are exclusive of the second data from among the first data to the host, and transmit a request signal for requesting the external share memory to transmit the second data to the host to the external share memory, and
the request signal includes the address.

### Claim 4 (depends on 3)

The CXL device of claim 3, wherein
the first control logic is configured to determine whether the external share memory has completed storing the second data,
the first control logic is configured to transmit the request signal for requesting the external share memory to transmit the second data to the host to the external share memory in response to the first control logic receiving the read request of the first data from the host and the external share memory having completed storing the second data, and
the first control logic is configured to transmit the first data to the host in response to the external share memory having not completed storing the second data.

### Claim 5 (depends on 1)

The CXL device of claim 1, wherein
the first control logic is configured to obtain a first transmission rate between the CXL device and a host, and the first control logic is configured to determine a ratio between the first data and the second data based on the first transmission rate.

### Claim 6 (depends on 5)

The CXL device of claim 5, wherein
the first control logic is configured to obtain a second transmission rate between the host and the external share memory and is configured to determine the ratio based on the first transmission rate and the second transmission rate.

### Claim 7 (depends on 6)

The CXL device of claim 6, wherein
the first control logic is configured to determine the ratio of the first data and the second data so that ‘(the first transmission rate)/(the first transmission rate+the second transmission rate)’ corresponds to ‘a size of the second data/a size of the first data’.

### Claim 8 (depends on 1)

The CXL device of claim 1, wherein
the first control logic is configured to determine a read request number of data stored in the memory and is configured to determine data having a greatest read request number as the first data.

### Claim 9 (depends on 8)

The CXL device of claim 8, wherein
the first control logic is configured to determine the data with a second greatest read request number as third data and is configured to output some of the third data to the external share memory.

### Claim 10 (depends on 1)

The CXL device of claim 1, wherein
the first control logic is configured to obtain a first time for transmitting the first data to a host, obtain a second transmission rate between the host and the external share memory, and determine whether to output the second data based on the first time, the second transmission rate, and a size of the second data.

### Claim 11 (depends on 10)

The CXL device of claim 10, wherein
the first control logic is configured to calculate a second time of the external share memory based on the second transmission rate and the size of the second data, output the second data to the external share memory in response to the first time being longer than the second time, and in response to the first time being equal to or shorter than the second time, not output the second data to the external share memory.

### Claim 12 (depends on 1)

The CXL device of claim 1, wherein
the first control logic is configured to obtain a first time for transmitting the first data to a host, obtain a first transmission rate between the CXL device and the host, obtain a second transmission rate between the host and the external share memory, and determine whether to output the second data based on the first time, the first data, the second data, the first transmission rate, and the second transmission rate.

### Claim 13 (depends on 12)

The CXL device of claim 12, wherein
the first control logic is configured to calculate a second time for transmitting third data based on the first transmission rate and a size of the third data, the third data being exclusive of the second data from among the first data, calculate a third time for transmitting the second data based on the second transmission rate and a size of the second data, output the second data to the external share memory in response to the first time being longer than a sum of the second time and the third time, and in response to the first time being equal to or shorter than a sum of the second time and the third time, not outputting the second data to the external share memory.

### Claim 14 (depends on 1)

The CXL device of claim 1, wherein
the first control logic is configured to obtain a second use ratio of CXL devices shared through the CXL interface and determine one of the CXL devices as the external share memory based on the second use ratio.

### Claim 15

An electronic device comprising:
a first compute express link (CXL) device including a first control logic, the first control logic configured to instruct the first CXL device to store second data that are part of first data to a second CXL device in response to a read request on the first data being greater than a reference number;
the second CXL device including a second control logic, the second control logic configured to instruct the second CXL device to store the second data in response to a request of the first CXL device; and
a switch configured to connect the first CXL device and the second CXL device.

### Claim 16 (depends on 15)

The electronic device of claim 15, wherein
the first CXL device is configured to transmit the second data to the second CXL device in response to the read request within a reference time being greater than the reference number.

### Claim 17 (depends on 15)

The electronic device of claim 15, wherein
the first CXL device is configured to receive the read request from a host by using a CXL.io protocol, and is configured to transmit the second data to the second CXL device by using a CXL.mem protocol.

### Claim 18 (depends on 17)

The electronic device of claim 17, wherein
in response to receiving the read request on the first data from the host, the first CXL device is configured to transmit third data that are exclusive of the second data from among the first data to the host by using the CXL.io protocol, and the first CXL device is configured to request transmission of the second data to the second CXL device by using the CXL.mem protocol, and
the second CXL device is configured to transmit the second data to the host by using the CXL.io protocol in response to a transmission request of the first CXL device.

### Claim 19 (depends on 18)

The electronic device of claim 18, wherein
the first CXL device is configured to transmit a transmission completed signal of the first data to the host when the second CXL device completes transmission of the second data.

### Claim 20

A method for storing data comprising:
transmitting first data to a host in response to a device receiving a first read request on the first data from the host;
selecting a selected share memory external to the device in response to a receiving number of the first read request being greater than a reference number;
determining second data that are part of the first data based on a size of the first data, a first transmission rate of the selected share memory, and a second transmission rate of the device;
writing the second data to the selected share memory external to the device; and
requesting, with a control logic within the device, transmission of the second data from the selected share memory external to the device and transmitting third data that are exclusive of the second data from among the first data from the device to the host in response to the device receiving a second read request of the first data from the host.
