# US 2021/0232322 A1 · GROUPING KEY VALUE OBJECT IOs TO IMPROVE IO PERFORMANCE FOR KEY-VALUE STORAGE DEVICES

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

- Number: US 2021/0232322 A1
- Document ID: US20210232322A1
- Status: Published application
- Kind: A1
- Application number: 16/815,974
- Filed: 2020-03-11
- Published: 2021-07-29
- Earliest claimed: 2020-01-29
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Jian LIANG; Ronald LEE; Benixon ARUL DHAS; Ramaraj PANDIAN
- Web page: https://patentgrep.com/patent/US20210232322A1

## CPC

- G06F 3/0613: {in relation to throughput}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0673: {Single storage device}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided is a method of completing object IOs, the method including receiving a first set of object IOs for a target storage device, dispatching the first set of object IOs to a first buffer of a first zone, the first buffer being configured to function as a first log buffer, concatenating the first set of object IOs to form a first object group in the first buffer, logging the first object group to a log device, modifying a function of the first buffer from the first log buffer to a first flush buffer, and transferring the first object group to the target storage device.

## Claims

### Claim 1

A method of completing object IOs, the method comprising:
receiving a first set of object IOs for a target storage device;
dispatching the first set of object IOs to a first buffer of a first zone, the first buffer being configured to function as a first log buffer;
concatenating the first set of object IOs to form a first object group in the first buffer;
logging the first object group to a log device;
modifying a function of the first buffer from the first log buffer to a first flush buffer; and
transferring the first object group to the target storage device.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving a second set of object IOs for the target storage device;
dispatching the second set of object IOs to a second buffer of the first zone, the second buffer being configured to function as a second log buffer in response to the first buffer functioning as the first flush buffer;
concatenating the second set of object IOs to form a second object group in the second buffer;
logging the second object group to the log device;
modifying the function of the second buffer from the second log buffer to a second flush buffer; and
transferring the second object group to the target storage device.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
receiving a third set of object IOs for the target storage device;
dispatching the third set of object IOs to third buffer of a second zone, the third buffer being configured to function as a third log buffer;
concatenating the third set of object IOs to form a third object group in the third buffer;
logging the third object group to the log device;
modifying the function of the third buffer from the third log buffer to a third flush buffer; and
transferring the third object group to the target storage device,
wherein the third set of object IOs comprise high-priority data, and
wherein the first set of object IOs or the second set of object IOs comprise low-priority data.

### Claim 4 (depends on 1)

The method of claim 1, further comprising adjusting a timeout window corresponding to a maximum amount of time for storing one of the first set of object IOs in the first log buffer, a maximum number of the first set of object IOs to be held in the first log buffer, or a threshold size of the first object group,
wherein the first object group is logged to the log device based on the timeout window, the maximum number of object IOs to be held in first the log buffer, or the threshold size of the first object group.

### Claim 5 (depends on 4)

The method of claim 4, wherein the adjusting the timeout window, the maximum number of the first set of object IOs, or the threshold size is performed according to a feedback algorithm.

### Claim 6 (depends on 1)

The method of claim 1, further comprising processing data stored in the first buffer using a field-programmable gate array.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving large object IOs;
separating the large object IOs from the first set of object IOs; and
passing the large object IOs directly to the target storage device.

### Claim 8 (depends on 1)

The method of claim 1, wherein the transferring the first object group to the target storage device comprises:
searching a linked list comprising dirty object IOs linked together and
transferring the dirty object IOs to the target storage device, the dirty object IOs being of the first object group.

### Claim 9

A non-transitory computer readable medium implemented on a system for completing object IOs, the non-transitory computer readable medium having computer code that, when executed on a processor, implements a method of completing object IOs, the method comprising:
receiving a first set of object IOs for a target storage device;
dispatching the first set of object IOs to a first buffer of a first zone, the first buffer being configured to function as a first log buffer;
concatenating the first set of object IOs to form a first object group in the first buffer;
logging the first object group to a log device;
modifying a function of the first buffer from the first log buffer to a first flush buffer; and
transferring the first object group to the target storage device.

