Twitter Image

Optimizing Simultaneous client connections

Written by Stéphane Dorrekens
Wednesday, 11 May 2011 10:24

The Microsoft Dynamics CRM Engineering for Enterprise (MS CRM E2) Team has released a whitepaper on 'Optimizing and Maintaining Client Performance for Microsoft Dynamics CRM 2011 and CRM Online'
It's a short document so worth reading in its entirety but (from what I see in the field), the most critical point is the following section, which will dramatically improves load times especially if you use Ajax queries in your forms load. Actually, it's also valid for Microsoft Dynamics CRM 4.0 and IE 6.0 (you can use the same registry settings as for IE 7.0) but is less visible as CRM 4.0 uses less calls in standard.

Configuring Simultaneous Download Sessions
By default, Windows Internet Explorer 7 and earlier versions limit the number of files that you can download at one time to two. Windows Internet Explorer 8 limits the number of files that you can download at one time to six. This change reflects the faster connection speeds that are now typical for most users. Note that for dial-up connections, the limits from earlier versions still apply.

Important The following procedures require modification of the registry, which can create serious problems if the registry is modified incorrectly. As a result, be sure to follow these steps carefully and for added protection, back up the registry before making any changes.
To increase the number of files that can be downloaded at one time to 10

Internet Explorer 7.0
1. Start Registry Editor, and then navigate to the following key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
2. On the Edit menu, point to New, click DWORD Value, and then add the following registry values:
Value name: MaxConnectionsPer1_0Server
Value data: 10
Base: Decimal
Value Name: MaxConnectionsPerServer
Value data: 10
Base: Decimal
3. Exit Registry Editor.

Internet Explorer 8.0
1. Start Registry Editor, and then navigate to the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_MAXCONNECTIONSPERSERVER
2. On the Edit menu, point to New, click DWORD Value, and then add the following registry value:
Value name: iexplore.exe
Value data: 10
Base: Decimal
Note set this value to the connection limit that you want for HTTP 1.1 connections. By setting the value to 10, you increase the connection limit to 10.
3. Navigate to and select the following subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_MAXCONNECTIONSPER1_0SERVER
4. On the Edit menu, point to New, click DWORD Value, and then add the following registry values:
Value name: iexplore.exe
Value data: 10
Base: Decimal
Note set this value to the connection limit that you want for HTTP 1.1 connections. By setting the value to 10, you increase the connection limit to 10.
5. Exit Registry Editor.