Showing posts with label Performance. Show all posts
Showing posts with label Performance. Show all posts

Saturday, December 10, 2016

Dynamics CRM: Loading all CRM pages is very slow

Dynamics CRM: Loading all CRM pages is very slow

I started to work with Dynamics CRM on premise or online and all the system works very slowly

Loading pages is very slow, and all the system looks busy.

Dynamics CRM is vanilla then develop reason cannot cause to this bad performance.


One of the options can be Antivirus.

When you work with CRM and open some pages for instance Edit.aspx not only the edit.aspx is downloaded from server many JavaScript + CSS + other linked pages is downloaded too

If antivirus is working check if Antivirus is scanning all the scripts and pages when you request page from CRM.

Disabled scanning CRM pages in Antivirus. I got this critical issue when MCAfee was installed on all client stations.

workaround
http://support.microsoft.com/kb/924341

https://kc.mcafee.com/corporate/index?page=content&id=KB65382&actp=search&viewlocale=en_US&searchid=1278011200919

Thanks,
Rami Heleg.
Eytan computers

+972-52-5695114

Friday, May 22, 2015

Performance – system settings

Performance – system settings.

1.       By default most application defined in debug mode.
Change from
<compilation debug=”true”/>
To
<compilation debug=”false”/>

2.        Update management Thread settings
3.       
parameter
default
recommended
maxIoThreads
20
100
maxWorkerThreads
20
100
minFreeThreads
8
88 * # CPUs
minLocalRequestFreeThreads
4
76 * # CPUs

Define parameters in machine config:
<processModel
enable="true"
timeout="Infinite"
idleTimeout="Infinite"
shutdownTimeout="0:00:05"
requestLimit="Infinite"
requestQueueLimit="5000"
restartQueueLimit="10"
memoryLimit="60"
webGarden="false"
cpuMask="0xffffffff"
userName="machine"
password="AutoGenerate"
logLevel="Errors"
clientConnectedCheck="0:00:05"
comAuthenticationLevel="Connect"
comImpersonationLevel="Impersonate"
responseDeadlockInterval="00:03:00"
maxWorkerThreads="100"
maxIoThreads="100"/>

<httpRuntime
executionTimeout="90"
maxRequestLength="4096"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="352"
minLocalRequestFreeThreads="304"
appRequestQueueLimit="100"
enableVersionHeader="true"/>


3.       Reducing weight 401 pages

In CRM we have around 1000 request per minute to these pages. 
Good option is to clean the pages under folder: C:\Windows\Help\iisHelp\common

Enjoy,
Rami Heleg