# US 2023/0266991 A1 · Real-time estimation for migration transfers

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

- Number: US 2023/0266991 A1
- Document ID: US20230266991A1
- Status: Published application
- Kind: A1
- Application number: 17/728,997
- Filed: 2022-04-26
- Published: 2023-08-24
- Earliest claimed: 2022-02-23
- Applicants: Vmware, Inc.
- Inventors: VIPUL PATEL; BHAVESH SHARMA; SUMIT KUMAR; VEMANA MURTY
- Web page: https://patentgrep.com/patent/US20230266991A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

System and computer-implemented method for migrating virtual computing instances from source computer networks to target computer networks uses a delta sum of a plurality of the data transfer metrics collected, during a current time window, from at least one of a source computer network and a target computer network during a replication process of copying data of a virtual computing instance from the source computer network to the target computer network. The delta sum is used to derive a current data transfer rate, which is used to compute a first estimation of transfer completion time using a moving average rate, and to compute a second estimation of transfer completion time using a weighted moving average rate with weights defined by an alpha value. The alpha value is selectively adjusted for a subsequent estimation of transfer completion time using divergence of the first and second estimations of transfer completion time.

## Claims

### Claim 1

A computer-implemented method for migrating virtual computing instances from source computer networks to target computer networks, the method comprising:
collecting data transfer metrics from at least one of a source computer network and a target computer network during a replication process of copying data of a virtual computing instance from the source computer network to the target computer network;
computing a delta sum of a plurality of the data transfer metrics collected during a current time window;
deriving a current data transfer rate using the delta sum and a duration of the current time window;
computing a first estimation of transfer completion time using a moving average rate of the current data transfer rate and a previous data transfer rate, and remaining data of the virtual computing instance to be transmitted from the source computer network to the target computer network;
computing a second estimation of transfer completion time using a weighted moving average rate of the current data transfer rate and the previous data transfer rate with weights defined by an alpha value, and the remaining data; and
selectively adjusting the alpha value for a subsequent estimation of transfer completion time using divergence of the first and second estimations of transfer completion time.

### Claim 2 (depends on 1)

The method of claim 1, wherein computing the delta sum includes summing differences of data transferred values collected at adjacent sampling times in the current time window.

### Claim 3 (depends on 1)

The method of claim 1, wherein deriving the current data transfer rate includes dividing the delta sum by a duration of the current time window.

### Claim 4 (depends on 1)

The method of claim 1, wherein computing the first estimation of transfer completion time includes dividing the remaining data to be transferred by the moving average rate of the current and previous data transfer rates.

### Claim 5 (depends on 1)

The method of claim 1, wherein computing the second estimation of transfer completion time includes dividing the remaining data to be transferred by the weighted moving average rate of the current and previous data transfer rates.

### Claim 6 (depends on 5)

The method of claim 5, wherein a weight for the current data transfer rate is the alpha value and a weight for the previous data transfer rate is one minus the alpha value.

### Claim 7 (depends on 1)

The method of claim 1, wherein selectively adjusting the alpha value includes increasing the alpha value by a step-up value when the absolute value of the difference between the first and second estimations of transfer completion time is greater than a threshold value.

### Claim 8 (depends on 1)

The method of claim 1, wherein selectively adjusting the alpha value includes decreasing the alpha value by a step-down value when the absolute value of the difference between the first and second estimations of transfer completion time is not greater than a threshold value and the alpha value is greater than a minimum value.

### Claim 9

A non-transitory computer-readable storage medium containing program instructions for migrating virtual computing instances from source computer networks to target computer networks, wherein execution of the program instructions by one or more processors causes the one or more processors to perform steps comprising:
collecting data transfer metrics from at least one of a source computer network and a target computer network during a replication process of copying data of a virtual computing instance from the source computer network to the target computer network;
computing a delta sum of a plurality of the data transfer metrics collected during a current time window;
deriving a current data transfer rate using the delta sum and a duration of the current time window;
computing a first estimation of transfer completion time using a moving average rate of the current data transfer rate and a previous data transfer rate, and remaining data of the virtual computing instance to be transmitted from the source computer network to the target computer network;
computing a second estimation of transfer completion time using a weighted moving average rate of the current data transfer rate and the previous data transfer rate with weights defined by an alpha value, and the remaining data; and
selectively adjusting the alpha value for a subsequent estimation of transfer completion time using divergence of the first and second estimations of transfer completion time.

### Claim 10 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein computing the delta sum includes summing differences of data transferred values collected at adjacent sampling times in the current time window.

### Claim 11 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein deriving the current data transfer rate includes dividing the delta sum by a duration of the current time window.

### Claim 12 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein computing the first estimation of transfer completion time includes dividing the remaining data to be transferred by the moving average rate of the current and previous data transfer rates.

### Claim 13 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein computing the second estimation of transfer completion time includes dividing the remaining data to be transferred by the weighted moving average rate of the current and previous data transfer rates.

### Claim 14 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein a weight for the current data transfer rate is the alpha value and a weight for the previous data transfer rate is one minus the alpha value.

### Claim 15 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein selectively adjusting the alpha value includes increasing the alpha value by a step-up value when the absolute value of the difference between the first and second estimations of transfer completion time is greater than a threshold value.

### Claim 16 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein selectively adjusting the alpha value includes decreasing the alpha value by a step-down value when the absolute value of the difference between the first and second estimations of transfer completion time is not greater than a threshold value and the alpha value is greater than a minimum value.

### Claim 17

A system comprising:
memory; and
one or more processors configured to:
collect data transfer metrics from at least one of a source computer network and a target computer network during a replication process of copying data of a virtual computing instance from the source computer network to the target computer network;
compute a delta sum of a plurality of the data transfer metrics collected during a current time window;
derive a current data transfer rate using the delta sum and a duration of the current time window;
compute a first estimation of transfer completion time using a moving average rate of the current data transfer rate and a previous data transfer rate, and remaining data of the virtual computing instance to be transmitted from the source computer network to the target computer network;
compute a second estimation of transfer completion time using a weighted moving average rate of the current data transfer rate and the previous data transfer rate with weights defined by an alpha value, and the remaining data; and
selectively adjust the alpha value for a subsequent estimation of transfer completion time using divergence of the first and second estimations of transfer completion time.

### Claim 18 (depends on 17)

The system of claim 17, wherein the one or more processors are configured to divide the remaining data to be transferred by the moving average rate of the current and previous data transfer rates to compute the first estimation of transfer completion time.

### Claim 19 (depends on 17)

The system of claim 17, wherein the one or more processors are configured to divide the remaining data to be transferred by the weighted moving average rate of the current and previous data transfer rates to compute the second estimation of transfer completion time.

### Claim 20 (depends on 19)

The system of claim 19, wherein a weight for the current data transfer rate is the alpha value and a weight for the previous data transfer rate is one minus the alpha value.
