# US 2023/0055813 A1 · Performing resynchronization jobs in a distributed storage system based on a parallelism policy

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

- Number: US 2023/0055813 A1
- Document ID: US20230055813A1
- Status: Published application
- Kind: A1
- Application number: 18/048,184
- Filed: 2022-10-20
- Published: 2023-02-23
- Earliest claimed: 2019-07-05
- Assignees: VMware, Inc.
- Applicants: Vmware, Inc.
- Inventors: Yiqi XU; Enning XIANG; Eric KNAUFT; Pascal RENAULD
- Web page: https://patentgrep.com/patent/US20230055813A1

## CPC

- G06F 3/061: {Improving I/O performance}
- G06F 3/0613: {in relation to throughput}
- G06F 3/065: {Replication mechanisms}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 9/3869: {Implementation aspects, e.g. pipeline latches; pipeline synchronisation and clocking}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/5038: {considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration (scheduling strategies G06F9/4881 and subgroups)}
- G06F 9/52: Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The disclosure herein describes performing resynchronization (“resync”) jobs in a distributed storage system based on a parallelism policy. A resync job is obtained from a queue and input/output (I/O) resources that will be used during execution of the resync job are identified. Available bandwidth slots of each I/O resource of the identified I/O resources are determined. The parallelism policy is applied to the identified I/O resources and the available bandwidth slots. Based on the application of the parallelism policy, a bottleneck resource of the I/O resources is determined and a parallel I/O value is calculated based on the available bandwidth slots of the bottleneck resource, wherein the parallel I/O value indicates a quantity of I/O tasks that can be performed in parallel. The resync job is executed using the I/O resources, the execution of the resync job including performance of I/O tasks in parallel based on the parallel I/O value.

## Claims

### Claim 1

A system for performing resync jobs in a distributed storage system based on a parallelism policy, the system comprising:
at least one processor; and
at least one memory comprising computer program code, the at least one memory and the computer program code configured to, with the at least one processor, cause the at least one processor to:
obtain a resync job from a pending resync job queue, wherein the resync job includes information describing a current data location and a destination data location between which data will be transferred during performance of the resync job;
determine an input/output (I/O) path from the current data location to the destination data location;
identify, based on the determined I/O path using the parallelism policy, a plurality of I/O resources of the distributed storage system that will be used during execution of the obtained resync job; and
cause the resync job to be executed using the plurality of I/O resources identified in the determined I/O path.

### Claim 2 (depends on 1)

The system of claim 1, wherein the I/O path includes a disk resource associated with the current data location, an intra-site network resource to transfer the data to a network resource on an edge of a site of the current data location, an inter-site network resource to transfer the data from the site of the current data location to a site of the destination data location, an intra-site network resource to transfer the data to a disk resource of the destination data location, and the disk resource of the destination data location.

### Claim 3 (depends on 1)

The system of claim 1, wherein determining the I/O path from the current data location to the destination data location comprises:
identifying a plurality of I/O paths from the current data location to the destination data location; and
selecting the I/O path from the plurality of I/O paths based on a path selection rule.

### Claim 4 (depends on 3)

The system of claim 3, wherein the path selection rule includes (1) selecting a most direct I/O path, (2) selecting the I/O path that includes fewest resources of a particular type, (3) selecting the I/O path that includes high-performing resources, and (4) selecting the I/O path with a highest available bandwidth of a bottleneck resource.

### Claim 5 (depends on 1)

The system of claim 1, the at least one memory and the computer program code configured to, with the at least one processor, further cause the at least one processor to:
detect a skewed usage of one or more of the plurality of I/O resources; and
wherein the I/O path from the current data location to the destination data location is determined using the detected skewed usage of the one or more of the plurality of I/O resources.

### Claim 6 (depends on 1)

The system of claim 1, the at least one memory and the computer program code configured to, with the at least one processor, further cause the at least one processor to:
logically divide bandwidth of the plurality of I/O resources into bandwidth slots; and
assign, based on the parallelism policy, the bandwidth slots to the resync job for performing a plurality of I/O tasks of the resync job in parallel.

### Claim 7 (depends on 6)

The system of claim 6, wherein the assigned bandwidth slots to the resync job are dynamically adjusted based on a changing state of the I/O resources of the distributed storage system.

### Claim 8

