CRM 2011 Performance issue
Issue:
It’s taking more than 20 to 25 seconds to load the application on CRM outlook client.
Environment:
CRM 2011 ( Single server)
Client: Windows XP 32 bit with outlook 2010
Troubleshooting:
· It took 10 to 15 seconds to load the CRM application on outlook 2010.
· Whenever we try to open a CRM application, the virtual desktop machine CPU usage was constantly at 100% ( Outlook.exe à 50 % to 97 %).
· Provisioned a new virtual desktop with 2 CPU ( 2.86 GHz).
· Did the following optimization and confirmed that the its taking 4 to 5 seconds to load the screen. The CPU usage was normal ( 20% to 40%) :
Ø Disabled the un-wanted add-on’s on outlook.
Ø By passed the proxy for the local intranet sites.
Ø Added the site under Local Intranet on IE.
Ø Reset the client outlook plugin using the following command line:
C:\Program Files\Microsoft Dynamics CRM\Client\ConfigWizard\Microsoft.Crm.Client.Config /reset
· Tested the Latency:
Ø Client to Application server à Less than 1ms
Ø CRM Application Server to SQL server à Less than 1ms
Ø SQL server to CRM Application server à Less than 1ms
· Ensured that CPU/Memory usage is normal on SQL and CRM servers.
Additional Information & Recommendation:
· As per Microsoft recommendation “Microsoft Dynamics CRM for Outlook hardware requirements”, we need to increase the CPU on all the virtual desktops
· Bypass the Proxy Server for On-premise Deployments within a LAN using group policy.
· Add the web site under local intranet zone on IE using group policy.
· On the virtual desktop check the behaviour by disabling .Net setting called Expect100Continue feature on CRM outlook config file:
1. Navigate to “C:\Program Files (x86)\Microsoft Dynamics CRM\Client\” and open the “CrmClient{guid}.config” file in a text editor such as notepad.
2. Insert the following block of XML in the <system.Net> section of the CONFIG file.
<settings>
<servicePointManager expect100Continue="false" />
</settings>
3. Open Outlook and the setting will take effect immediately .
More Information please refer CRM 2011 Outlook Client Performance Delays Caused by Expect: 100-continue Setting
· Monitor the CRM environment:
Ø Microsoft Dynamics CRM 2011 performance counters
Ø How to enable tracing in Microsoft Dynamics CRM
· Monitor the SQL Server.
Cheers!
Bala