# US 2025/0094067 A1 · Storage device and operating method thereof

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

- Number: US 2025/0094067 A1
- Document ID: US20250094067A1
- Status: Published application
- Kind: A1
- Application number: 18/799,248
- Filed: 2024-08-09
- Published: 2025-03-20
- Earliest claimed: 2023-09-14
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Jaesub KIM; Jaeyoung KWON
- Web page: https://patentgrep.com/patent/US20250094067A1

## CPC

- G06F 3/0631: {by allocating resources to storage systems}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage device includes at least one non-volatile memory device, and processing circuitry configured to control the non-volatile memory device and communicate with at least one external host device through at least one interface channel, wherein the processing circuitry is further configured to, monitor performances of a plurality of virtual functions, generate status information of the plurality of virtual functions based on the monitored performances of the plurality of virtual functions, and allocate one or more resources to the plurality of virtual functions in real time based on the status information associated with the respective virtual function of the plurality of virtual functions.

## Claims

### Claim 1

A storage device comprising:
at least one non-volatile memory device; and
processing circuitry configured to control the non-volatile memory device and communicate with at least one external host device through at least one interface channel,
wherein the processing circuitry is further configured to,
monitor performances of a plurality of virtual functions,
generate status information of the plurality of virtual functions based on the monitored performances of the plurality of virtual functions, and
allocate one or more resources to the plurality of virtual functions in real time based on the status information associated with the respective virtual function of the plurality of virtual functions.

### Claim 2 (depends on 1)

The storage device of claim 1, wherein the one or more resources comprise at least one of:
a hardware resource, a queue resource, an entry of a command buffer, an interrupt vector, or any combinations thereof.

### Claim 3 (depends on 1)

The storage device of claim 1, wherein the processing circuitry is further configured to:
periodically monitor a first current performance of a first virtual function of the plurality of virtual functions.

### Claim 4 (depends on 3)

The storage device of claim 3, wherein the processing circuitry is further configured to:
compare the first current performance with a first target performance associated with the first virtual function;
decrease a number of resources allocated to the first virtual function in response to the first current performance being greater than the first target performance; and
increase the number of resources allocated to the first virtual function in response to the first current performance being less than the first target performance.

### Claim 5 (depends on 3)

The storage device of claim 3, wherein the processing circuitry is further configured to:
adjust a number of credit associated with one or more of the plurality of virtual functions based on the status information; and
the number of credit represents a number of entries of a command buffer allocated to a respective virtual function of the plurality of virtual functions, the entries of the command buffer configured to store at least one command received from the at least one external host device.

### Claim 6 (depends on 5)

The storage device of claim 5, wherein the processing circuitry is further configured to:
compare the first current performance with first target performance of the first virtual function;
decrease the number of credits allocated to the first virtual function in response to the first current performance being greater than the first target performance; and
increase the number of credits allocated to the first virtual function in response to the first current performance being less than the first target performance.

### Claim 7 (depends on 6)

The storage device of claim 6, wherein the processing circuitry is further configured to:
adjust the number of credits allocated to the first virtual function in proportion to a difference between the first current performance and the first target performance.

### Claim 8

An operating method of a storage device, the operating method comprising:
monitoring, using processing circuitry, current performance of a plurality of virtual functions executing on the storage device; and
allocating, using the processing circuitry, one or more resources to one or more of the plurality of virtual functions dynamically based on the monitored current performance of the plurality of virtual functions.

### Claim 9 (depends on 8)

The operating method of claim 8, wherein the one or more resources comprise at least one of:
a hardware resource, a queue resource, an entry of a command buffer, an interrupt vector, or any combinations thereof.

### Claim 10 (depends on 8)

The operating method of claim 8, wherein the allocating of the one or more resources comprises:
comparing a first current performance of a first virtual function of the plurality of virtual functions with first target performance associated with the first virtual function;
in response to the first current performance being greater than the first target performance, decreasing a number of resources allocated to the first virtual function; and
in response to the first current performance being less than the first target performance, increasing the number of resources allocated to the first virtual function.

### Claim 11 (depends on 8)

The operating method of claim 8, wherein the allocating of the one or more resources comprises:
adjusting a number of credits associated with each of the plurality of virtual functions dynamically based on the monitored current performance of the plurality of virtual functions, and
the number of credits corresponds to a number of entries of a command buffer associated with the respective virtual function of the plurality of virtual functions, the command buffer configured to store at least one command received from at least one external host device.

### Claim 12 (depends on 11)

The operating method of claim 11, wherein the allocating of the one or more resources comprises:
comparing a first current performance of a first virtual function of the plurality of virtual functions with a first target performance of the first virtual function;
in response to the first current performance being greater than the first target performance, decreasing the number of credits associated with the first virtual function; and
in response to the first current performance being less than the first target performance, increasing the number of credits associated with the first virtual function.

### Claim 13 (depends on 12)

The operating method of claim 12, further comprising:
adjusting, using the processing circuitry, the number of credits associated with the first virtual function in proportion to a difference between the first current performance and the first target performance.

### Claim 14 (depends on 8)

The operating method of claim 8, further comprising:
receiving, using the processing circuitry, a command to request a deactivation of the resource allocation operation;
deactivating, using the processing circuitry, the monitoring operation in response to the command; and
deactivating, using the processing circuitry, a resource dynamic allocation operation in response to the command.

### Claim 15 (depends on 8)

The operating method of claim 8, wherein the monitoring of the performance comprises:
detecting input/output patterns of each of the plurality of virtual functions.

### Claim 16 (depends on 8)

The operating method of claim 8, wherein the monitoring of the performance comprises:
monitoring an internal status of the storage device.

### Claim 17 (depends on 16)

The operating method of claim 16, wherein the internal status of the storage device represents whether a maintenance and management operation of a non-volatile memory device included in the storage device is being performed.

### Claim 18

An operating method of a storage device, the operating method comprising:
detecting, using processing circuitry, input/output patterns of a plurality of virtual functions; and
allocating, using the processing circuitry, one or more resources to the plurality of virtual functions dynamically based on the detected input/output patterns of the plurality of virtual functions.

### Claim 19 (depends on 18)

The operating method of claim 18, wherein the allocating of the one or more resources comprises:
adjusting a number of credits associated with each of the plurality of virtual functions dynamically based on the detected input/output patterns of the plurality of virtual functions, and
the number of credits associated with each of the plurality of virtual functions corresponding to a number of entries of a command buffer associated with each of the plurality of virtual functions, the command buffer configured to store at least one command received from at least one external host device.

### Claim 20 (depends on 19)

The operating method of claim 19, wherein the allocating of the resources comprises:
determining whether a first input/output pattern of a first virtual function of the plurality of virtual functions has changed;
in response to the first input/output pattern of the first virtual function being changed from a sequential input/output pattern to a random input/output pattern, increasing a number of credits associated with the first virtual function;
in response to the first input/output pattern of the first virtual function being changed from a random write input/output pattern to a random read input/output pattern, increasing the number of credits associated with the first virtual function;
in response to the first input/output pattern of the first virtual function being changed from the random input/output pattern to the sequential input/output pattern, decreasing the number of credits associated with the first virtual function; and
in response to the first input/output pattern of the first virtual function being changed from the random read input/output pattern to the random write input/output pattern, decreasing the number of credits associated with the first virtual function.

### Claim at position 21

-23. (canceled)
