Presentation is loading. Please wait.

Presentation is loading. Please wait.

Connect Learn Share Performance Optimization for Microsoft Dynamics CRM Presented by: Walter Grow Austin Jones.

Similar presentations


Presentation on theme: "Connect Learn Share Performance Optimization for Microsoft Dynamics CRM Presented by: Walter Grow Austin Jones."— Presentation transcript:

1 Connect Learn Share Performance Optimization for Microsoft Dynamics CRM Presented by: Walter Grow Austin Jones

2 @CRMUG Meet your Speakers… Microsoft Premier Field Engineer (5yrs) Developer Support Workshops Code Reviews Partner Consultant (4yrs) Microsoft Support Engineer (2yrs) Microsoft Premier Field Engineer (3yrs) Developer Support Workshops Code Reviews Code Samples/Tools Partner Consultant (7yrs) PFE

3 @CRMUG Agenda Client App Data PFE

4 @CRMUG Support Microsoft’s Premier customers & partners Remote & on-site | Proactive & reactive Transactional or dedicated/designated Aligned to customer/partner desired outcomes Services RaaS: Health assessment & remediation planning Performance investigation & benchmarking Workshops: Admin, Reporting, & Development Code reviews & samples

5 @CRMUG Client App Data

6 @CRMUG Measuring SQL Performance What do we look for? Disk I/O >15ms >25ms Page life expectancy Long-running queries Excessive blocking Deadlock events What tools do we use? Perfmon SQL Server Trace SQL Profiler SQL DMV’s Performance Analyzer for Dynamics

7 @CRMUG SQL Server Optimization Partition Alignment Multiple disks File segregation SSD Max server memory MaxDOP Autogrowth RCSI*

8 @CRMUG Database Optimization Update Statistics Index Maintenance Reschedule CRM Maintenance Jobs ROW/PAGE Compression Sparse Columns Query tuning More details: http://aka.ms/CRMMaintenanceJobs http://aka.ms/CRMRescheduleMaintenanceJobs http://crmjobeditor.codeplex.com

9 @CRMUG Client App Data

10 @CRMUG Measuring App Performance What do we look for? High CPU utilization Poor memory allocation HTTP request volume HTTP request duration What tools do we use? Perfmon IIS Log Analysis PAL WinDbg

11 @CRMUG More details: http://aka.ms/CRMDecrease401Responses Server Optimization Update Rollups Distributing server roles Network load balancing Disable CRM tracing and debugging AppPool recycling schedule Enable authPersistNonNTLM* ASP.NET ThreadPool Tuning.NET HTTP MaxConnections

12 @CRMUG CRM Settings Optimization Adjust audit settings Disable smart matching Email tagging Throttle client sync Mail router polling Async service workload ERMO (EnableRetrieveMultipleOptimization) and Quick Find Pre vs. Post CRM 2011 UR10 More details: http://aka.ms/CRMQuickFindPerformance

13 @CRMUG CRM Code Optimization Sync vs. async Filter workflow/plugin execution Avoid plug-in class members Don’t retrieve or update event target Don’t retrieve for update IServiceManagement Avoid AllColumns = true Parallelize high-volume operations More details: CRM Programming Best-Practices http://aka.ms/CRMParallelProgramming https://pfexrmcore.codeplex.com/

14 @CRMUG CRM Report Optimization FetchXML vs. FilteredViews UTC DateTime columns Let SQL aggregate & group Pre-filter queries Consider snapshots ‘AlwaysOn’ Reporting More details: http://aka.ms/CRMImproveReportPerformance

15 @CRMUG Client App Data

16 @CRMUG Measuring Client Performance What do we look for? Network latency (<150ms) Network bandwidth ( >50kbps) <1s page loads (warm) Script execution XMLHttpRequests What tools do we use? F12 Developer Tools Fiddler Ctrl+Shift+Q Client Diagnostics Page More details: http://aka.ms/CRMDiagnosticsPage

17 @CRMUG Tools…

18 @CRMUG Client Optimization Update Rollups Enable SSL + HTTP Compression application/soap+xml charset=utf-8 application/json charset=utf-8 Disable HTC support User Settings Browser version Browser caching (~300mb) Antivirus exclusions Max server connections (IE7/8) More details: http://aka.ms/CRMEnableWCFCompression http://aka.ms/CRMOLPerformanceTipsP1 http://aka.ms/CRMOLPerformanceTipsP2 http://aka.ms/CRMBrowserStandardsMode

19 @CRMUG UX Optimization Security model Access Teams (2013) Field-level Security Disable auto-complete Disable presence Limit Quick Find results Form fields and view columns Quick Find columns Collapsed tab state Limit Sub-grids Minimize publishing Defer script execution Async XMLHttpRequests

20 @CRMUG Homework… Whitepapers CRM 2011 Optimizing Server PerformanceCRM 2011 Optimizing Server Performance CRM 2011 Optimizing Client PerformanceCRM 2011 Optimizing Client Performance CRM 2013 COMING SOON! Blogs CRM in the Field on MSDN CRM Product Team on MSDN Our Tools (on CodePlex) Performance Analyzer for DynamicsPerformance Analyzer for Dynamics CRM Maintenance Job Editor CRM OrgDbOrgSettings Tool PFE Core Library for Dynamics CRMPFE Core Library for Dynamics CRM

21 @CRMUG How to find us… austinj@microsoft.com @maustinjones pfedynamics@microsoft.com wagrow@microsoft.com @pfedynamics @waltergrow http://blogs.msdn.com/b/CRMintheField/ http://www.pfedynamics.com

22 @CRMUG


Download ppt "Connect Learn Share Performance Optimization for Microsoft Dynamics CRM Presented by: Walter Grow Austin Jones."

Similar presentations


Ads by Google