# US 2025/0086101 A1 · Storage device performing asynchronous event reporting, computer system and event reporting 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/0086101 A1
- Document ID: US20250086101A1
- Status: Published application
- Kind: A1
- Application number: 18/441,072
- Filed: 2024-02-14
- Published: 2025-03-13
- Earliest claimed: 2023-09-13
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Seokgi HONG; Seongnam KWON
- Web page: https://patentgrep.com/patent/US20250086101A1

## CPC

- G06F 12/0223: {User address space allocation, e.g. contiguous or non contiguous base addressing}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/7202: Allocation control and policies
- G06F 2212/7204: Capacity control, e.g. partitioning, end-of-life degradation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed is a storage device configured to receive a read command or a write command from a host device, the storage device comprising, a non-volatile memory device configured to store data, and a storage controller configured to operate at least one virtual machine to control the non-volatile memory device, store a workload threshold of the at least one virtual machine according to settings received from the host device, and send an asynchronous event interrupt to the host device based on the workload threshold, wherein the storage controller is further configured to, store the workload threshold for the at least one virtual machine, monitor read commands or write commands received from the host device to count and update a workload, and determine whether to send the asynchronous event interrupt based on the workload and the workload threshold.

## Claims

### Claim 1

A storage device configured to receive a read command or a write command from a host device, the storage device comprising:
a non-volatile memory device configured to store data; and
a storage controller configured to operate at least one virtual machine to control the non-volatile memory device, store a workload threshold of the at least one virtual machine according to settings received from the host device, and send an asynchronous event interrupt to the host device based on the workload threshold,
wherein the storage controller is further configured to,
store the workload threshold for the at least one virtual machine;
monitor read commands or write commands received from the host device to count and update a workload; and
determine whether to send the asynchronous event interrupt based on the workload and the workload threshold.

### Claim 2 (depends on 1)

The storage device of claim 1, wherein the workload includes at least one of count information of read/write commands, throughput of read/write operations per unit time, data usage rate, number of write buffers in use of the storage controller, write rate, queue depth, and a write amplification factor (WAF) of the non-volatile memory device.

### Claim 3 (depends on 1)

The storage device of claim 1, wherein the storage controller is configured to decode a command received from the host device and store the workload threshold of the at least one virtual machine.

### Claim 4 (depends on 3)

The storage device of claim 3, wherein the storage controller is configured to send the asynchronous event interrupt to the host device in response to the determination.

### Claim 5 (depends on 4)

The storage device of claim 4, wherein the storage controller further includes processing circuitry and at least one memory.

### Claim 6 (depends on 3)

The storage device of claim 3, wherein the command includes at least one of a read command, a write command, and a set feature command for controlling the storage controller.

### Claim 7 (depends on 6)

The storage device of claim 6, wherein the set feature command includes a first field specifying the at least one virtual machine, a second field specifying a type of the workload, and a third field specifying a value of the workload threshold.

### Claim 8 (depends on 1)

The storage device of claim 1, wherein the at least one virtual machine corresponds to a user of a multi-tenant service, and the workload threshold corresponds to an upper limit of throughput per unit time corresponding to a rate plan to which the user subscribes.

### Claim 9

An event reporting method for a storage device running a plurality of virtual machines to support multi-tenant services, the event reporting method comprising:
setting, by a host device, a workload threshold for each of the plurality of virtual machines on the storage device;
monitoring a workload of each of the plurality of virtual machines by counting read commands or write commands sent to the storage device; and
sending an asynchronous event interrupt for at least one of the plurality of virtual machines regardless of whether a request is received from the host device when the at least one of the plurality of virtual machines exceeds the workload threshold.

### Claim 10 (depends on 9)

The event reporting method of claim 9, wherein the workload includes count information of the read commands or the write commands, data usage rate, throughput of read or write operations per unit time, number of write buffers in use by the storage device, a write rate, queue depth, and write amplification factors (WAF) of the storage device.

### Claim 11 (depends on 9)

The event reporting method of claim 9, wherein the setting of the workload threshold comprises:
sending, by the host device, the workload threshold of each of the plurality of virtual machines to the storage device through a set feature command; and
decoding the set feature command to store the workload threshold of each of the plurality of virtual machines in a non-volatile memory.

### Claim 12 (depends on 11)

The event reporting method of claim 11, wherein the set feature command includes a first field specifying the plurality of virtual machines, a second field specifying a type of the workload, and a third field specifying a value of the workload threshold.

### Claim 13 (depends on 9)

The event reporting method of claim 9, wherein the monitoring of the workload of each of the plurality of virtual machines, comprises:
storing and updating count values of the read command or the write command for each of the plurality of virtual machines; and
determining whether to send the asynchronous event interrupt based on the count values per unit time and the workload thresholds of each of the plurality of virtual machines.

### Claim 14 (depends on 9)

The event reporting method of claim 9, wherein the at least one of the plurality of virtual machines corresponds to a user of the multi-tenant service, and the workload threshold corresponds to an upper limit of throughput per unit time corresponding to a rate plan to which the user subscribes.

### Claim 15 (depends on 14)

The event reporting method of claim 14, further comprising:
proposing, by the host device, a rate plan change to the user in response to the asynchronous event interrupt.

### Claim 16

A computer system configured to operate in a client environment, the computer system comprising:
a storage device configured to store or read data, and store driving conditions of the computer system in response to a read command, write command, or setting command; and
a host device configured to set a count threshold of read commands or write commands of the storage device through the setting command,
wherein the storage device includes,
a non-volatile memory device configured to store the data, and
a storage controller configured to store the count threshold according to the setting command, generate a read/write count per unit time by monitoring the read commands or the write commands, and send an event interrupt to the host device based on the read/write count per unit time and the count threshold.

### Claim 17 (depends on 16)

The computer system of claim 16, wherein the storage controller is configured to send the event interrupt to the host device when the read/write count per unit time increases beyond the count threshold regardless of whether a request is received from the host device.

### Claim 18 (depends on 17)

The computer system of claim 17, wherein the storage controller is configured to determine that the computer system is exposed to a security attack when receiving the event interrupt, and execute a defense measure based on the determination.

### Claim 19 (depends on 18)

The computer system of claim 18, wherein the host device is configured to activate a device lockdown mode for the computer system as the defense measure in response to the event interrupt.

### Claim 20 (depends on 18)

The computer system of claim 18, wherein the host device is configured to send an event log to an administrator of the computer system in response to the event interrupt.
