Azure Backup performance update

This article describes an update to improve the Microsoft Azure Backup performance. Before you install this update, see the Prerequisites section. Additional steps for configuration are required to enable this update after the installation.
Symptoms
The incremental backups by using the Azure Backup agent may run slowly for servers that have many files.
Resolution
To fix this problem, install the latest version of the Microsoft Azure Recovery Services agent.

Additionally, add a registry entry that's described in the "Registry information" section, and follow the instructions in the "Increase default size of USN journal" section to increase the default size of the USN journal in the volumes that are being protected.

Download Center

The following file is available for download from the Microsoft Download Center:


Note
The latest version of the Microsoft Azure Recovery Services agent is 2.0.8724.0.
Update information

Prerequisites

To apply this update, you must have Azure Backup agent installed.

Restart information

You may have to restart the computer after you apply this update.

Replacement information

This update replaces the previously released update 3080243.

Additional configuration steps

Registry information

After you install this update, you must add the following registry entry.

Important Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry for restoration in case problems occur.
  1. In Registry Editor, locate and then select the following registry subkey:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Azure Backup\Config\CloudBackupProvider
  2. Press and hold (or right-click) CloudBackupProvider, point to New, and then click DWORD (32-bit) Value.
  3. Name the new registry entry as UseUsnIterator.
  4. Double-click the UseUsnIterator registry entry.
  5. In the Edit DWORD Value dialog box, enter 1 in the Value data field, and then click OK.
  6. Exit Registry Editor.
Note To turn off the performance fixes, set the values to 0.

The new registry entry should resemble the entry in the following screen shot.

The screen shot of the registry entry

Increase default size of USN journal

The performance fixes that are provided in this update use the USN Journal in Windows. By default, Windows allocates only a small amount of space for the USN Journal. We recommend that you increase the default space that is allocated for the USN Journal based on the number of files that are being protected.

To check the current value that is set for USN, run the following command at an elevated command prompt:

fsutil usn queryjournal C:
The command output resembles the following screen shot:



The hex value for "Maximum Size" (0x000000000200000) indicates that the current space that's allocated for the USN Journal is 2 MB.

You can increase the space that is allocated for the USN Journal by setting the Maximum Size and the Allocation Delta. The allocation delta is typically one-eighth of the Maximum Size.

Run the following command at an elevated command prompt:

fsutil usn createjournal m=67108864 a=8388608 C:
Note Run this command for all volumes that are being protected.

The following table contains the values to be set, based on the number of files that are being protected. 

FilesMaximum Size (m) in bytesAllocation Delta (a) in bytes
1 000 0001 342 177 280167 772 160
1 200 0001 610 612 736201 326 592
1 600 0002 147 483 648268 435 456
2 000 0002 684 354 560335 544 320
2 400 0003 221 225 472402 653 184
2 800 0003 758 096 384469 762 048
3 200 0004 294 967 296536 870 912
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
Learn about the terminology that Microsoft uses to describe software updates.
Properties

Article ID: 3090067 - Last Review: 10/20/2015 22:06:00 - Revision: 5.0

Windows Server 2012 R2 Datacenter, Windows Server 2012 R2 Standard, Windows Server 2012 R2 Essentials, Windows Server 2012 R2 Foundation, Microsoft System Center 2012 R2 Data Protection Manager, Windows Server 2012 Datacenter, Windows Server 2012 Standard, Windows Server 2012 Foundation, Windows Server 2008 R2 Service Pack 1, Windows Server 2008 Service Pack 2

  • kbsurveynew atdownload kbfix kbexpertiseadvanced KB3090067
Feedback