# US 2016/0253216 A1 · Ordering schemes for network and storage i/o requests for minimizing workload idle time and inter-workload interference

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

- Number: US 2016/0253216 A1
- Document ID: US20160253216A1
- Status: Published application
- Kind: A1
- Application number: 15/050,481
- Filed: 2016-02-23
- Published: 2016-09-01
- Earliest claimed: 2015-02-26
- Assignees: Strato Scale Ltd.
- Applicants: Strato Scale Ltd.
- Inventors: Yaron Greenberger
- Web page: https://patentgrep.com/patent/US20160253216A1

## CPC

- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/5083: {Techniques for rebalancing the load in a distributed system}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method includes receiving, from one or more workloads that are processed by one or more processors, requests to access data over a communication network or on a storage device. An order is defined among the requests, in accordance with a criterion that aims to minimize an overall idle time of the one or more processors in processing the multiple workloads. The requests are served in accordance with the defined order.

## Claims

### Claim 1

A method, comprising:
receiving, from one or more workloads that are processed by one or more processors, requests to access data over a communication network or on a storage device;
defining an order among the requests, in accordance with a criterion that aims to minimize an overall idle time of the one or more processors in processing the multiple workloads; and
serving the requests in accordance with the defined order.

### Claim 2 (depends on 1)

The method according to claim 1, wherein defining the order comprises distinguishing between blocking requests and non-blocking requests, and giving precedence to one or more of the blocking requests over one or more of the non-blocking requests.

### Claim 3 (depends on 1)

The method according to claim 1, wherein defining the order comprises giving precedence to a request that is issued by a first workload and blocks processing of a second workload.

### Claim 4 (depends on 1)

The method according to claim 1, wherein defining the order comprises receiving a hint from an operating system or from a virtualization layer, and setting the order based on the hint.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the workloads, and the operating system or virtualization layer, run in a given compute node, and wherein setting the order comprises providing the hint to a remote element external to the given compute node.

### Claim 6 (depends on 1)

The method according to claim 1, wherein defining the order comprises receiving, from an operating system or from a virtualization layer, a notification that a given workload is idle, and setting the order based on the notification.

### Claim 7 (depends on 1)

The method according to claim 1, wherein defining the order comprises giving precedence to a first I/O request that pages-in a memory page into a local memory from the communication network or from the storage device, relative to a second I/O request that does not page-in any memory page.

### Claim 8 (depends on 1)

The method according to claim 1, wherein defining the order comprises giving precedence to a first I/O request that accesses first data having a first access frequency, relative to a second I/O request that accesses second data having a second access frequency, lower than the first access frequency.

### Claim 9 (depends on 1)

The method according to claim 1, wherein defining the order comprises giving precedence to a first I/O request identified as synchronous, relative to a second I/O request identified as asynchronous.

### Claim 10 (depends on 1)

The method according to claim 1, wherein defining the order comprises giving precedence to a first write request identified as a barrier write, relative to a second write request identified as a non-barrier write.

### Claim 11 (depends on 1)

The method according to claim 1, wherein defining the order comprises giving precedence to a read request relative to a write request.

### Claim 12 (depends on 1)

The method according to claim 1, wherein defining the order comprises giving precedence to a first I/O request that transfers first data having a first data size, relative to a second I/O request that transfers second data having a second data size, larger than the first data size.

### Claim 13 (depends on 1)

The method according to claim 1, wherein defining the order comprises giving precedence to a first I/O request issued by a first type of workload, relative to a second I/O request issued by a second type of workload.

### Claim 14

An apparatus, comprising:
an interface for connecting to a communication network or a storage device; and
a processor, which is configured to receive, from one or more workloads that are processed by one or more processors, requests to access data over the communication network or on the storage device, to define an order among the requests in accordance with a criterion that aims to minimize an overall idle time of the one or more processors in processing the multiple workloads, and to serve the requests in accordance with the defined order.

### Claim 15 (depends on 14)

The apparatus according to claim 14, wherein the processor is configured to define the order by distinguishing between blocking requests and non-blocking requests, and giving precedence to one or more of the blocking requests over one or more of the non-blocking requests.

### Claim 16 (depends on 14)

The apparatus according to claim 14, wherein the processor is configured to give precedence to a request that is issued by a first workload and blocks processing of a second workload.

### Claim 17 (depends on 14)

The apparatus according to claim 14, wherein the processor is configured to receive a hint from an operating system or from a virtualization layer, and to set the order based on the hint.

### Claim 18 (depends on 17)

The apparatus according to claim 17, wherein the processor is comprised in a given compute node, and is configured to provide the hint to a remote element external to the given compute node.

### Claim 19 (depends on 14)

The apparatus according to claim 14, wherein the processor is configured to receive, from an operating system or from a virtualization layer, a notification that a given workload is idle, and to set the order based on the notification.

### Claim 20 (depends on 14)

The apparatus according to claim 14, wherein the processor is configured to give precedence to a first I/O request that pages-in a memory page into a local memory from the communication network or from the storage device, relative to a second I/O request that does not page-in any memory page.

### Claim 21 (depends on 14)

The apparatus according to claim 14, wherein the processor is configured to give precedence to a first I/O request that accesses first data having a first access frequency, relative to a second I/O request that accesses second data having a second access frequency, lower than the first access frequency.

### Claim 22 (depends on 14)

The apparatus according to claim 14, wherein the processor is configured to give precedence to a first I/O request identified as synchronous, relative to a second I/O request identified as asynchronous.

### Claim 23 (depends on 14)

The apparatus according to claim 14, wherein the processor is configured to give precedence to a first write request identified as a barrier write, relative to a second write request identified as a non-barrier write.

### Claim 24 (depends on 14)

The apparatus according to claim 14, wherein the processor is configured to give precedence to a read request relative to a write request.

### Claim 25 (depends on 14)

The apparatus according to claim 14, wherein the processor is configured to give precedence to a first I/O request that transfers first data having a first data size, relative to a second I/O request that transfers second data having a second data size, larger than the first data size.

### Claim 26 (depends on 14)

The apparatus according to claim 14, wherein the processor is configured to give precedence to a first I/O request issued by a first type of workload, relative to a second I/O request issued by a second type of workload.

### Claim 27

A computer software product, the product comprising a tangible non-transitory computer-readable medium in which program instructions are stored, which instructions, when read by a processor, cause the processor to receive, from one or more workloads that are processed by one or more processors, requests to access data over a communication network or on a storage device, to define an order among the requests in accordance with a criterion that aims to minimize an overall idle time of the one or more processors in processing the multiple workloads, and to serve the requests in accordance with the defined order.
