# US 2020/0394137 A1 · Method and apparatus for adaptive cache load balancing for ssd-based cloud computing storage system

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

- Number: US 2020/0394137 A1
- Document ID: US20200394137A1
- Status: Published application
- Kind: A1
- Application number: 17/006,285
- Filed: 2020-08-28
- Published: 2020-12-17
- Earliest claimed: 2017-12-22
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Zhengyu YANG; Morteza HOSEINZADEH; Thomas David EVANS; Clay MAYERS; Thomas BOLT
- Web page: https://patentgrep.com/patent/US20200394137A1

## CPC

- G06F 3/061: {Improving I/O performance}
- G06F 12/0811: with multilevel cache hierarchies
- G06F 3/0635: {by changing the path, e.g. traffic rerouting, path reconfiguration}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- H04L 41/142: using statistical or mathematical methods
- H04L 47/125: by balancing the load, e.g. traffic engineering
- H04L 67/104: Peer-to-peer [P2P] networks
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- G06F 2212/1024: Latency reduction
- G06F 2212/22: Employing cache memory using specific memory technology
- G06F 2212/608: Details relating to cache mapping
- H04L 43/0882: Utilisation of link capacity
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An apparatus, a method, a method of manufacturing an apparatus, and a method of constructing an integrated circuit are provided. A processor of an application server layer detects a degree of a change in a workload in an input/output stream received through a network from one or more user devices. The processor determines a degree range, from a plurality of preset degree ranges, that the degree of the change in the workload is within. The processor determines a distribution strategy, from among a plurality of distribution strategies, to distribute the workload across one or more of a plurality of solid state devices (SSDs) in a performance cache tier of a centralized multi-tier storage pool, based on the determined degree range. The processor distributes the workload across the one or more of the plurality of solid state devices based on the determined distribution strategy.

## Claims

### Claim 1

An apparatus, comprising:
a memory; and
a processor configured to:
detect a degree of a change in a workload in an input/output stream received through a network;
determine a distribution strategy, from among a plurality of distribution strategies, to distribute the workload across one or more of a plurality of solid state devices (SSDs) in a performance cache tier of a centralized multi-tier storage pool, based on the degree of the change; and
distribute the workload across the one or more of the plurality of SSDs based on the determined distribution strategy,
wherein the plurality of distribution strategies comprises at least first and second strategies that are based on joining a shortest queue, and
wherein each of the first and second strategies are used in accordance with a different respective number of idle SSDs from the plurality of SSDs.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the first strategy is used in accordance with a first number of most idle SSDs from the plurality of SSDs, the second strategy is used in accordance with a second number of most idle SSDs from the plurality of SSDs, and the first number is different from the second number.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein:
the processor is further configured to determine a degree range, from a plurality of preset degree ranges, that the degree of the change in the workload is within; and
the distribution strategy is determined based on the determined degree range.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the plurality of preset degree ranges comprises a strong workload spike range, a weak workload spike range, and a non-spike range.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein the plurality of distribution strategies comprises:
a join shortest queue (JSQ)-based runtime random-greedy algorithm used in accordance with a large range of idlest SSDs from the plurality of SSDs, which corresponds to the strong workload spike range;
a JSQ-based runtime random-greedy algorithm used in accordance with a small range of idlest SSDs from the plurality of SSDs, which corresponds to the weak workload spike range; and
an optimization framework calculation, which corresponds to the non-spike range.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the determined distribution strategy comprises the JSQ-based runtime random-greedy algorithm, and the processor is further configured to:
sort the plurality of SSDs by a number of active I/O streams that are queued; and
randomly select an SSD from the large range of idlest SSDs or the small range of idlest SSDs for assignment of a job of the workload.

### Claim 7 (depends on 5)

The apparatus of claim 5, wherein the determined distribution strategy comprises the optimization framework calculation, and the processor is further configured to:
calculate coefficient variations for the plurality of SSDs using a plurality of resources, respectively;
determine that one of the plurality of resources exceeds respective upper bounds for the plurality of SSDs based on a respective coefficient variation;
skip assignment to a given SSD based on the one of the plurality of resources exceeding the respective upper bounds; and
choose an SSD with a minimal coefficient variation result for assignment of a job of the workload.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the degree of the change of the workload is calculated based on a squared coefficient of variation and an autocorrelation function at a given lag.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein the degree of the change of the workload is determined based on working volume, working volume size, or working set size.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the degree of the change of the workload is further determined based on at least one of a read/write ratio and a sequential/random ratio.

### Claim 11

A method, comprising:
detecting, by a processor of an application server layer, a degree of a change in a workload in an input/output stream received through a network;
determining, by the processor, a distribution strategy, from among a plurality of distribution strategies, to distribute the workload across one or more of a plurality of solid state devices (SSDs) in a performance cache tier of a centralized multi-tier storage pool, based on the degree of the change; and
distributing, by the processor, the workload across the one or more of the plurality of SSDs based on the determined distribution strategy,
wherein the plurality of distribution strategies comprises at least first and second strategies that are based on joining a shortest queue, and
wherein each of the first and second strategies are used in accordance with a different respective number of idle SSDs from the plurality of SSDs.

### Claim 12 (depends on 11)

The method of claim 11, wherein the first strategy is used in accordance with a first number of most idle SSDs from a plurality of SSDs, the second strategy is used in accordance with a second number of most idle SSDs from the plurality of SSDs, and the first number is different from the second number.

### Claim 13 (depends on 11)

The method of claim 11, further comprising determining a degree range, from a plurality of preset degree ranges, that the degree of the change in the workload is within, wherein the distribution strategy is determined based on the determined degree range.

### Claim 14 (depends on 13)

The method of claim 13, wherein the plurality of preset degree ranges comprises a strong workload spike range, a weak workload spike range, and a non-spike range.

### Claim 15 (depends on 14)

The method of claim 14, wherein the plurality of distribution strategies comprises:
a join shortest queue (JSQ)-based runtime random-greedy algorithm used in accordance with a large range of idlest SSDs from the plurality of SSDs, which corresponds to the strong workload spike range;
a JSQ-based runtime random-greedy algorithm used in accordance with a small range of idlest SSDs from the plurality of SSDs, which corresponds to the weak workload spike range; and
an optimization framework calculation, which corresponds to the non-spike range.

### Claim 16 (depends on 15)

The method of claim 15, wherein the determined distribution strategy comprises the JSQ-based runtime random-greedy algorithm, and further comprising:
sorting the plurality of SSDs by a number of active I/O streams that are queued; and
randomly selecting an SSD from the large range of idlest SSDs or the small range of idlest SSDs for assignment of a job of the workload.

### Claim 17 (depends on 15)

The method of claim 15, wherein the determined distribution strategy comprises the optimization framework calculation, and further comprising:
calculating coefficient variations for the plurality of SSDs using a plurality of resources;
determining that one of the plurality of resources exceeds respective upper bounds for the plurality of SSDs based on a respective coefficient variation;
skipping assignment to a given SSD, based on the one of the plurality of resources exceeding the respective upper bounds; and
choosing an SSD with a minimal coefficient variation result for assignment of a job of the workload.

### Claim 18 (depends on 11)

The method of claim 11, wherein the degree of the change of the workload is based on a squared coefficient of variation and an autocorrelation function at a given lag.

### Claim 19 (depends on 11)

The method of claim 11, wherein the degree of the change of the workload is determined based on working volume, working volume size, or working set size.

### Claim 20 (depends on 19)

The method of claim 19, wherein the degree of the change of the workload is further determined based on at least one of a read/write ratio and a sequential/random ratio.