A computerized method for performing resync jobs in a distributed storage system based on a parallelism policy, the method comprising:
obtain a resync job from a pending resync job queue, wherein the resync job includes information describing a current data location and a destination data location between which data will be transferred during performance of the resync job;
determine an input/output (I/O) path from the current data location to the destination data location;
identify, based on the determined I/O path using the parallelism policy, a plurality of I/O resources of the distributed storage system that will be used during execution of the obtained resync job; and
cause the resync job to be executed using the plurality of I/O resources identified in the determined I/O path.

### Claim 9 (depends on 8)

The computerized method of claim 8, wherein the I/O path includes a disk resource associated with the current data location, an intra-site network resource to transfer the data to a network resource on an edge of a site of the current data location, an inter-site network resource to transfer the data from the site of the current data location to a site of the destination data location, an intra-site network resource to transfer the data to a disk resource of the destination data location, and the disk resource of the destination data location.

### Claim 10 (depends on 8)

The computerized method of claim 8, wherein determining the I/O path from the current data location to the destination data location comprises:
identifying a plurality of I/O paths from the current data location to the destination data location; and
selecting the I/O path from the plurality of I/O paths based on a path selection rule.

### Claim 11 (depends on 10)

The computerized method of claim 10, wherein the path selection rule includes (1) selecting a most direct I/O path, (2) selecting the I/O path that includes fewest resources of a particular type, (3) selecting the I/O path that includes high-performing resources, and (4) selecting the I/O path with a highest available bandwidth of a bottleneck resource.

### Claim 12 (depends on 8)

The computerized method of claim 8, further comprising:
detecting a skewed usage of one or more of the plurality of I/O resources; and
wherein the I/O path from the current data location to the destination data location is determined using the detected skewed usage of the one or more of the plurality of I/O resources.

### Claim 13 (depends on 8)

The computerized method of claim 8, further comprising:
logically dividing bandwidth of the plurality of I/O resources into bandwidth slots; and
assigning, based on the parallelism policy, the bandwidth slots to the resync job for performing a plurality of I/O tasks of the resync job in parallel.

### Claim 14 (depends on 13)

The computerized method of claim 13, wherein the assigned bandwidth slots to the resync job are dynamically adjusted based on a changing state of the I/O resources of the distributed storage system.

### Claim 15

One or more non-transitory computer storage media having computer-executable instructions for performing resync jobs in a distributed storage system based on a parallelism policy that, upon execution by a processor, cause the processor to at least:
obtain a resync job from a pending resync job queue, wherein the resync job includes information describing a current data location and a destination data location between which data will be transferred during performance of the resync job;
determine an input/output (I/O) path from the current data location to the destination data location;
identify, based on the determined I/O path using the parallelism policy, a plurality of I/O resources of the distributed storage system that will be used during execution of the obtained resync job; and
cause the resync job to be executed using the plurality of I/O resources identified in the determined I/O path.

### Claim 16 (depends on 15)

The one or more computer storage media of claim 15, wherein the I/O path includes a disk resource associated with the current data location, an intra-site network resource to transfer the data to a network resource on an edge of a site of the current data location, an inter-site network resource to transfer the data from the site of the current data location to a site of the destination data location, an intra-site network resource to transfer the data to a disk resource of the destination data location, and the disk resource of the destination data location.

### Claim 17 (depends on 15)

The one or more computer storage media of claim 15, wherein determining the I/O path from the current data location to the destination data location comprises:
identifying a plurality of I/O paths from the current data location to the destination data location; and
selecting the I/O path from the plurality of I/O paths based on a path selection rule.

### Claim 18 (depends on 17)

The one or more computer storage media of claim 17, wherein the path selection rule includes (1) selecting a most direct I/O path, (2) selecting the I/O path that includes fewest resources of a particular type, (3) selecting the I/O path that includes high-performing resources, and (4) selecting the I/O path with a highest available bandwidth of a bottleneck resource.

### Claim 19 (depends on 15)

The one or more computer storage media of claim 15, wherein the computer-executable instructions, upon execution by the processor, further cause the processor to:
detect a skewed usage of one or more of the plurality of I/O resources; and
wherein the I/O path from the current data location to the destination data location is determined using the detected skewed usage of the one or more of the plurality of I/O resources.

### Claim 20 (depends on 15)

The one or more computer storage media of claim 15, wherein the computer-executable instructions, upon execution by the processor, further cause the processor to:
logically divide bandwidth of the plurality of I/O resources into bandwidth slots; and
assign, based on the parallelism policy, the bandwidth slots to the resync job for performing a plurality of I/O tasks of the resync job in parallel.
