# US 2015/0309827 A1 · Converting virtual machine i/o requests

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

- Number: US 2015/0309827 A1
- Document ID: US20150309827A1
- Status: Published application
- Kind: A1
- Application number: 14/295,363
- Filed: 2014-06-04
- Published: 2015-10-29
- Earliest claimed: 2014-04-23
- Assignees: VMware, Inc.
- Applicants: Vmware, Inc.
- Inventors: PRASENJIT SARKAR; Vineet Kumar Sinha
- Web page: https://patentgrep.com/patent/US20150309827A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 9/45545: {Guest-host, i.e. hypervisor is an application program itself, e.g. VirtualBox}
- G06F 11/1484: {involving virtual machines}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F 2201/815: Virtual
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems, computer readable mediums, and techniques are described for converting virtual machine input/output (I/O) requests. One of the techniques includes obtaining access request data for one or more virtual machines (VMs) executing on a physical machine, wherein the access request data characterizes data access requests received from the one or more VMs; classifying, using the access request data, each of the one or more VMs as having either a sequential data access pattern or a random data access pattern; receiving a first I/O request packet from a first VM of the one or more VMs; determining that the first VM has been classified as having a random data access pattern; and splitting the first I/O request packet into a plurality of second I/O request packets based at least in part on determining that the first VM has been classified as having a random data access pattern.

## Claims

### Claim 1

A computer-implemented method comprising:
obtaining access request data for one or more virtual machines (VMs) executing on a physical machine, wherein the access request data characterizes data access requests received from the one or more VMs;
classifying, using the access request data, each of the one or more VMs as having either a sequential data access pattern or a random data access pattern;
receiving a first input/output (I/O) request packet from a first VM of the one or more VMs;
determining that the first VM has been classified as having a random data access pattern; and
splitting the first I/O request packet into a plurality of second I/O request packets based at least in part on determining that the first VM has been classified as having a random data access pattern.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
providing the plurality of second I/O request packets for execution instead of the first request I/O packet.

### Claim 3 (depends on 1)

The method of claim 1, wherein splitting the first I/O request packet further comprises:
determining that a payload for the first I/O request packet exceeds a threshold size; and
splitting the first I/O request packet into the plurality of second I/O request packets based at least in part on determining that the payload for the first I/O request packet exceeds the threshold size.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
receiving a third I/O request packet from the first VM;
determining that a payload of the third I/O request packet does not exceed the threshold size; and
determining not to split the third I/O request packet into multiple packets based at least in part on determining that the payload of the third I/O request packet does not exceed the threshold size.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
receiving a fourth I/O request packet from a second VM of the one or more VMs;
determining that the second VM has been classified as having a sequential data access pattern; and
determining not to split the fourth I/O request packet into multiple packets based at least in part on determining that the second VM has been classified as having a sequential data access pattern.

### Claim 6 (depends on 1)

The method of claim 1, wherein the access request data comprises data identifying seek distances between subsequent data access requests.

### Claim 7 (depends on 6)

The method of claim 6, wherein classifying each of the one or more VMs comprises classifying each of the VMs based on the seek distances between subsequent data access requests received from the VM.

### Claim 8 (depends on 1)

The method of claim 1, wherein splitting the first I/O request packet into a plurality of second I/O request packets comprises:
multiplexing the payload of the first I/O request packet into a plurality of payloads; and
inserting each of the plurality of payloads as a payload of a respective second I/O request packet.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
receiving a respective response to each of the second I/O request packets;
combining the respective responses to generate a combined response; and
providing the combined response to the first VM as a response to the first I/O request packet.

### Claim 10

A system comprising one or more data processing apparatus and one or more storage devices storing instructions that, when executed by the one or more data processing apparatus, cause the one or more data processing apparatus to perform operations comprising:
obtaining access request data for one or more virtual machines (VMs) executing on a physical machine, wherein the access request data characterizes data access requests received from the one or more VMs;
classifying, using the access request data, each of the one or more VMs as having either a sequential data access pattern or a random data access pattern;
receiving a first input/output (I/O) request packet from a first VM of the one or more VMs;
determining that the first VM has been classified as having a random data access pattern; and
splitting the first I/O request packet into a plurality of second I/O request packets based at least in part on determining that the first VM has been classified as having a random data access pattern.

### Claim 11 (depends on 10)

The system of claim 10, the operations further comprising:
providing the plurality of second I/O request packets for execution instead of the first request I/O packet.

### Claim 12 (depends on 10)

The method of claim 10, wherein splitting the first I/O request packet further comprises:
determining that a payload for the first I/O request packet exceeds a threshold size; and
splitting the first I/O request packet into the plurality of second I/O request packets based at least in part on determining that the payload for the first I/O request packet exceeds the threshold size.

### Claim 13 (depends on 10)

The system of claim 10, wherein the access request data comprises data identifying seek distances between subsequent data access requests.

### Claim 14 (depends on 13)

The system of claim 13, wherein classifying each of the one or more VMs comprises classifying each of the VMs based on the seek distances between subsequent data access requests received from the VM.

### Claim 15 (depends on 10)

The system of claim 10, wherein splitting the first I/O request packet into a plurality of second I/O request packets comprises:
multiplexing the payload of the first I/O request packet into a plurality of payloads; and
inserting each of the plurality of payloads as a payload of a respective second I/O request packet.

### Claim 16

A computer storage medium encoded with a computer program, the program comprising instructions that when executed by one or more data processing apparatus cause the one or more data processing apparatus to perform operations comprising:
obtaining access request data for one or more virtual machines (VMs) executing on a physical machine, wherein the access request data characterizes data access requests received from the one or more VMs;
classifying, using the access request data, each of the one or more VMs as having either a sequential data access pattern or a random data access pattern;
receiving a first input/output (I/O) request packet from a first VM of the one or more VMs;
determining that the first VM has been classified as having a random data access pattern; and
splitting the first I/O request packet into a plurality of second I/O request packets based at least in part on determining that the first VM has been classified as having a random data access pattern.

### Claim 17 (depends on 16)

The computer storage medium of claim 16, the operations further comprising:
providing the plurality of second I/O request packets for execution instead of the first request I/O packet.

### Claim 18 (depends on 16)

The computer storage medium of claim 16, wherein splitting the first I/O request packet further comprises:
determining that a payload for the first I/O request packet exceeds a threshold size; and
splitting the first I/O request packet into the plurality of second I/O request packets based at least in part on determining that the payload for the first I/O request packet exceeds the threshold size.

### Claim 19 (depends on 16)

The system of claim 16, wherein classifying each of the one or more VMs comprises classifying each of the VMs based on seek distances between subsequent data access requests received from the VM.

### Claim 20 (depends on 16)

The system of claim 16, wherein splitting the first I/O request packet into a plurality of second I/O request packets comprises:
multiplexing the payload of the first I/O request packet into a plurality of payloads; and
inserting each of the plurality of payloads as a payload of a respective second I/O request packet.
