You can estimate the time required for a migration task based on the migration period. The migration period is divided into three phases: pre-migration, migration, and post-migration. The migration period is proportional to the number of servers that you want to migrate and the volume of data. We recommend that you perform a test migration to estimate the time required for a migration task. This topic describes how to estimate the time required for migration and how to test the data transfer speed.
Background information
If you need to migrate a server, Server Migration Center (SMC) first creates an intermediate instance for your account. Then, the system transfers data from the source server to the intermediate instance and creates an Elastic Compute Service (ECS) image for the intermediate instance. Therefore, the migration time is the sum of the data transfer time and the time needed to create an image. For more information, see Estimate the time required for migration.
During a migration process, the speed of data transfer from the source server to the intermediate instance is the primary factor that determines the migration time. For more information, see Test the data transfer speed.
- The following table describes the possible causes and solutions if the data transfer speed is lower than the measured speed.
Possible cause Solution The source server and the intermediate instance are in different regions or countries. Data transfer across regions and countries is sometimes slower than that in the same region. Check whether the network for the source server is the same as that for the intermediate instance in the destination Alibaba Cloud region. If the problem is caused by cross-region transfer, you can perform the following steps:- Migrate the source server to Alibaba Cloud by generating an image in the same region, and then copy the image to the destination region. For more information, see Copy an image.
- Check whether the problem stems from the network service provider.
The outbound bandwidth of the source server and the inbound bandwidth of the intermediate instance are used for migration. The bandwidth of the intermediate instance is limited. By default, the maximum inbound public bandwidth is 100 Mbit/s. Therefore, the maximum transfer speed over the Internet is 100 Mbit/s by default. To resolve this error, you can use one of the following methods: - Method 1: Find the intermediate instance or destination instance in the ECS console. Convert the public IP address of the instance to a pay-as-you-go elastic IP address (EIP). Increase the peak bandwidth of the pay-as-you-go EIP to 200 Mbit/s. You are charged for upgrading the peak bandwidth of a pay-as-you-go EIP. For more information, see Convert the public IP address of a VPC-type instance to an EIP and Modify the bandwidth of an EIP. Important If the public IP address of an instance is converted to a pay-as-you-go EIP, the IP address cannot be restored to its initial state. Therefore, you must manually release the pay-as-you-go EIP after the migration to prevent additional charges. For more information, see Release a pay-as-you-go EIP.
- Method 2: If the source server can access a virtual private cloud (VPC) network in an Alibaba Cloud region, we recommend that you perform migration over the VPC network. Compared with migration over the Internet, migration over a VPC is more efficient and stable. You can use VPN Gateway, Express Connect, and Smart Access Gateway to connect a migration source to a VPC. For more information, see Connect a data center to a VPC.
The source server has performance bottlenecks. For example, limited CPU, memory, and disk performance result in poor SMC transfer efficiency. Improve the performance of the source server. You can improve the CPU, memory, and disk performance. By default, the SMC client uses a single-threaded data transfer model, which may have bottlenecks in some network environments. Enable multi-threaded transfer acceleration to maximize bandwidth utilization. For more information, see Enable multi-threaded transfer acceleration. - This section describes the solutions to low outbound bandwidth.
If the outbound bandwidth of the source server is low, for example, lower than 10 Mbit/s, you can set the Compression Ratio parameter in the Advanced Settings (Optional) section. A high compression ratio improves transfer efficiency.
Estimate the time required for migration
- A snapshot is created at a speed of about 30 MB/s.
- For information about how to test the network speed, see Test the data transfer speed.

If a server has an actual disk usage of 10 GB and an outbound bandwidth of 10 Mbit/s, you can use the following method to estimate the migration time:
- Convert units.
- Actual data volume: 10 GB = 10 × 1024 = 10240 MB
- Actual network speed: 10 Mbit/s = 10/8 = 1.25 MB/s
- Calculate the data transfer time. Data transfer time: 10240/1.25 = 8192 seconds = 2.27 hours
- Calculate the time required to create an image. Image creation time: 10240/30 = 341 seconds = 0.09 hours
- Calculate the time required for migration. Migration time: 2.27 + 0.09 = 2.36 hours
Test the data transfer speed
The speed of data transfer from the source server to the intermediate instance is determined by the outbound bandwidth of the source server and the inbound bandwidth of the intermediate instance. By default, the inbound bandwidth of the intermediate instance is 100 Mbit/s. You can submit a ticket to increase the bandwidth.
- Assume that the outbound bandwidth of the source server is 50 Mbit/s and the inbound bandwidth of the intermediate instance is 100 Mbit/s. The actual transfer speed is limited by the source server and does not exceed 50 Mbit/s.
- Assume that the outbound bandwidth of the source server is 150 Mbit/s and the inbound bandwidth of the intermediate instance is 100 Mbit/s. The actual transfer speed is limited by the source server and does not exceed 100 Mbit/s.
To test the transfer speed by using iPerf, perform the following steps:
- Create a pay-as-you-go ECS instance in the destination Alibaba Cloud region.
- In the ECS instance, perform the following steps:
- Install iPerf.
- Start iPerf as a server.
- Add a rule to the security group of the instance to allow traffic on the ports required by iPerf.
- On the source server, perform the following steps:
- Install iPerf.
- Start iPerf as a client. Set the IP address of the destination server to the public IP address of the pay-as-you-go instance created in Step 1.
Example of how to perform a transfer speed test on a Linux instance
A CentOS 7 instance is used in the following example. The operations may vary with the version of your operating system.
- Create a pay-as-you-go CentOS 7 instance in the destination Alibaba Cloud region.
- Add an inbound rule to the security group of the ECS instance to allow traffic on the ports required by iPerf. The default port for iPerf, TCP 5001, is used in this example.
- Connect to the CentOS 7 instance.
- In the CentOS 7 instance, perform the following steps:
- On the source server, perform the following steps:
- Wait until the iPerf test is complete, and then record the test results.
Example of how to perform a transfer speed test on a Windows instance
A Windows Server 2008 instance is used in the following example. The operations may vary with the version of your operating system.
- Create a pay-as-you-go Windows Server 2008 instance in the destination Alibaba Cloud region.
- Add an inbound rule to the security group of the ECS instance to allow traffic on the ports required by iPerf. The default port for iPerf, TCP 5001, is used in this example.
- Connect to the GPU-accelerated instance.
- In the Windows Server 2008 instance, perform the following steps:
- Download and install iPerf.
- Open Command Prompt.
- Run the
cd <directory where iPerf is located>
command to go to the tool directory. - Run the
iperf3.exe -s
command to start iPerf as a server.
- On the source server, perform the following steps:
- Wait until the iPerf test is complete, and then record the test results.