Migration speed

In certain situations, users might notice that the process of both gathering and uploading data takes longer than expected considering the network bandwidth. Multiple factors may impact the speed of the migration.

Where to install

First of all, software installation location may have an impact on the migration speed.

In the case of migrations from Exchange, CodeTwo strongly recommends installing the migration software directly on the source Exchange Server. Installation on other servers or workstations is fully supported, however, in this scenario the migration speed might be affected by the fact that data extracted from source Exchange mailboxes must be transferred over the local network to another machine where CodeTwo software is installed. This usually is not an issue but in some cases might be. Also, some organizations set up different Internet access speeds for their Exchange Server machine(s) and different speeds for users' workstations. By installing directly on the server, you avoid stumbling upon such a problem.

The above advice, however, might not be the best one in these cases:

  • The source server machine is very old, slow computer with a small amount of RAM (e.g. 2GB). If this is what your source server looks like, you may stumble upon problems related to the source Exchange Server machine performance.
  • The source server is equipped with an unsupported version of Windows / Windows Server (older than Windows 8 / Windows Server 2008 R2 SP1). Running the software on such versions of Windows may lead to various errors.
  • The source server does not meet the minimum system requirements.

If any of the above scenarios apply, we recommend installing the software on a workstation or dedicated server with better hardware and a newer operating system.

In migrations from Office 365 (Microsoft 365), which are handled via Microsoft Graph, you can install the program on any machine with a connection to both the source and the target environments.

For migrations from hosted Exchange server (handled via EWS), you can also install the program on any machine with an Internet connection to both the source and the target environments.

Better hardware = faster migration

The software does not have any special hardware requirements, but there are a few hardware improvements that may considerably speed up the migration process.

First of all, use network adapters that handle the highest speed. Additionally, to eliminate other possible bottlenecks, make sure that your whole network infrastructure, including routers and switches, can support higher throughput. Keep in mind that the used network devices will not solely affect the migration speed. You need to take the download and upload speed into consideration as well. Internet Service Providers (ISP) often offer contracts with asymmetric connections (the upload speed is considerably slower than download speed). When talking about your Internet connection speed, you must be sure you are referring to the upload value as well. Symmetric links (upload = download) are often offered for business clients, but there is another catch – offered speeds are maximum possible speeds rather than guaranteed ones. For more information, please check your Internet access contract or discuss that with your ISP directly. Also make also sure that the machine used to perform the migration has the highest network bandwidth available.

The whole software is optimized for a 64-bit architecture as 64-bit systems allow addressing more than 4 GB of RAM (32-bit systems are also supported, but they will probably work slower). The software can work with just 2 GB of RAM, but more RAM allows loading more items to the memory, which speeds up their processing.

If the network speed is not a problem and there are no other obvious obstacles, the migration speed will directly depend on the number of logical processors in the system. More logical processors allow more migration threads (concurrent migrations) to be executed at once; hence the migration will run faster. You can also manually increase the number of threads in Advanced settings.

You actually migrate 30% more data than you have

Microsoft Graph uses the Fast Transfer Stream (FTS) format to migrate mailbox items. When an item is uploaded to Exchange Online, its FTS data is encoded in Base64 format. This increases the amount of data transferred by approximately 30%. Keep this additional data overhead in mind when estimating migration times and bandwidth requirements.

Due to Microsoft Graph limitations, items of approximately 100 MB or larger might not be migrated to Exchange Online.

Lots of small items migrate slower than big items

The number and size of mailbox items can have a significant impact on migration performance. Migrating a mailbox containing a large number of small items usually takes longer than migrating the same amount of data stored in fewer, larger items. Each item needs to be retrieved, transferred, and processed individually, which creates additional overhead. Microsoft Graph also limits the number of API requests and concurrent requests that can be made to a mailbox within a specific period.
For Exchange Online, Microsoft Graph applies throttling limits separately to each mailbox. These include 10,000 API requests per 10 minutes, 4 concurrent requests, and up to 150 MB of uploaded data per 5 minutes.

By default, every batch sent to the target server contains 150 items regardless of their overall size and requires opening a new connection. Consequently, a batch may be completed very quickly, containing e.g. 150 small text-only messages with a total size of only 3 MB. This may result in pulling many small batches within short time range and in effect lead to performance issues on the target server. After receiving a batch, every item requires individual processing by the Exchange Server. Therefore, you can observe that the migration speed slows down after some time when migrating lots of small items as the target Office 365 is trying to cope with processing them. Migrating batches of small items is also slower in general due to the fact that both ends of the transmission exchange the so-called handshakes very often (i.e. the time spent by both source and target server on establishing and closing a connection for every batch separately).

Tip

You can try increasing the number of concurrent connections in the Advanced settings of your migration job and check if this increases migration performance. These connections are used across different mailboxes, so increasing their number does not exceed the per-mailbox throttling limits imposed by Microsoft Graph.

Other ways to speed up the migration

If you believe that your migration process is too slow, please consider following the steps below:

  1. Move the migration software to another machine. If it was installed directly on the source Exchange Server, perhaps the server's hardware performance is too low – find a faster machine and install the program there. If it was installed on a workstation, maybe you have stumbled upon local network related issues – do the opposite, and install the program directly on the source server. In any case, before installing somewhere else, familiarize yourself with our Knowledge Base article on how to move installation safely.
  2. Perform a staged migration. Instead of migrating all data at once, you can migrate items only from e.g. the last 90 days. Thanks to that, your users will be able to start working on the new server without any interruption, while you can comfortably finish migrating older items later.
  3. In the case of an on-premises Exchange Server, you can apply optimized throttling policies to increase the speed. For Office 365 (Exchange Online) migrations, Microsoft Graph throttling limits apply. You can contact Microsoft Support to ask whether these limits can be increased for the duration of your migration.
  4. CodeTwo software comes with the migration parameters preconfigured by the developers to maximize the migration speed based on our research, tests, our own experience, as well as suggestions from our clients. However, it is difficult to expect exactly the same set of parameters to be actually optimal for all possible scenarios. Therefore you might want to try using different software settings to suit your needs. See our Knowledge Base article on that.
  5. If none of the above helps, contact CodeTwo Support by following the steps from this article.

In this article

Was this information useful?