### Claim 10 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the computer code, when executed by the processor, further implements the method of completing object IOs by
receiving a second set of object IOs for the target storage device;
dispatching the second set of object IOs to a second buffer of the first zone, the second buffer being configured to function as a second log buffer in response to the first buffer functioning as the first flush buffer;
concatenating the second set of object IOs to form a second object group in the second buffer;
logging the second object group to the log device;
modifying the function of the second buffer from the second log buffer to a second flush buffer and
transferring the second object group to the target storage device.

### Claim 11 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the computer code, when executed by the processor, further implements the method of completing IOs by
receiving a third set of object IOs for the target storage device;
dispatching the third set of object IOs to third buffer of a second zone, the third buffer being configured to function as a third log buffer;
concatenating the third set of object IOs to form a third object group in the third buffer;
logging the third object group to the log device; and
modifying the function of the third buffer from the third log buffer to a third flush buffer; and
transferring the third object group to the target storage device,
wherein the third set of object IOs comprise high-priority data, and
wherein the first set of object IOs or the second set of object IOs comprise low-priority data.

### Claim 12 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the computer code, when executed by the processor, further implements the method of completing IOs by
adjusting a timeout window corresponding to a maximum amount of time for storing one of the first set of object IOs in the first log buffer, a maximum number of the first set of object IOs to be held in the first log buffer, or a threshold size of the first object group,
wherein the first object group is logged to the log device based on the timeout window, the maximum number of object IOs to be held in first the log buffer, or the threshold size of the first object group.

### Claim 13 (depends on 12)

The non-transitory computer readable medium of claim 12, wherein the adjusting the timeout window, the maximum number of the first set of object IOs, or the threshold size is performed according to a feedback algorithm.

### Claim 14 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the computer code, when executed by the processor, further implements the method of completing IOs by processing data stored in the first buffer using a field-programmable gate array.

### Claim 15 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the computer code, when executed by the processor, further implements the method of completing IOs by
receiving large object IOs;
separating the large object IOs from the first set of object IOs; and
passing the large object IOs directly to the target storage device.

### Claim 16 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the transferring the first object group to the target storage device comprises:
searching a linked list comprising dirty object IOs linked together; and
transferring the dirty object IOs to the target storage device, the dirty object IOs being of the first object group.

### Claim 17

A system for completing object IOs, the system comprising a log device, a target storage device, and a memory cache, wherein the system is configured to:
receive a first set of object IOs for the target storage device;
dispatch the first set of object IOs to a first buffer of a first zone, the first buffer being configured to function as a first log buffer;
concatenate the first set of object IOs to form a first object group in the first buffer;
log the first object group to the log device;
modify a function of the first buffer from the first log buffer to a first flush buffer; and
transfer the first object group to the target storage device.

### Claim 18 (depends on 17)

The system for completing object IOs of claim 17, wherein the system is further configured to:
receive a second set of object IOs for the target storage device;
dispatch the second set of object IOs to a second buffer of the first zone, the second buffer being configured to function as a second log buffer in response to the first buffer functioning as the first flush buffer;
concatenate the second set of object IOs to form a second object group in the second buffer;
log the second object group to the log device;
modify the function of the second buffer from the second log buffer to a second flush buffer; and
transfer the second object group to the target storage device.

### Claim 19 (depends on 17)

The system for completing object IOs of claim 17, wherein the system is further configured to:
receive a third set of object IOs for the target storage device;
dispatch the third set of object IOs to third buffer of a second zone, the third buffer being configured to function as a third log buffer;
concatenate the third set of object IOs to form a third object group in the third buffer;
log the third object group to the log device;
modify the function of the third buffer from the third log buffer to a third flush buffer; and
transfer the third object group to the target storage device,
wherein the third set of object IOs comprise high-priority data, and
wherein the first set of object IOs or the second set of object IOs comprise low-priority data.

### Claim 20 (depends on 19)

The system for completing object IOs of claim 19, wherein the system is further configured to:
adjust a timeout window corresponding to a maximum amount of time for storing one of the first set of object IOs in the first log buffer, a maximum number of the first set of object IOs to be held in the first log buffer, or a threshold size of the first object group,
wherein the first object group is logged to the log device based on the timeout window, the maximum number of object IOs to be held in first the log buffer, or the threshold size of the first object group.
