Large mailbox migrations are slow because of network latency
Article
Applies to:
Exchange Online, Exchange Server 2016 Enterprise Edition, Exchange Server 2016 Standard Edition, Exchange Server 2013 Enterprise, Exchange Server 2013 Service Pack 1, Exchange Server 2013 Standard Edition
Original KB number: 3184611
Symptoms
Hybrid mailbox migration for one or more large mailboxes is slow because of network latency. Analysis of the move request shows that the SourceSideDuration value is greater than the expected range of 60 to 80 percent.
Resolution
For Microsoft Exchange Server 2013 with Service Pack 1 and later versions, you can increase the export buffer size. To do this, add the ExportBufferSizeOverrideKB parameter to the MRSConfiguration section of the MSExchangeMailboxReplication.exe.config file. This setting reduces the number of migration calls and reduces the time that's spent in network latency. The recommended maximum value for this setting is 7,500, and the minimum value is 512. However, note that if you change the value of the ExportBufferSizeOverrideKB parameter, you should also change the DataImportTimeout value.
The following example shows the ExportBufferSizeOverrideKB setting after it's been added to the configuration file:
You must also set the DataImportTimeout value in the MRSProxyConfiguration section of the MSExchangeMailboxReplication.exe.config file to correspond to the minimum upload rate that you can sustain during the migration. For example:
This means that you can never go lower than this rate. You can increase the DataImportTimeout value a bit more than the computed minimum. The following example shows the DataImportTimeout setting in the configuration file. In this example, it's set to 5 minutes. You can safely increase the value to 20 minutes.
This module explores migration of databases over 20 TB, considered very large databases, and the required techniques and procedures to achieve a migration from on-premises to Azure within an acceptable downtime and with minimized risk. Prepare for Exam AZ-120 Planning and Administering Microsoft Azure for SAP Workloads.