# US 2025/0147902 A1 · 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 2025/0147902 A1
- Document ID: US20250147902A1
- Status: Published application
- Kind: A1
- Application number: 18/635,749
- Filed: 2024-04-15
- Published: 2025-05-08
- 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/US20250147902A1

## 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 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.

### Claim 2 (depends on 1)

The CXL device of claim 1, wherein
the control logic obtains an address in which the 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 control logic is configured to communicate with a host through a CXL.io protocol; communicate with the share memory through a CXL.mem protocol; and the 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 share memory to transmit the second data to the host to the share memory, and
the request signal includes the address.

### Claim 4 (depends on 3)

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

### Claim 5 (depends on 1)

The CXL device of claim 1, wherein
the control logic is configured to obtain a first transmission rate between the CXL device and a host, and the 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 control logic is configured to obtain a second transmission rate between the host and the share memory and if 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 control logic is configured to determine a 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 ‘size of the second data/size of the first data’.

### Claim 8 (depends on 1)

The CXL device of claim 1, wherein
the 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 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 share memory.

### Claim 10 (depends on 1)

The CXL device of claim 1, wherein
the 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 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 control logic is configured to calculate a second time of the share memory based on the second transmission rate and a size of the second data, output the second data to the share memory is 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 outputting the second data to the share memory.

### Claim 12 (depends on 1)

The CXL device of claim 1, wherein
the 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 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 control logic is configured to calculate a second time for transmitting third data based on the first transmission rate and a size of 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 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 share memory.

### Claim 14 (depends on 1)

The CXL device of claim 1, wherein
the 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 share memory based on the second use ratio.

### Claim 15

An electronic device comprising:
a first CXL device configured 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;
a second CXL device configured 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 a 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 a 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 a read request on the first data from the host, the first CXL device is configured to transmits 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 one of share memories in response to a receiving number of the first read request is 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; and
requesting transmission of the second data to the selected share memory and transmitting third data that are exclusive of the second data from among the first data to the host in response to receiving a second read request of the first data from the host.
